mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan
2005-03-21 Matthias Clasen <mclasen@redhat.com> * glib/gmem.h: Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan Kost) * glib/gmem.c: Implement g_try_malloc0.
This commit is contained in:
committed by
Matthias Clasen
parent
103fe49b8e
commit
213e90aa18
@@ -51,6 +51,7 @@ gpointer g_realloc (gpointer mem,
|
||||
gulong n_bytes);
|
||||
void g_free (gpointer mem);
|
||||
gpointer g_try_malloc (gulong n_bytes) G_GNUC_MALLOC;
|
||||
gpointer g_try_malloc0 (gulong n_bytes) G_GNUC_MALLOC;
|
||||
gpointer g_try_realloc (gpointer mem,
|
||||
gulong n_bytes);
|
||||
|
||||
|
Reference in New Issue
Block a user