diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-04 00:50:03 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-04 00:50:03 +0900 |
| commit | 6aa6e75f75a80db69c54c419043e9ef8240c9ad8 (patch) | |
| tree | 7c146da5945fac6c69309193eb881564a67f0f0f /src/gc.c | |
| parent | 206f89e2090524f009fc5a87f42c15a453ebdbee (diff) | |
| download | mruby-6aa6e75f75a80db69c54c419043e9ef8240c9ad8.tar.gz mruby-6aa6e75f75a80db69c54c419043e9ef8240c9ad8.zip | |
rename obsolete mrb_special_const_p to mrb_immediate_p
Diffstat (limited to 'src/gc.c')
| -rw-r--r-- | src/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -389,7 +389,7 @@ gc_protect(mrb_state *mrb, struct RBasic *p) MRB_API void mrb_gc_protect(mrb_state *mrb, mrb_value obj) { - if (mrb_special_const_p(obj)) return; + if (mrb_immediate_p(obj)) return; gc_protect(mrb, mrb_basic_ptr(obj)); } |
