https://kotlinlang.org logo
Title
g

Glen

09/27/2020, 12:42 PM
Hello @Deactivated User. I recently saw the project ktcc . It was jaw-dropping for me. I wanted to know whether I could use this to generate Kotlin bindings for an image processing library, targeting Android devices.
d

Deactivated User

09/27/2020, 3:54 PM
Actually that doesn't generate binding code, but compiles a C library into kotlin. For that maybe you want to look at SWIG or similar approaches: http://www.swig.org/
g

Glen

09/27/2020, 10:32 PM
Oh, OK, thanks...
But, @Deactivated User, could I take a library such as this one to generate Kotlin code?
d

Deactivated User

09/28/2020, 6:05 PM
Well I did ktcc for migrating minimp3 to Kotlin. So I have not tested it on bigger libraries. Probably would require more work
g

Glen

09/28/2020, 8:42 PM
OK.