summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eglib/gmain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/eglib/gmain.h b/eglib/gmain.h
index 1d7cdb72..35f608a3 100644
--- a/eglib/gmain.h
+++ b/eglib/gmain.h
@@ -262,6 +262,8 @@ void g_strfreev(gchar **str_array);
((struct_type *) g_try_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
#define g_try_new0(struct_type, n_structs) \
((struct_type *) g_try_malloc0 (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
+#define g_renew(struct_type, mem, n_structs) \
+ ((struct_type *) g_realloc ((mem), ((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
/* GKeyFile */