diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-07-09 11:42:15 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-07-09 11:42:15 +0900 |
| commit | 0e2a81740a284e823894ec5b1d804e282df15b7e (patch) | |
| tree | 81fda0c6825a23ff6e44ba83ecfd7a74bd35f4e9 /include/mruby.h | |
| parent | 3b8ad4c30cb96ad35841d5c9317c1d953d38398c (diff) | |
| download | mruby-0e2a81740a284e823894ec5b1d804e282df15b7e.tar.gz mruby-0e2a81740a284e823894ec5b1d804e282df15b7e.zip | |
we don't need xmalloc; close #356
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/mruby.h b/include/mruby.h index 0acd20842..a9027d896 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -467,13 +467,6 @@ mrb_value mrb_yield_with_self(mrb_state *mrb, mrb_value b, int argc, mrb_value * mrb_value mrb_class_new_instance(mrb_state *mrb, int, mrb_value*, struct RClass *); mrb_value mrb_class_new_instance_m(mrb_state *mrb, mrb_value klass); -#ifndef xmalloc -#define xmalloc malloc -#define xrealloc realloc -#define xcalloc calloc -#define xfree free -#endif - void mrb_gc_protect(mrb_state *mrb, mrb_value obj); mrb_value mrb_to_int(mrb_state *mrb, mrb_value val); void mrb_check_type(mrb_state *mrb, mrb_value x, enum mrb_vtype t); |
