corrects samples/tetris/sdl.def link (#696)

This commit is contained in:
Roman Shevchenko
2017-06-23 14:40:52 +03:00
committed by Nikolay Igotti
parent f40e4898f0
commit 73ce4348f2
+2 -2
View File
@@ -36,11 +36,11 @@ For some tests, use:
./gradlew backend.native:tests:run
To generate interoperability stubs create library definition file
(take a look on [`samples/tetris/sdl.def`](https://github.com/JetBrains/kotlin-native/blob/master/samples/tetris/sdl.def)) and run `cinterop` tool like this:
(take a look on [`samples/tetris/.../sdl.def`](https://github.com/JetBrains/kotlin-native/blob/master/samples/tetris/src/main/c_interop/sdl.def)) and run `cinterop` tool like this:
cinterop -def lib.def
See provided [samples](https://github.com/JetBrains/kotlin-native/tree/master/samples) and [`INTEROP.md`](https://github.com/JetBrains/kotlin-native/blob/master/INTEROP.md) for more details.
Interop tool generates library in .klib library format, see [`LIBRARIES.md`](https://github.com/JetBrains/kotlin-native/blob/master/LIBRARIES.md)
for more details on the file format.
for more details on the file format.