RE: [AD] Proposal for new branch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: <alleg-developers@xxxxxxxxxx>
- Subject: RE: [AD] Proposal for new branch
- From: "Robert Ohannessian" <ROhannessian@xxxxxxxxxx>
- Date: Fri, 27 Aug 2004 12:06:02 -0700
- Thread-index: AcSMVdl9wDtA90GXS4CLmzN34BiVBAAEsgdA
- Thread-topic: [AD] Proposal for new branch
> I didn't just mean that kind of overhead. Everytime you add a new
> public function you have to (1) add a function declaration, (2) add a
> wrapper function, (3) add a method in some vtable, (4) update old
driver
> tables, (5) add platform-specific definitions.
If you use the method I did in my branch of A5, the cost would be:
1. Add function declaration
2. Add wrapper function
3. Add a line in a vtable definition file
Not all drivers need to implement the full vtable, so the cost is
differed until it's needed.