From c0b5220418879200ed23e34e87485ad591cd9755 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Thu, 28 Mar 2013 17:35:04 +0900 Subject: Modify mrb_name_error() to use mrb_format(). --- src/error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/error.h') diff --git a/src/error.h b/src/error.h index 53ee2b206..83d0938aa 100644 --- a/src/error.h +++ b/src/error.h @@ -12,6 +12,7 @@ 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 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, ...); void mrb_name_error(mrb_state *mrb, mrb_sym id, const char *fmt, ...); void mrb_exc_print(mrb_state *mrb, struct RObject *exc); -- cgit v1.2.3