pub type clCreateContextFromType_t = Option<unsafe extern "C" fn(properties: *const cl_context_properties, device_type: cl_device_type, pfn_notify: Option<unsafe extern "C" fn(errinfo: *const c_char, private_info: *const c_void, cb: size_t, user_data: *mut c_void)>, user_data: *mut c_void, errcode_ret: *mut cl_int) -> cl_context>;

Aliased Type§

enum clCreateContextFromType_t {
    None,
    Some(unsafe extern "C" fn(_: *const isize, _: u64, _: Option<unsafe extern "C" fn(_: *const i8, _: *const c_void, _: usize, _: *mut c_void)>, _: *mut c_void, _: *mut i32) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const isize, _: u64, _: Option<unsafe extern "C" fn(_: *const i8, _: *const c_void, _: usize, _: *mut c_void)>, _: *mut c_void, _: *mut i32) -> *mut c_void)

Some value of type T.