diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-27 11:53:39 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-27 15:52:26 +0900 |
commit | 50f5a0a8d6e7ad89d6caff695a08dbd38edb7a6e (patch) | |
tree | 74d5842d05d0bb28b2beb3853a3ae4ceda75c2e2 /compile.c | |
parent | ae2dc3f217ba9f181471f39a7e5ce72a28b27c2a (diff) |
rb_hash_foreach now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit adds function prototypes
for rb_hash_foreach / st_foreach_safe. Also fixes some prototype
mismatches.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1827,7 +1827,7 @@ struct cdhash_set_label_struct { }; static int -cdhash_set_label_i(VALUE key, VALUE val, void *ptr) +cdhash_set_label_i(VALUE key, VALUE val, VALUE ptr) { struct cdhash_set_label_struct *data = (struct cdhash_set_label_struct *)ptr; LABEL *lobj = (LABEL *)(val & ~1); |