RE: [AD] Proposal for new branch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> 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.






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/