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
Hi,
I believe similar questions have been asked before, but perhaps not pinpointing exactly my issue.
Thanks for taking the time to read this issue, and managing this library.
TLDR:
There are many examples of changing Java owned data with callbacks.
Is there a way to do the opposite, change data in Rust managed data with Java using callbacks?
Context:
I have a serial port in an android application that reads data and sends it to a "machine" built in Rust for processing.
This is a workaround, because normally the Rust machine is handeling the connection, and only exposes callbacks to different languages.
Example:
note: I have a typemap between u8 and i8 which works fine
Hi,
I believe similar questions have been asked before, but perhaps not pinpointing exactly my issue.
Thanks for taking the time to read this issue, and managing this library.
TLDR:
There are many examples of changing Java owned data with callbacks.
Is there a way to do the opposite, change data in Rust managed data with Java using callbacks?
Context:
I have a serial port in an android application that reads data and sends it to a "machine" built in Rust for processing.
This is a workaround, because normally the Rust machine is handeling the connection, and only exposes callbacks to different languages.
Example:
note: I have a typemap between u8 and i8 which works fine
========Rust Interface======
=======Java Generated Interface via Flapigen=======
=======Kotlin Interface Implementation of read_fn=======
=======Rust callback use : PROBLEM SHOWN HERE =======
The text was updated successfully, but these errors were encountered: