summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-19 09:15:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-19 09:15:27 +0000
commit86833594ff917d578aa24a4536995fa6573300a6 (patch)
treef1abc7feb58a2faaaa14621ef75c32f114f1d193 /ruby.h
parentec6e3f9ec351d2e39d8113101605361664cf7494 (diff)
* string.c (rb_str_substr): "a"[1,2] should return ""; need
rubicon upgrade. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby.h b/ruby.h
index 1483387..ff7edf6 100644
--- a/ruby.h
+++ b/ruby.h
@@ -460,8 +460,9 @@ NORETURN(void rb_iter_break _((void)));
NORETURN(void rb_exit _((int)));
NORETURN(void rb_notimplement _((void)));
-void rb_warn __((const char*, ...));
void rb_warning __((const char*, ...)); /* reports if `-w' specified */
+void rb_sys_warning __((const char*, ...)); /* reports if `-w' specified */
+void rb_warn __((const char*, ...)); /* reports always */
VALUE rb_each _((VALUE));
VALUE rb_yield _((VALUE));