mirror of
https://github.com/ptitSeb/box64.git
synced 2025-10-14 02:38:54 +08:00

* [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
5 lines
135 B
Plaintext
5 lines
135 B
Plaintext
Initial refcount: 1
|
|
Callback called with: 42, 'Hello GClosure' (user_data: 0x3a5000)
|
|
After ref, refcount: 2
|
|
After sinking, refcount: 1
|