pike.git/
src/
gc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-01-17
2014-01-17 15:49:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e0fa988cae2aa15bfda8a0d0a8016e95e377a1dc (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
GC: Give some more info to destruct_cb().
3873:
); if (!SAFE_IS_ZERO(&gc_destruct_cb)) { ref_push_object(o);
-
safe_apply_svalue(&gc_destruct_cb,
1
, 1);
+
push_int(reason);
+
push_int(o->refs - 1);
+
safe_apply_svalue(&gc_destruct_cb,
3
, 1);
pop_stack(); }