diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-28 06:44:21 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-28 06:44:21 -0700 |
| commit | 144613943d025b174add3463339d6a83737db4ee (patch) | |
| tree | 94a43474377e67e321ba78afa05a52d5b8157e33 /src/error.h | |
| parent | 3a2f4c323550ca0fe51d8ef7dfe8c8fdf65dcf0a (diff) | |
| parent | fa23cb10216bee49b6d494ea41d5d98e71ff26ea (diff) | |
| download | mruby-144613943d025b174add3463339d6a83737db4ee.tar.gz mruby-144613943d025b174add3463339d6a83737db4ee.zip | |
Merge pull request #1094 from monaka/pr-use-mrb_format
Use mrb_format() instead of s*printf().
Diffstat (limited to 'src/error.h')
| -rw-r--r-- | src/error.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
