// GetError (https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_12.html#SEC12) func GetError() error { e := C.TTF_GetError() if e == nil { return nil } return errors.New(C.GoString(e)) }
func fatalTTFError() { log.Fatal(C.GoString(C.TTF_GetError())) }