// LoadFunction (https://wiki.libsdl.org/SDL_LoadFunction) func (handle SharedObject) LoadFunction(name string) unsafe.Pointer { _name := C.CString(name) defer C.free(unsafe.Pointer(_name)) return (unsafe.Pointer)(C.SDL_LoadFunction((unsafe.Pointer)(handle), _name)) }
func LoadFunction(handle unsafe.Pointer, name string) unsafe.Pointer { _name := (C.CString)(name) defer C.SDL_free(unsafe.Pointer(_name)) return (unsafe.Pointer)(C.SDL_LoadFunction(handle, _name)) }