diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2022-09-26 16:46:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 16:46:41 +0300 |
commit | ee8e73012c1a7f86783920181590489d740af839 (patch) | |
tree | 4c286b99ca6e7a62a82fba58d3881b10e0afa7b6 /integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain | |
parent | a816e917995858129ad074409f73e99d3b100318 (diff) | |
download | dokka-ee8e73012c1a7f86783920181590489d740af839.tar.gz dokka-ee8e73012c1a7f86783920181590489d740af839.tar.bz2 dokka-ee8e73012c1a7f86783920181590489d740af839.zip |
Extract classpath from `KotlinSharedNativeCompilation` as well (#2664)
* Extract classpath from `KotlinSharedNativeCompilation` as well
* Enhance mpp integration test
* Enable HMPP for old Kotlin in integration test
* Add comments
Diffstat (limited to 'integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain')
2 files changed, 16 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain/kotlin/it/mpp0/CPointerExtension.kt b/integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain/kotlin/it/mpp0/CPointerExtension.kt new file mode 100644 index 00000000..342a749e --- /dev/null +++ b/integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain/kotlin/it/mpp0/CPointerExtension.kt @@ -0,0 +1,11 @@ +package it.mpp0 + +import kotlinx.cinterop.CPointed +import kotlinx.cinterop.CPointer + +/** + * Will print the raw value + */ +fun CPointer<CPointed>.customExtension() { + println(this.rawValue) +} diff --git a/integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain/kotlin/it/mpp0/ExpectedClass.kt b/integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain/kotlin/it/mpp0/ExpectedClass.kt new file mode 100644 index 00000000..19070a96 --- /dev/null +++ b/integration-tests/gradle/projects/it-multiplatform-0/src/desktopMain/kotlin/it/mpp0/ExpectedClass.kt @@ -0,0 +1,5 @@ +package it.mpp0 + +actual class ExpectedClass { + actual val platform: String = "linux" +} |