// GL_LoadLibrary (https://wiki.libsdl.org/SDL_GL_LoadLibrary) func GL_LoadLibrary(path string) error { _path := C.CString(path) if C.SDL_GL_LoadLibrary(_path) != 0 { return GetError() } return nil }
func GL_LoadLibrary(path string) error { cpath := C.CString(path) defer C.free(unsafe.Pointer(cpath)) if C.SDL_GL_LoadLibrary(cpath) != 0 { return getError() } return nil }
func GL_LoadLibrary(path string) int { _path := C.CString(path) defer C.free(unsafe.Pointer(_path)) return (int)(C.SDL_GL_LoadLibrary(_path)) }
func GL_LoadLibrary(path string) int { _path := (C.CString)(path) return (int)(C.SDL_GL_LoadLibrary(_path)) }