box64/tests/misc/gclosure.txt
Leslie Zhai ec2edd5b3a
[WRAPPER] Wrapper wrappedgobject2 g_closure_ref and g_closure_sink (#2848) (#2849)
* [WRAPPER] Wrapper wrappedgobject2 g_closure_ref and g_closure_sink (#2848)

* [WRAPPER] Add testcase for g_closure_ref and g_closure_sink

* [WRAPPER] Just use GO for g_closure_ref|sink|invoke
2025-07-25 10:07:05 +02:00

4 lines
135 B
Text

Initial refcount: 1
Callback called with: 42, 'Hello GClosure' (user_data: 0x3a5000)
After ref, refcount: 2
After sinking, refcount: 1