You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, JNI requires special names for overloading functions.
But this case should be handled properly. See this.
During parsing TransferOutput as foreign_class should be registered signature L[ + class name.
So you need add debugging output around this and failed lines and find out why it can not find L[Class signature.
Hey!
Im trying to have 2 constructors in a class;
Both of these constructors compile and work when I only enable one of the 2. But as soon as I enable both; I get the following error:
I looked at the error origin here:
flapigen-rs/macroslib/src/java_jni/rust_code.rs
Line 101 in 260f479
I tried to take a stab at the code; but couldnt find out how it would handle arrays (Adding
escape_underscore
aroundtype_name
didnt work)It may be relevant that i use the following
typemap
to receive a vec on the rust side.Could you give me any pointers on how to fix this?
The text was updated successfully, but these errors were encountered: