add new functions to check if symbols are interned without registration.

This commit is contained in:
crimsonwoods
2013-04-25 09:27:00 +09:00
parent 4faaef437d
commit 8682b06953
2 changed files with 27 additions and 0 deletions
+3
View File
@@ -195,6 +195,9 @@ mrb_value mrb_funcall_with_block(mrb_state*, mrb_value, mrb_sym, int, mrb_value*
mrb_sym mrb_intern_cstr(mrb_state*,const char*);
mrb_sym mrb_intern2(mrb_state*,const char*,size_t);
mrb_sym mrb_intern_str(mrb_state*,mrb_value);
mrb_bool mrb_cstr_interned(mrb_state*,const char*);
mrb_bool mrb_interned(mrb_state*,const char*,size_t);
mrb_bool mrb_str_interned(mrb_state*,mrb_value);
const char *mrb_sym2name(mrb_state*,mrb_sym);
const char *mrb_sym2name_len(mrb_state*,mrb_sym,size_t*);
mrb_value mrb_sym2str(mrb_state*,mrb_sym);