Example #1
0
func (ec ErrorCode) c() C.SDL_errorcode {
	return C.SDL_errorcode(ec)
}
Example #2
0
File: sdl.go Project: beoran/fungo
// Raises an SDL error with the given code
func Error(code Errorcode) {
	C.SDL_Error(C.SDL_errorcode(code))
}