summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2013-03-13 09:55:06 +0900
committerTomoyuki Sahara <[email protected]>2013-03-13 09:55:06 +0900
commit7103e032746df1b4359f6e6a6bb117ad7a434aa1 (patch)
tree9fd0b2add554136e00e464374e4c2cfc4612204b /include/mruby.h
parent46d8c51763bd13b69a4234f0d4be05cbfd8ae401 (diff)
downloadmruby-7103e032746df1b4359f6e6a6bb117ad7a434aa1.tar.gz
mruby-7103e032746df1b4359f6e6a6bb117ad7a434aa1.zip
mrb_sys_fail raises SystemCallError if we have it.
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index ed746f409..cdf78f9ed 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -156,6 +156,7 @@ void mrb_undef_class_method(mrb_state*, struct RClass*, const char*);
mrb_value mrb_instance_new(mrb_state *mrb, mrb_value cv);
struct RClass * mrb_class_new(mrb_state *mrb, struct RClass *super);
struct RClass * mrb_module_new(mrb_state *mrb);
+int mrb_class_defined(mrb_state *mrb, const char *name);
struct RClass * mrb_class_get(mrb_state *mrb, const char *name);
struct RClass * mrb_class_obj_get(mrb_state *mrb, const char *name);