func BindAPI(api int) error { success := C.eglBindAPI(C.EGLenum(api)) if success == C.EGL_FALSE { return getError() } return nil }
func BindAPI(api Enum) bool { return goBoolean(C.eglBindAPI(C.EGLenum(api))) }