diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-04 05:11:39 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-04 05:11:39 +0900 |
| commit | e429905597bff1e0fefb426ef22d5b3ea80e76f5 (patch) | |
| tree | 7d762c297c0a1fb77e42cca8d1eae3ab0738e7ba /include | |
| parent | ca7c662be5debb85b38063807c6f3034d1156d5f (diff) | |
| download | mruby-e429905597bff1e0fefb426ef22d5b3ea80e76f5.tar.gz mruby-e429905597bff1e0fefb426ef22d5b3ea80e76f5.zip | |
replace SYM2ID() by mrb_symbol()
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h index a35d92804..f33c9cfc0 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -302,8 +302,6 @@ void mrb_bug(const char *fmt, ...); #define E_KEY_ERROR (mrb_class_obj_get(mrb, "KeyError")) -#define SYM2ID(x) ((x).value.sym) - #define NUM2CHR_internal(x) (((mrb_type(x) == MRB_TT_STRING)&&(RSTRING_LEN(x)>=1))?\ RSTRING_PTR(x)[0]:(char)(mrb_fixnum_number(x)&0xff)) #ifdef __GNUC__ |
