summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-binding-core/src/binding-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-binding-core/src/binding-core.c')
-rw-r--r--mrbgems/mruby-binding-core/src/binding-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-binding-core/src/binding-core.c b/mrbgems/mruby-binding-core/src/binding-core.c
index 8086185ea..5563783c4 100644
--- a/mrbgems/mruby-binding-core/src/binding-core.c
+++ b/mrbgems/mruby-binding-core/src/binding-core.c
@@ -220,7 +220,7 @@ cache_source_location:
mrb_value
mrb_binding_alloc(mrb_state *mrb)
{
- struct RObject *obj = (struct RObject*)mrb_obj_alloc(mrb, MRB_TT_OBJECT, mrb_class_get(mrb, "Binding"));
+ struct RObject *obj = (struct RObject*)mrb_obj_alloc(mrb, MRB_TT_OBJECT, mrb_class_get_id(mrb, MRB_SYM(Binding)));
return mrb_obj_value(obj);
}