Re: [AD] get volume

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


> Maybe if it simply is added at the end of the struct instead of in the
> middle?

That still changes the size of the struct. I don't know if it's a problem in 
this case (if it's only used internally, it shouldn't be, I suppose), but 
it's something that must be checked.
It's also definately safer to put it at the end of the struct (because we have 
a chance of the compiler initialising it to NULL and it thus being ignored at 
runtime, in case we forget to update one of the vtables).

Evert




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