diff options
| author | cremno <[email protected]> | 2014-01-09 13:55:16 +0100 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-01-30 23:50:18 +0100 |
| commit | eaf445ea5c49ee286ca0b584387b50cfea63c60d (patch) | |
| tree | 05553ce487cb8d65d9b94489ac0121279e5dee66 | |
| parent | a68a51702876b9c520c21a15bdf03ea91e0439f0 (diff) | |
| download | mruby-eaf445ea5c49ee286ca0b584387b50cfea63c60d.tar.gz mruby-eaf445ea5c49ee286ca0b584387b50cfea63c60d.zip | |
mruby.h: remove mrb_str_format declaration
The function mrb_str_format is only defined when the mrbgem mruby-sprintf was
activated. That might not always be the case (by default it currently is).
mrb_str_format still has external linkage, so from now on mrbgem authors
have to declare it in their source code if they want or need to call it.
| -rw-r--r-- | include/mruby.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h index 3a08afde2..80b0542e5 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -240,7 +240,6 @@ mrb_value mrb_check_intern_str(mrb_state*,mrb_value); const char *mrb_sym2name(mrb_state*,mrb_sym); const char *mrb_sym2name_len(mrb_state*,mrb_sym,size_t*); mrb_value mrb_sym2str(mrb_state*,mrb_sym); -mrb_value mrb_str_format(mrb_state *, int, const mrb_value *, mrb_value); void *mrb_malloc(mrb_state*, size_t); /* raise RuntimeError if no mem */ void *mrb_calloc(mrb_state*, size_t, size_t); /* ditto */ |
