Support Boolean in interop varargs and function pointers invocation

This commit is contained in:
Svyatoslav Scherbina
2017-08-18 10:34:54 +03:00
committed by SvyatoslavScherbina
parent 571fe47571
commit 99dd7227dc
7 changed files with 29 additions and 5 deletions
+2 -2
View File
@@ -2051,7 +2051,7 @@ task interop3(type: RunInteropKonanTest) {
task interop4(type: RunInteropKonanTest) {
disabled = (project.testTarget == 'wasm32') // No interop for wasm yet.
goldValue = "a b -1 2 3 9223372036854775807 0.1 0.2\n1 42\n"
goldValue = "a b -1 2 3 9223372036854775807 0.1 0.2 1 0\n1 42\n"
source = "interop/basics/4.kt"
interop = 'cstdio'
}
@@ -2064,7 +2064,7 @@ task interop_bitfields(type: RunInteropKonanTest) {
task interop_funptr(type: RunInteropKonanTest) {
disabled = (project.testTarget == 'wasm32') // No interop for wasm yet.
goldValue = "42\n17\n"
goldValue = "42\n17\n1\n0\n"
source = "interop/basics/funptr.kt"
interop = 'cfunptr'
}