Beispiel #1
0
func (src *RWops) ReadU8() uint8 {
	if src == nil {
		return 0
	}
	_src := (*C.SDL_RWops)(unsafe.Pointer(src))
	return (uint8)(C.SDL_ReadU8(_src))
}
Beispiel #2
0
func (src *RWops) ReadU8() uint8 {
	if src == nil {
		return 0
	}
	return uint8(C.SDL_ReadU8(src.cptr()))
}