func CLRetainProgram(program CL_program) CL_int { return CL_int(C.clRetainProgram(program.cl_program)) }
// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clRetainProgram.html func RetainProgram(prog Program) ErrorCode { return ErrorCode(C.clRetainProgram(prog)) }
func retainProgram(p *Program) { if p.clProgram != nil { C.clRetainProgram(p.clProgram) } }