diff options
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -268,6 +268,14 @@ rb_warning(const char *fmt, ...) } } +VALUE +rb_warning_string(const char *fmt, ...) +{ + with_warning_string(mesg, 0, fmt) { + } + return mesg; +} + #if 0 void rb_enc_warning(rb_encoding *enc, const char *fmt, ...) |