Beispiel #1
0
func (dst *RWops) WriteBE32(value uint32) uint {
	if dst == nil {
		return 0
	}
	_dst := (*C.SDL_RWops)(unsafe.Pointer(dst))
	_value := (C.Uint32)(value)
	return (uint)(C.SDL_WriteBE32(_dst, _value))
}
Beispiel #2
0
func (dst *RWops) WriteBE32(value uint32) uint {
	if dst == nil {
		return 0
	}
	return uint(C.SDL_WriteBE32(dst.cptr(), C.Uint32(value)))
}