Files
kotlin-fork/Interop
Alexander Gorshenev e48c5a7215 Introduced
nativeMemUtils.getByteArray
and
    nativeMemUtils.putByteArray
for faster memory copy.
2016-12-20 19:32:27 +04:00
..
2016-12-02 16:06:04 +03:00
2016-12-20 19:32:27 +04:00

Kotlin-native interop

Usage

Create file ../gradle.properties with contents:

llvmInstallPath=/path/to/llvm

Create a Gradle subproject somewhere under ../, using ../InteropExample as a template.

To generate the interop stubs and libraries and build all sources you can run the following command from ../:

./gradlew InteropExample:build

To run the example (if 'application' plugin is enabled):

./gradlew InteropExample:run