pub extern "C" fn module_close() -> c_int
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 }