func CLRetainEvent(event CL_event) CL_int { return CL_int(C.clRetainEvent(event.cl_event)) }
// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clRetainEvent.html func RetainEvent(e Event) ErrorCode { return ErrorCode(C.clRetainEvent(e.clEvent)) }
func retainEvent(ev *Event) { if ev.clEvent != nil { C.clRetainEvent(ev.clEvent) } }