pub unsafe extern "C" fn PL_thread_at_exit( function: Option<unsafe extern "C" fn(_: *mut c_void)>, closure: *mut c_void, global: i32 ) -> i32