summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-08-04 00:50:03 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-08-04 00:50:03 +0900
commit6aa6e75f75a80db69c54c419043e9ef8240c9ad8 (patch)
tree7c146da5945fac6c69309193eb881564a67f0f0f /src/object.c
parent206f89e2090524f009fc5a87f42c15a453ebdbee (diff)
downloadmruby-6aa6e75f75a80db69c54c419043e9ef8240c9ad8.tar.gz
mruby-6aa6e75f75a80db69c54c419043e9ef8240c9ad8.zip
rename obsolete mrb_special_const_p to mrb_immediate_p
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c
index 8c278f1f9..ba03f34ef 100644
--- a/src/object.c
+++ b/src/object.c
@@ -407,7 +407,7 @@ mrb_check_type(mrb_state *mrb, mrb_value x, enum mrb_vtype t)
else if (mrb_type(x) == MRB_TT_SYMBOL) {
etype = "Symbol";
}
- else if (mrb_special_const_p(x)) {
+ else if (mrb_immediate_p(x)) {
etype = RSTRING_PTR(mrb_obj_as_string(mrb, x));
}
else {