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

I want to expose a this-like function to cpp. But id can't. ```rust pub fn test(&self, s: &Vec) {} ```

question
C++

Since the glue file is meant to be normal Rust code, editor autocomplete and inline-errors should work. When trying this with rust-analyzer, it currently fails because the macros (`foreign_*`) can't...

enhancement

I'm currently trying to play with flapigen internals, let's say, for some experiment. I'm sure it's a rookie question, but how to use debug!() and mainly, how to see its...

question

I figured out that .hpp is generated to expose constants for enums, but this file is not usable for pure C code. I worked a bit on that, this afternoon....

enhancement
C++

When building multiple crates that export Android APIs via flapigen, the final linking step fails with the error: `ld error: duplicate symbol: JNI_OnLoad`. This only happens on Rust 1.60 and...

Java/JNI
Android
may be bug

Hey! Im trying to have 2 constructors in a class; ``` constructor TransferBuilder::with_outputs(outputs: Vec) -> TransferBuilder; constructor TransferBuilder::new(address: Address, amount: u64) -> TransferBuilder; ``` Both of these constructors compile and...

bug
Java/JNI

Can you support these types? I'd like to avoid restricting my types behind a string as that will be UTF8 only

Is there way to return a nullable value instead of a value wrapped in `Optional`? The difficulty is `Optional` works with **Andriod Api Version 24+** (but my projects starts from...

bug
Java/JNI

Im trying to interact with an MQTT stream from the rust side, but it only accepts `) -> Result;` I receive the following error below. Is this at all possible...

enhancement
question
Java/JNI

I've written an [interface file generator](https://github.com/Kofituo/rust_interface_file_generator) which works fine so far and is based on flapigen Maybe you could add it to your readme so more users try it and...

enhancement