mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
variable.c: remove mrb_ prefix from a static function.
This commit is contained in:
+3
-3
@@ -986,7 +986,7 @@ mrb_f_global_variables(mrb_state *mrb, mrb_value self)
|
||||
}
|
||||
|
||||
static mrb_bool
|
||||
mrb_const_defined_0(mrb_state *mrb, mrb_value mod, mrb_sym id, mrb_bool exclude, mrb_bool recurse)
|
||||
const_defined_0(mrb_state *mrb, mrb_value mod, mrb_sym id, mrb_bool exclude, mrb_bool recurse)
|
||||
{
|
||||
struct RClass *klass = mrb_class_ptr(mod);
|
||||
struct RClass *tmp;
|
||||
@@ -1012,13 +1012,13 @@ retry:
|
||||
MRB_API mrb_bool
|
||||
mrb_const_defined(mrb_state *mrb, mrb_value mod, mrb_sym id)
|
||||
{
|
||||
return mrb_const_defined_0(mrb, mod, id, TRUE, TRUE);
|
||||
return const_defined_0(mrb, mod, id, TRUE, TRUE);
|
||||
}
|
||||
|
||||
MRB_API mrb_bool
|
||||
mrb_const_defined_at(mrb_state *mrb, mrb_value mod, mrb_sym id)
|
||||
{
|
||||
return mrb_const_defined_0(mrb, mod, id, TRUE, FALSE);
|
||||
return const_defined_0(mrb, mod, id, TRUE, FALSE);
|
||||
}
|
||||
|
||||
MRB_API mrb_value
|
||||
|
||||
Reference in New Issue
Block a user