diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-31 20:44:56 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-31 20:44:56 +0000 |
commit | 1611735b293128f8638f68b21d66e34817eb8f86 (patch) | |
tree | 85258c0710cbdc203dd7135da8310d1858447f20 /load.c | |
parent | 45458752d3f54ac81661d93aa55b8b5805f78138 (diff) |
* eval_intern.h, vm_method.c: move macros to functions.
* SCOPE_TEST(f) -> rb_frame_visibility_test(flag).
* SCOPE_CHECK(f) -> rb_frame_visibility_check(flag).
* SCOPE_SET(f) -> rb_frame_visibility_set(flag).
* load.c (load_ext): use it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -935,7 +935,7 @@ load_failed(VALUE fname) static VALUE load_ext(VALUE path) { - SCOPE_SET(NOEX_PUBLIC); + rb_frame_visibility_set(NOEX_PUBLIC); return (VALUE)dln_load(RSTRING_PTR(path)); } |