From 4edf51453bee5673d15f65dc271e4dade5b5ea0e Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 16 May 2000 02:46:57 +0000 Subject: remove configure from repositry git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index 149ca9855..40c88fee9 100644 --- a/ruby.h +++ b/ruby.h @@ -369,9 +369,16 @@ struct RBignum { #define OBJ_FROZEN(x) FL_TEST((x), FL_FREEZE) #define OBJ_FREEZE(x) FL_SET((x), FL_FREEZE) +#define xmalloc ruby_xmalloc +#define xcalloc ruby_xcalloc +#define xrealloc ruby_xrealloc +#define xfree ruby_xfree + void *xmalloc _((size_t)); void *xcalloc _((size_t,size_t)); void *xrealloc _((void*,size_t)); +void xfree _((void*)); + #define ALLOC_N(type,n) (type*)xmalloc(sizeof(type)*(n)) #define ALLOC(type) (type*)xmalloc(sizeof(type)) #define REALLOC_N(var,type,n) (var)=(type*)xrealloc((char*)(var),sizeof(type)*(n)) -- cgit