// ByteSwappedUnicode (https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_20.html#SEC20) func ByteSwappedUnicode(swap bool) { val := 0 if swap { val = 1 } C.TTF_ByteSwappedUNICODE(C.int(val)) }
func ByteSwappedUnicode(isSwapped bool) { c_swapped := C.int(0) if isSwapped { c_swapped = C.int(1) } C.TTF_ByteSwappedUNICODE(c_swapped) }
// This function tells the library whether UNICODE text is generally // byteswapped. A UNICODE BOM character in a string will override // this setting for the remainder of that string. func TTFByteSwappedCode(swapped bool) { C.TTF_ByteSwappedUNICODE(C.int(b2i(swapped))) }
func ByteSwappedUnicode(swapped int) { C.TTF_ByteSwappedUNICODE(C.int(swapped)) }