summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-25 04:38:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-25 04:38:18 +0000
commit320b49473ee64f37787c514e18577106e8231588 (patch)
tree1197f8dd5972bc14d0d42c1d45c479537a7ae688 /internal.h
parent5688e811bdbec002c491a96baeec4745235c19ab (diff)
error.c: rb_write_error_str
* error.c (compile_err_append, compile_warn_print, warn_print): use rb_write_error_str() instead of writing to rb_stderr directly. * io.c (rb_write_error_str): a stopgap measure not to unblock GVL. warning from require seems to still have race condition errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 2f05f48595..13c36f7a2c 100644
--- a/internal.h
+++ b/internal.h
@@ -138,6 +138,7 @@ const char *ruby_get_inplace_mode(void);
void ruby_set_inplace_mode(const char *);
ssize_t rb_io_bufread(VALUE io, void *buf, size_t size);
void rb_stdio_set_default_encoding(void);
+void rb_write_error_str(VALUE mesg);
/* iseq.c */
VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase);