# Function ocl_core::_complete_user_event [−] [src]

    pub extern "C" fn _complete_user_event(
        src_event_ptr: cl_event,
        event_status: i32,
        user_data: *mut c_void
    )

If `event_status` is `CommandExecutionStatus::Complete`, the `cl_event` pointed to by `user_data` will be set to the same.

`user_data` must be a `cl_event` which has not yet had its destructor run (`::release_event`).

`src_event_ptr` is not used and does not need anything special done with its destructor (it will already have been managed by the call to `::set_event_callback`.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)