scala-native-bindgen icon indicating copy to clipboard operation
scala-native-bindgen copied to clipboard

Scala Native Binding Generator

Results 27 scala-native-bindgen issues
Sort by recently updated
recently updated
newest added

- API changes of scala-native (renaming to unsafe, casts, array typing, struct field access, alloc call) - a segfault in `bindgen/ir/Record.cpp` (for unknown reasons, I have to admit) - illegal...

Hi. I'm not very proficient with C++ and I get the mentioned error when trying to generate bindings. I've tried several solutions found on the Internet but none worked. Running...

To help guide which things should be fixed upstream. - [ ] scala-native/scala-native#202

project

Although they said that will keep their repositories as readonly (here https://blog.gradle.org/jcenter-shutdown), the service is giving a 502 error. I'll report for updates during the morning. It should be considered...

For this given struct (see https://github.com/libexpat/libexpat/blob/master/expat/lib/expat.h#L507): ```C typedef struct { int map[256]; void *data; int(XMLCALL *convert)(void *data, const char *s); void(XMLCALL *release)(void *data); } XML_Encoding; ``` The produced definition is:...

Please do the following substitutions (maybe not exhaustive) to match the 0.4.x API: * import scala.scalanative._ ; import scala.scalanative.native._ -> import scala.scalanative.unsafe._ ; import scala.scalanative.unsigned._ * CFunctionPtr ->CFuncPtr * !p._x...

Example of problematic definition: ```C enum XML_Status { XML_STATUS_ERROR = 0, #define XML_STATUS_ERROR XML_STATUS_ERROR XML_STATUS_OK = 1, #define XML_STATUS_OK XML_STATUS_OK XML_STATUS_SUSPENDED = 2 #define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED }; ``` See: https://github.com/libexpat/libexpat/blob/master/expat/lib/expat.h#L70