I’ve generated some Javascript code using emscript...
# javascript
a
I’ve generated some Javascript code using emscripten, but I’m struggling to figure out how to write Kotlin bindings. The best I can get is
libpcre2x is undefined
or
libpcre2x is not a function
. Any tips?
Untitled.cpp
I’m using Kotlin 1.9.0-RC and I would like to get it working on both NodeJS and Browser targets - but for now anything will do!
Got it working with JS’
require()
, casting to a function type, and awaiting the
Promise