diff options
author | 卜部昌平 <[email protected]> | 2020-05-11 16:45:40 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-05-11 16:47:25 +0900 |
commit | 15e977349e31389515bccf7a9684005a0c36e02d (patch) | |
tree | bb4a8289699a540af59d03b5329ef8f3f4230a46 /gc.c | |
parent | 4fbb34415659d33b479973e1fdbc71314bd810eb (diff) |
more on NULL versus functions
Function pointers are not void*. See also
115fec062ccf7c6d72c8d5f64b7a5d84c9fb2dd8
ce4ea956d24eab5089a143bba38126f2b11b55b6
8427fca49bd85205f5a8766292dd893f003c0e48
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8228,7 +8228,7 @@ update_cc_tbl(rb_objspace_t *objspace, VALUE klass) { struct rb_id_table *tbl = RCLASS_CC_TBL(klass); if (tbl) { - rb_id_table_foreach_with_replace(tbl, update_cc_tbl_i, NULL, objspace); + rb_id_table_foreach_with_replace(tbl, update_cc_tbl_i, 0, objspace); } } |