diff options
| author | Tomoyuki Sahara <[email protected]> | 2013-03-13 09:55:06 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2013-03-13 09:55:06 +0900 |
| commit | 7103e032746df1b4359f6e6a6bb117ad7a434aa1 (patch) | |
| tree | 9fd0b2add554136e00e464374e4c2cfc4612204b /include | |
| parent | 46d8c51763bd13b69a4234f0d4be05cbfd8ae401 (diff) | |
| download | mruby-7103e032746df1b4359f6e6a6bb117ad7a434aa1.tar.gz mruby-7103e032746df1b4359f6e6a6bb117ad7a434aa1.zip | |
mrb_sys_fail raises SystemCallError if we have it.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 1 |
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); |
