summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-20 14:53:42 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-20 14:53:42 +0900
commit3cbae5354149d311f6740c99474a96f4d1d8bca1 (patch)
treef2158c90fd9074b41f2228b8debce7d169f2ce54 /include/mruby.h
parent7195600dbf8d1683bcc5e9bfc3dd8547c222694e (diff)
downloadmruby-3cbae5354149d311f6740c99474a96f4d1d8bca1.tar.gz
mruby-3cbae5354149d311f6740c99474a96f4d1d8bca1.zip
move prototype of mrb_format() from error.h to mruby.h; ref #2274
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 3b1425cce..c1f45bf0b 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -422,6 +422,8 @@ void* mrb_alloca(mrb_state *mrb, size_t);
#define mrb_assert_int_fit(t1,n,t2,max) ((void)0)
#endif
+mrb_value mrb_format(mrb_state *mrb, const char *format, ...);
+
#if defined(__cplusplus)
} /* extern "C" { */
#endif