From aacadb23657fb244821aac891a3eec8aac2f707a Mon Sep 17 00:00:00 2001 From: cremno Date: Mon, 18 Nov 2013 19:30:26 +0100 Subject: 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: --- src/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/error.h') 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, ...); -- cgit v1.2.3