Re: [gtk-list] Another (stupid) GAllocator question




Derek Simkowiak <dereks@kd-dev.com> writes:
> 	If I have many GLists in my application (multiple calls to
> g_list_new() ), do they each have their own GAllocator?  Or do they share
> the same one?
> 
> 	Sorry for the sophomorism...
> 

You know it's easy to check the source to learn this sort of
thing. Took about 15 seconds. ;-)

There is a global allocator, but you can g_list_push_allocator() to
replace it temporarily.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]