flapigen-rs icon indicating copy to clipboard operation
flapigen-rs copied to clipboard

Tool for connecting programs or libraries written in Rust with other languages

Results 63 flapigen-rs issues
Sort by recently updated
recently updated
newest added

When I generate C++ code g++ seems to compile it fine, but clang on the other hand produces errors that look like this: ``` /home/colt/src/coltfred/ironoxide-java/cpp/generated/sdk/IronOxide_impl.hpp:116:27: error: assigning to 'void *'...

bug
C++

This fixes #309. Not sure if there was a reason it was commented out before?

My code ``` foreign_class!( class RustTokenizer { self_type RustTokenizer; constructor RustTokenizer::new(vocab: &str, merges: &str) -> Result; fn RustTokenizer::encode(&self, from: &str) -> Result; } ); ``` produces the next when I...

enhancement
C++

Hello dev: > Todo https://github.com/Dushistov/rust_swig/blob/ca1967b2ece7565a9bbfb93902c9fc8b09c4abc7/android-example/app/build.gradle#L50 My solution: ```gradle android { // … applicationVariants.all { variant -> def buildType = variant.buildType.name // Sets the current build type println("\n============================== buildType : ${buildType}...

This question is a bit more general than rust_swig, but it's slightly related and I imagine many more people will be dealing with similar things as this fantastic library gains...

question

Most of the time I'm defining a struct in my Rust code, and defining almost exactly the same thing again in the java_glue or cpp_glue. Seeing as most of it...

question

If one of user function's argument has type `JNIEnv` pass `JNIEnv` to it.

enhancement
Java/JNI

The [swig](https://github.com/swig/swig/blob/master/Lib/java/javahead.swg#L90) code for throwing exceptions calls `ExceptionClear` before `ThrowNew`. It's not clear to me from the spec that this is required, but it does seem to be a safer...

enhancement
Java/JNI