+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
+Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h: added g_renew() which works as g_new() for g_realloc().
+
Mon Sep 21 02:22:12 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of GLib + GModule
*/
#ifdef __DMALLOC_H__
-
-#define g_new(type, count) (ALLOC (type, count))
-#define g_new0(type, count) (CALLOC (type, count))
-
+# define g_new(type, count) (ALLOC (type, count))
+# define g_new0(type, count) (CALLOC (type, count))
+# define g_renew(type, mem, count) (REALLOC (mem, type, count))
#else /* __DMALLOC_H__ */
-
-#define g_new(type, count) \
- ((type *) g_malloc ((unsigned) sizeof (type) * (count)))
-#define g_new0(type, count) \
- ((type *) g_malloc0 ((unsigned) sizeof (type) * (count)))
+# define g_new(type, count) \
+ ((type *) g_malloc ((unsigned) sizeof (type) * (count)))
+# define g_new0(type, count) \
+ ((type *) g_malloc0 ((unsigned) sizeof (type) * (count)))
+# define g_renew(type, mem, count) \
+ ((type *) g_realloc (mem, (unsigned) sizeof (type) * (count)))
#endif /* __DMALLOC_H__ */
#define g_mem_chunk_create(type, pre_alloc, alloc_type) ( \
*/
#ifdef __DMALLOC_H__
-
-#define g_new(type, count) (ALLOC (type, count))
-#define g_new0(type, count) (CALLOC (type, count))
-
+# define g_new(type, count) (ALLOC (type, count))
+# define g_new0(type, count) (CALLOC (type, count))
+# define g_renew(type, mem, count) (REALLOC (mem, type, count))
#else /* __DMALLOC_H__ */
-
-#define g_new(type, count) \
- ((type *) g_malloc ((unsigned) sizeof (type) * (count)))
-#define g_new0(type, count) \
- ((type *) g_malloc0 ((unsigned) sizeof (type) * (count)))
+# define g_new(type, count) \
+ ((type *) g_malloc ((unsigned) sizeof (type) * (count)))
+# define g_new0(type, count) \
+ ((type *) g_malloc0 ((unsigned) sizeof (type) * (count)))
+# define g_renew(type, mem, count) \
+ ((type *) g_realloc (mem, (unsigned) sizeof (type) * (count)))
#endif /* __DMALLOC_H__ */
#define g_mem_chunk_create(type, pre_alloc, alloc_type) ( \