An open API service indexing awesome lists of open source software.

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

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
```