Пример #1
0
func (ec ErrorCode) c() C.SDL_errorcode {
	return C.SDL_errorcode(ec)
}
Пример #2
0
// Raises an SDL error with the given code
func Error(code Errorcode) {
	C.SDL_Error(C.SDL_errorcode(code))
}