path: root/intern.h
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-13 14:57:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-13 14:57:36 +0000
commit4de0bb549b9d28e7f6e0799d3c3a08f615a49f51 (patch)
tree6c1961b725aa2c92aaf0926964c80dbdc02347a2 /intern.h
parent1b8c124c8d19a572d94a6187372da1f3295f11ed (diff)
* eval.c (rb_feature_p): match by classified suffix.
* eval.c (rb_require_safe): require library in the specified safe level. * variable.c (rb_autoload, rb_autoload_load): restore safe level when autoload was called. [ruby-dev:21338] * intern.h: prototypes; rb_require_safe. * test/runner.rb: accept non-option arguments. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index dacd985..9562f00 100644
--- a/intern.h
+++ b/intern.h
@@ -176,6 +176,7 @@ NORETURN(void rb_jump_tag _((int)));
int rb_provided _((const char*));
void rb_provide _((const char*));
VALUE rb_f_require _((VALUE, VALUE));
+VALUE rb_require_safe _((VALUE, int));
void rb_obj_call_init _((VALUE, int, VALUE*));
VALUE rb_class_new_instance _((int, VALUE*, VALUE));
VALUE rb_block_proc _((void));