Re: GObject Destruction



On Tue, Dec 18, 2012 at 05:37:08PM -0500, Jasper St. Pierre wrote:
> The call for freeing a block of memory is free(void *data);

And the call for freeing a GSlice-allocated block of memory is

    void g_slice_free1(gsize block_size, gpointer mem_block);

And the call for freeing a memory-mapped region is

    int munmap(void *addr, size_t length);

I missed the start of the thread and can't comment on that, but freeing
memory may require all kinds of knowledge.

Yeti



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