Re: malloc vs g_malloc
- From: Darin Adler <darin bentspoon com>
- To: "Tara M" <learfox furry ao net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: malloc vs g_malloc
- Date: Thu, 2 Aug 2001 13:30:55 -0700
On Thursday, August 2, 2001, at 01:25 PM, Tara M wrote:
What about calloc()? is there a glib equivilent for that?
Both g_malloc0 and g_new0 are similar to calloc.
Also what about gtk_*() function returns that give pointers
that need to be deallocated, do we use g_free() or free()?
Typically g_free.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]