summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-03-15 21:19:48 +0900
committerGitHub <[email protected]>2019-03-15 21:19:48 +0900
commita1e12011486576dc2e52fe8da11ef377311fe311 (patch)
tree03585abea2e64342eb34c4ae35050259df6b0af0 /include
parent298807fa4e6550958de9cd77e1fa12dfd9a399e4 (diff)
parent16b1b2978e4f4d838f3d12e7221139a92429603b (diff)
downloadmruby-a1e12011486576dc2e52fe8da11ef377311fe311.tar.gz
mruby-a1e12011486576dc2e52fe8da11ef377311fe311.zip
Merge pull request #4328 from shuujii/fix-constant-name-validation
Fix constant name validation
Diffstat (limited to 'include')
-rw-r--r--include/mruby/variable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/variable.h b/include/mruby/variable.h
index 68a2a7121..ba6037959 100644
--- a/include/mruby/variable.h
+++ b/include/mruby/variable.h
@@ -123,6 +123,7 @@ mrb_value mrb_obj_instance_variables(mrb_state*, mrb_value);
mrb_value mrb_mod_class_variables(mrb_state*, mrb_value);
mrb_value mrb_mod_cv_get(mrb_state *mrb, struct RClass * c, mrb_sym sym);
mrb_bool mrb_mod_cv_defined(mrb_state *mrb, struct RClass * c, mrb_sym sym);
+mrb_bool mrb_ident_p(const char *s, mrb_int len);
/* GC functions */
void mrb_gc_mark_gv(mrb_state*);