summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-13 20:32:34 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-13 20:32:34 -0700
commit4da772c0d48a4fe3da5a203f6b41689f93742dbe (patch)
treedba6aa3d9e0d35934aaafe34300b6dd95fbfc845 /include
parentcf4d53d02c7f1f1c1c16f4abc08d41623008de80 (diff)
parentc0b844033f19cc6ae2a2beee5383f335eebaeba4 (diff)
downloadmruby-4da772c0d48a4fe3da5a203f6b41689f93742dbe.tar.gz
mruby-4da772c0d48a4fe3da5a203f6b41689f93742dbe.zip
Merge pull request #996 from iij/pr-systemcallerror
mrb_sys_fail raises an instance of (subclass of) SystemCallError if we have it
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index b112b081c..e058d409f 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);