示例#1
0
func (dst *RWops) WriteBE16(value uint16) uint {
	if dst == nil {
		return 0
	}
	_dst := (*C.SDL_RWops)(unsafe.Pointer(dst))
	_value := (C.Uint16)(value)
	return (uint)(C.SDL_WriteBE16(_dst, _value))
}
示例#2
0
文件: rwops.go 项目: JalfResi/go-sdl2
func (dst *RWops) WriteBE16(value uint16) uint {
	if dst == nil {
		return 0
	}
	return uint(C.SDL_WriteBE16(dst.cptr(), C.Uint16(value)))
}