cgo: add support for variadic functions

This doesn't yet add support for actually making use of variadic
functions, but at least allows (unintended) variadic functions like the
following to work:

    void foo();
This commit is contained in:
Ayke van Laethem
2021-02-07 16:02:16 +01:00
committed by Ron Evans
parent 5502182642
commit 2e9c3a1d8d
9 changed files with 77 additions and 11 deletions
+2
View File
@@ -12,6 +12,8 @@ defined char: 99
25: 25
callback 1: 50
callback 2: 600
variadic0: 1
variadic2: 15
bool: true true
float: +3.100000e+000
double: +3.200000e+000