Re: GObject Destruction

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

 



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

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux