Skip to content

p1k0chu/kotlin-native-and-c-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin/Native + C example

example project with C and Kotlin/Native.

The only notable thing here is the makefile:

  • it generates kotlin bindings from the C code
  • it builds the kotlin code using the bindings (which also generates kotlin's api headers)
  • using the headers it compiles the C code
  • links everything together

You need:

  • a C and C++ compiler
  • Kotlin/Native

About

example C interop with Kotlin/Native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors