[][src]Crate alass_ffi_macros

Attribute Macros

catch_panic

Wraps a function body with std::panic::catch_unwind to ensure that panics won't unwind accross the ffi boundary. The macro argument should be the return value of the function in case of panic, or no argument if it returns void.