Code

replace nr_new() with g_new(), and try to converge on using the glib allocator a...
[inkscape.git] / src / libnr / nr-macros.h
index 74a627ae7c2a1cc3ee4f6c3927aa0c3ab506afaa..616504c6f8674b2b7f8a07baa48b7b79b59d282d 100644 (file)
 #endif
 #include <assert.h>
 
-#define nr_new(t,n) ((t *) malloc ((n) * sizeof (t)))
-#define nr_free free
-#define nr_renew(p,t,n) ((t *) realloc (p, (n) * sizeof (t)))
-
 #ifndef TRUE
 #define TRUE (!0)
 #endif