pub unsafe fn set_event_callback<'e, E: ClEventPtrRef<'e>>(
    event: &'e E,
    callback_trigger: CommandExecutionStatus,
    callback_receiver: Option<EventCallbackFn>,
    user_data: *mut c_void
) -> OclCoreResult<()>
Expand description

Sets a callback function which is called as soon as the callback_trigger status is reached.

Safety