Closed hying-caritas closed 10 years ago
Are you sure, that this works? I mean at least an example from documentation:
(defvar *entry* (call *gtk* "TargetEntry" 'new "ok" 0 0))
> (call *entry* :field 'flags)
0
> (call *entry* :set-field! 'flags 1)
> (call *entry* :field 'flags)
1
Just tested this case. And it works properly for me.
And I want to write some unit-test code for cl-gobject-introspection. Do you have some recommendation for unit-test framework?
I recommend fiveam. It is in quicklisp, and enough lite.
After checking python gobject binding, found that in-out and out parameters should pass by pointer even via g_function_info_invoke(). So fix in-out and out argument processing accordingly.