func WasInit() bool { ret := C.TTF_WasInit() if ret == 1 { return true } return false }
// WasInit (https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_9.html#SEC9) func WasInit() bool { return int(C.TTF_WasInit()) != 0 }
// Checks to see if SDL_ttf is initialized. Returns 1 if true, 0 if false. func WasInit() int { sdl.GlobalMutex.Lock() status := int(C.TTF_WasInit()) sdl.GlobalMutex.Unlock() return status }
// De-initialize the TTF engine func TTFWasInit() bool { res := C.TTF_WasInit() return i2b(int(res)) }
// Checks to see if SDL_ttf is initialized. Returns 1 if true, 0 if false. func WasInit() int { return int(C.TTF_WasInit()) }
// Checks to see if SDL_ttf is initialized. Returns 1 if true, 0 if false. func WasInit() error { sdl.GlobalMutex.Lock() status := int(C.TTF_WasInit()) sdl.GlobalMutex.Unlock() return err(status) }
// Checks to see if SDL_ttf is initialized. Returns 1 if true, 0 if false. func WasInit() int { status := int(C.TTF_WasInit()) return status }