]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Allow passing/retrieving any delegate to/from varargs parameter
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 3 Oct 2019 08:43:22 +0000 (10:43 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 3 Oct 2019 13:13:32 +0000 (15:13 +0200)
commitbab871f3a10c124465db5c47f1815bacd99e728f
tree710352b32472a12ef11850bd910c4da143367c3b
parent1bce8c0287e12783e846ee52b1eca1526a0510bc
codegen: Allow passing/retrieving any delegate to/from varargs parameter

Initialize target/notify cvalues of delegate-typed arguments/result of
inferred varargs parameters and va_list.arg() calls.

Only the actual function pointer will be passed or retrieved. The target
and destroy values will be null.
codegen/valaccodemethodcallmodule.vala
tests/Makefile.am
tests/methods/varargs-delegate.vala [new file with mode: 0644]