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

Scala Native Binding Generator

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

Currently in hand generated code there are tricks to make the code shorter and cleaner such as use of imports. A good example is the following: https://github.com/scala-native/scala-native/blob/master/nativelib/src/main/scala/scala/scalanative/posix/dirent.scala The keys points...

bindgen

I'm not sure if the warning is intended as a test, however, in that case we might want to have a way to capture and ensure that the warning is...

bindgen

Right now `const` is discarded, however, it should be possible to support its use in certain places, namely: ```c extern const int PI; struct point { int x; int y;...

rfc
bindgen

Scala code will not compile if there are structs that are passed by value. Example: ```c struct MyStruct { int a; }; struct OtherStruct { struct MyStruct s; }; ```...

bug
bindgen

Currently bindgen outputs methods with the same names as in native library. It would be good to have a way to transform names according to Scala naming conventions ```scala //...

bindgen

Often C standard headers allow to specify which specification to conform to via defines. For example `_POSIX_C_SOURCE`. With the these defines can be passed with `-extra-arg`: ```sh ./scalaBindgen /usr/include/ctype.h -name...

bindgen

It would be great to detect leaks and problematic memory access by running CI tests with valgrind.

project

For all intents and purposes this project appears abandoned. Is that correct? If so then please archive the project to better communicate this to potential users. In addition, point to...