pub type CUasyncCallback = Option<unsafe extern "C" fn(info: *mut CUasyncNotificationInfo, userData: *mut c_void, callback: CUasyncCallbackHandle)>;
Expand description
CUDA async notification callback \param info Information describing what actions to take as a result of this trim notification. \param userData Pointer to user defined data provided at registration. \param callback The callback handle associated with this specific callback.
Aliased Type§
pub enum CUasyncCallback {
None,
Some(unsafe extern "C" fn(*mut CUasyncNotificationInfo_st, *mut c_void, *mut CUasyncCallbackEntry_st)),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(*mut CUasyncNotificationInfo_st, *mut c_void, *mut CUasyncCallbackEntry_st))
Some value of type T
.