Skip to content

Correctly handle vfunc inout parameters

Marco Trevisan requested to merge 3v1n0/gjs:vfunc-inout-arguments into master

When a callback function (vfunc) uses inout arguments, we used to compute the JS::Value from the argument as is (and so computing the value from the pointer value), however in such case the argument itself is a pointer and so we need to get its actual value by deferencing the GIArgument pointer.

Depends on gobject-introspection!201 (merged)

Merge request reports