diff options
author | 卜部昌平 <[email protected]> | 2019-08-27 12:29:00 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-08-27 15:52:26 +0900 |
commit | bd8dc2561d4983df7bf44dbc6ca194930532adc7 (patch) | |
tree | 5981d96c011d2dc5832fc0ad214c62226bc61e39 /load.c | |
parent | 79d280a5e855d623957638b6d73f530995e03cae (diff) |
struct MEMO now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. There is only one usage of
MEMO::u3::func in load.c (where void Init_Foobar(vodi) is registered)
so why not just be explicit.
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -728,7 +728,7 @@ load_lock(const char *ftptr) } else if (imemo_type_p(data, imemo_memo)) { struct MEMO *memo = MEMO_CAST(data); - void (*init)(void) = (void (*)(void))memo->u3.func; + void (*init)(void) = memo->u3.func; data = (st_data_t)rb_thread_shield_new(); st_insert(loading_tbl, (st_data_t)ftptr, data); (*init)(); |