Re: [AD] 4.9.6 WIP?

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


On 2008-10-28, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> >
> > Is al_path_init() necessary, given most of the structure will have to be
> > dynamically allocated anyway?
> 
> Might want to allocate the struct itself on the stack. 

If that's all I'd rather delete al_path_init() to make it easier to
maintain ABI compatibility.  Otherwise we need to maintain the size of
the struct.  The struct will point to a bunch of stuff on the heap
anyway, so I don't see that allocating the top level struct will avoid
much heap allocation.

Peter





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