pike.git/
src/
gc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-06-17
2014-06-17 14:14:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>
d05654633e43a162efd1ec6328e4d5e85e0a063d (
15
lines) (+
8
/-
7
)
[
Show
|
Annotate
]
Branch:
8.0
GC: Clean up some of the visit_* API.
All the visit_*() functions now have all arguments.
4412:
(visit_thing_fn *) (ptrdiff_t) -1, (visit_thing_fn *) (ptrdiff_t) -1, (visit_thing_fn *) (ptrdiff_t) -1,
-
(visit_thing_fn *)
&visit_array,
-
(visit_thing_fn *)
&visit_mapping,
-
(visit_thing_fn *)
&visit_multiset,
-
(visit_thing_fn *)
&visit_object,
+
&visit_array,
+
&visit_mapping,
+
&visit_multiset,
+
&visit_object,
/* visit_function must be called with a whole svalue, so it's not * included here. */ (visit_thing_fn *) (ptrdiff_t) -1,
-
(visit_thing_fn *)
&visit_program,
-
(visit_thing_fn *)
&visit_string,
-
(visit_thing_fn *)
&visit_type,
+
&visit_program,
+
&visit_string,
+
&visit_type,
}; PMOD_EXPORT TYPE_T type_from_visit_fn (visit_thing_fn *fn)