https://github.com/purehyperbole/kotlin-native-example
An example kotlin native project to demonstrate a bug when copying memory from c
https://github.com/purehyperbole/kotlin-native-example
Last synced: about 1 year ago
JSON representation
An example kotlin native project to demonstrate a bug when copying memory from c
- Host: GitHub
- URL: https://github.com/purehyperbole/kotlin-native-example
- Owner: purehyperbole
- Created: 2020-05-07T12:50:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-07T17:59:25.000Z (about 6 years ago)
- Last Synced: 2025-02-03T15:56:07.534Z (over 1 year ago)
- Language: Kotlin
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kotlin-native-example
This project is to demonstrate an issue when copying from a buffer allocated in c memory to a kotlin array
## Building
```sh
./gradlew linkNative
```
## Installation
```sh
sudo cp build/bin/native/debugShared/libnative.so /usr/local/lib/libexample.so
sudo cp build/bin/native/debugShared/libnative_api.h /usr/local/include/example.h
```