pub type ErlNifResourceDown = Option<unsafe extern "C" fn(arg1: *mut ErlNifEnv, arg2: *mut c_void, arg3: *mut ErlNifPid, arg4: *mut ErlNifMonitor)>;