Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/napiPublic

N-API C Interop for Kotlin/Native

License

NotificationsYou must be signed in to change notification settings

datkt/napi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-API C Interop for Kotlin/Native

Installation

$ npm install @datkt/napi

Prerequisites

Usage

## Compile a shared library with 'module.kt' and link napi.klib found in `node_modules/`$ konanc -r node_modules/@datkt -l napi/napi -p shared -o binding module.kt## Linux$ konanc -r node_modules/@datkt -l napi/napi -p dynamic -o binding module.kt## OSX$ mv libbinding.so binding.node$ node -e"require('./binding')"

TODO

See Also

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp