// SetError (https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_11.html#SEC11) func SetError(err string) { _err := C.CString(err) defer C.free(unsafe.Pointer(_err)) C.Do_TTF_SetError(_err) }
func SetError(err string) { _err := (C.CString)(err) C.Do_TTF_SetError(_err) C.free(unsafe.Pointer(_err)) }