Commit e66a0ced authored by Tim Janik's avatar Tim Janik Committed by Tim Janik
Browse files

added g_renew() which works as g_new() for g_realloc().

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().
parent 2d68cbbb
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
......
......@@ -303,16 +303,16 @@ extern "C" {
*/
#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) ( \
......
......@@ -303,16 +303,16 @@ extern "C" {
*/
#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) ( \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment