uniffi-rs
301f3e37 - Ensure panic safety for all FFI methods.

Commit
5 years ago
Ensure panic safety for all FFI methods. This commit changes all FFI functions to take an `out_err` param, so that they're called using `call_with_result`. Any functions that don't have a `[Throws]` annotation in the IDL will throw a generic `InternalError` instead. Closes #32.
Author
Committer
Parents
Loading