aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-03 08:13:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-03 08:13:26 +0000
commitaacc35e144f2a3d5c145f85e337accd55a8acc90 (patch)
tree11c7af24794357a7a0fdfac687fe187067cf13d9 /internal.h
parent638ba47303dbc54ea84147cbb21935b251f670da (diff)
downloadruby-aacc35e144f2a3d5c145f85e337accd55a8acc90.tar.gz
encoding.c: load by rb_require_internal
* encoding.c (load_encoding): use rb_require_internal instead of calling rb_require_safe with protection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48700 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 dfd43d5064..df93632769 100644
--- a/internal.h
+++ b/internal.h
@@ -733,6 +733,7 @@ VALUE rb_iseq_method_name(VALUE self);
/* load.c */
VALUE rb_get_load_path(void);
VALUE rb_get_expanded_load_path(void);
+int rb_require_internal(VALUE fname, int safe);
NORETURN(void rb_load_fail(VALUE, const char*));
/* loadpath.c */