diff options
author | 卜部昌平 <[email protected]> | 2019-08-27 14:21:18 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-08-27 15:52:26 +0900 |
commit | 1663d347c993debf7ed83e11e291e7a21e14ed03 (patch) | |
tree | 25627412bc1c323f02da67379311efb73b51a249 /load.c | |
parent | 19b6678132acc56460432d8c2d6246f399b27160 (diff) |
delete `$` sign from C identifiers
They lack portability. See also
https://travis-ci.org/shyouhei/ruby/jobs/577164015
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -156,7 +156,7 @@ get_loaded_features(void) } static VALUE -get_$LOADED_FEATURES(ID _x, VALUE *_y) +get_LOADED_FEATURES(ID _x, VALUE *_y) { return get_loaded_features(); } @@ -1265,8 +1265,8 @@ Init_load(void) vm->load_path_check_cache = 0; rb_define_singleton_method(vm->load_path, "resolve_feature_path", rb_resolve_feature_path, 1); - rb_define_virtual_variable("$\"", get_$LOADED_FEATURES, 0); - rb_define_virtual_variable("$LOADED_FEATURES", get_$LOADED_FEATURES, 0); + rb_define_virtual_variable("$\"", get_LOADED_FEATURES, 0); + rb_define_virtual_variable("$LOADED_FEATURES", get_LOADED_FEATURES, 0); vm->loaded_features = rb_ary_new(); vm->loaded_features_snapshot = rb_ary_tmp_new(0); vm->loaded_features_index = st_init_numtable(); |