]> git.ipfire.org Git - thirdparty/vala.git/commit
gobject-2.0: Fix the Closure.invoke() signature
authorOle André Vadla Ravnås <oleavr@gmail.com>
Thu, 8 Jul 2021 23:59:07 +0000 (01:59 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 16 Aug 2021 10:17:29 +0000 (12:17 +0200)
commitac3c0857127e2d3b3cbe948cad5be2c4ffa42c20
tree48daa12f2e7e330ac0c31d9b0eaccc2644e98974
parenta95f52e4c53d53e71e85c91200b9fc6650156f55
gobject-2.0: Fix the Closure.invoke() signature

The return value must be initialized by the caller, as is clear from
GLib's internal callers, and e.g. dummy_closure_marshal() on the callee
side. So it appears the GLib type annotation is incorrect, as it
specifies `out` but should be `inout`.
vapi/gobject-2.0.vapi