diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-14 16:40:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-14 16:40:26 +0000 |
commit | 2568fd774baa8f26eeb9d36b01f2f907dc498ef3 (patch) | |
tree | ae28b8023f4604603f25455bb81bae8ded9f2c53 /load.c | |
parent | f526784e1ee21f6d2b5d130673f5c3d96761f2bb (diff) |
load.c: call init
* load.c (register_init_ext): call initialization function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1049,6 +1049,7 @@ register_init_ext(st_data_t *key, st_data_t *value, st_data_t init, int existing else { *value = (st_data_t)NEW_MEMO(init, 0, 0); *key = (st_data_t)ruby_strdup(name); + (*(void (*)(void))init)(); } return ST_CONTINUE; } |