diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-04 05:16:44 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-04 05:16:44 +0900 |
| commit | 3e22c939e6f1968c46e251c363de49c1fd0fd9f1 (patch) | |
| tree | e4961e9074c94d1be3c338cfd321cb7a91be340d /include/mruby.h | |
| parent | a354aca8b4897278a0a0d5681a09aec458ce89d1 (diff) | |
| download | mruby-3e22c939e6f1968c46e251c363de49c1fd0fd9f1.tar.gz mruby-3e22c939e6f1968c46e251c363de49c1fd0fd9f1.zip | |
remove NUM2CHR macro
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/mruby.h b/include/mruby.h index 01e9657cf..4a5b5ce88 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -302,16 +302,6 @@ void mrb_bug(const char *fmt, ...); #define E_KEY_ERROR (mrb_class_obj_get(mrb, "KeyError")) -/* TODO: there is no definitions of RSTRING_* here, so cannot compile. -static inline char -NUM2CHR(mrb_value x) -{ - return NUM2CHR_internal(x); -} -*/ -#define NUM2CHR(x) NUM2CHR_internal(x) -#endif - mrb_value mrb_yield(mrb_state *mrb, mrb_value v, mrb_value blk); mrb_value mrb_yield_argv(mrb_state *mrb, mrb_value b, int argc, mrb_value *argv); mrb_value mrb_class_new_instance(mrb_state *mrb, int, mrb_value*, struct RClass *); |
