Skip to main content

module_close

Function module_close 

Source
pub extern "C" fn module_close() -> c_int
Expand description

Called before exit

Your module implementation must export it’s own version of this function as:

#[unsafe(no_mangle)]
extern "C" fn module_close() -> raw::c_int {
    // Implementation
}