[KLIB tool] Update Kotlin/Native C-interop tests
^KT-62340
This commit is contained in:
committed by
Space Team
parent
07767f88e2
commit
ab814e1600
+16
-4
@@ -1,6 +1,18 @@
|
||||
library {
|
||||
// module name: <dependency.def>
|
||||
|
||||
package dependency {
|
||||
@CCall(id = "knifunptr_dependency1_bar") @ExperimentalForeignApi external fun bar()
|
||||
@CCall(id = "knifunptr_dependency0_foo") @ExperimentalForeignApi external fun foo()
|
||||
library fragment {
|
||||
// package name: dependency
|
||||
|
||||
package {
|
||||
|
||||
@kotlinx/cinterop/internal/CCall(id = "knifunptr_dependency1_bar")
|
||||
@kotlinx/cinterop/ExperimentalForeignApi
|
||||
public final external fun bar(): kotlin/Unit
|
||||
|
||||
@kotlinx/cinterop/internal/CCall(id = "knifunptr_dependency0_foo")
|
||||
@kotlinx/cinterop/ExperimentalForeignApi
|
||||
public final external fun foo(): kotlin/Unit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user