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
Hmm, perhaps your code must be written with Arc<Mutex<T>>s beforehand and passed a pointer to Fn* dynamic object which would then be passed back to rust which could successfully call it? Or perhaps creating a special struct which inherits Fn* and could provide a ffi to the other language.
For the first idea:
How can a callback be passed to C when it might run on another thread?
How can user data be passed? Is there a magic way to pass userdata when there's no userdata parameter?
The text was updated successfully, but these errors were encountered: