summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-01 02:49:04 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-01 02:49:04 +0900
commitf3fce2ff0373f444ff1f422e74a5f8669d1c089b (patch)
tree30d58b5ebf01eea210b06c5bfb5ab819507345a5 /include
parent1f704552ccb3243e259d4b507e3173db8876e484 (diff)
downloadmruby-f3fce2ff0373f444ff1f422e74a5f8669d1c089b.tar.gz
mruby-f3fce2ff0373f444ff1f422e74a5f8669d1c089b.zip
remove REALLOC_N
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 3acee3753..280c347b4 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -539,8 +539,6 @@ typedef enum call_type {
void mrb_cmperr(mrb_state *mrb, mrb_value x, mrb_value y);
int mrb_cmpint(mrb_state *mrb, mrb_value val, mrb_value a, mrb_value b);
-#define REALLOC_N(mrb,var,type,n) (var)=(type*)mrb_realloc(mrb, (char*)(var), sizeof(type)*(n))
-
#ifndef ANYARGS
# ifdef __cplusplus
# define ANYARGS ...