diff options
| author | cremno <[email protected]> | 2013-11-18 19:30:26 +0100 |
|---|---|---|
| committer | cremno <[email protected]> | 2013-11-18 21:01:03 +0100 |
| commit | aacadb23657fb244821aac891a3eec8aac2f707a (patch) | |
| tree | 5090fad752eb24bab8a750f4b892844c52285d8a /src/error.h | |
| parent | 5b51b119ca16fe42d63896da8395a5d05bfa9877 (diff) | |
| download | mruby-aacadb23657fb244821aac891a3eec8aac2f707a.tar.gz mruby-aacadb23657fb244821aac891a3eec8aac2f707a.zip | |
renamed mrb_exc_new3 to mrb_exc_new_str
- more descriptive name (there's no mrb_exc_new2)
- no wrapper (macro/static inline function) for
backwards compatibility because nothing besides
mruby itself seems to be calling this function:
<http://mruby-code-search.ongaeshi.me/home?query=mrb_exc_new3>
Diffstat (limited to 'src/error.h')
| -rw-r--r-- | src/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.h b/src/error.h index 5aa4ca374..4d120e989 100644 --- a/src/error.h +++ b/src/error.h @@ -9,7 +9,7 @@ void mrb_sys_fail(mrb_state *mrb, const char *mesg); int sysexit_status(mrb_state *mrb, mrb_value err); -mrb_value mrb_exc_new3(mrb_state *mrb, struct RClass* c, mrb_value str); +mrb_value mrb_exc_new_str(mrb_state *mrb, struct RClass* c, mrb_value str); mrb_value make_exception(mrb_state *mrb, int argc, mrb_value *argv, int isstr); mrb_value mrb_make_exception(mrb_state *mrb, int argc, mrb_value *argv); mrb_value mrb_format(mrb_state *mrb, const char *format, ...); |
