mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53:40 +00:00
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:
committed by
Ron Evans
parent
5502182642
commit
2e9c3a1d8d
Vendored
+2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user