hmm what's the advantage of using the obstack_* functions? isn't
malloc already enough? never saw it in an application actually so I'm
just curious about it..

thanks
Markus

On Wed, 23 Feb 2005 14:37:17 +0100 (CET), J. <[EMAIL PROTECTED]> wrote:
> On Wed, 23 Feb 2005, Mariano Moreyra wrote:
> 
> > Hi J.
> >
> > You need to init your obstack before using it
> > Also, you need to declare this before calling obstack_init()
> >
> > #define obstack_chunk_alloc malloc
> > #define obstack_chunk_free free
> >
> > So, your code would look like this:
> 
> <CUT>
> ...
> </CUT>
> 
> Thank you for the complete answer.. !!
> 
> Cheers, J.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-c-programming" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" 
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to