Crate ffi_helpers [−] [src]
A crate to help make working with FFI easier.
Re-exports
pub use error_handling::error_message; |
pub use error_handling::take_last_error; |
pub use error_handling::update_last_error; |
pub use panic::catch_panic; |
pub use task::Task; |
Modules
error_handling |
Common error handling routines. |
panic | |
task |
Management of asynchronous tasks in an FFI context. |
Macros
catch_panic |
A convenience macro for running a fallible operation (which may panic) and
returning |
export_error_handling_functions |
As a workaround for rust-lang/rust#6342, you can use this macro to make sure
the symbols for |
export_task |
Convenience macro to define the FFI bindings for working with a |
null_pointer_check |
Check if we've been given a null pointer, if so we'll return early. |
Structs
NullPointer |
A |
Traits
Nullable |
An object which has an "obviously invalid" value, for use with the
|