issue 06
This commit is contained in:
@@ -333,6 +333,8 @@ SDL_GL_SetSwapInterval :: (interval: s32) -> bool #foreign sdl3;
|
||||
SDL_GL_GetProcAddress :: (proc: [:0]u8) -> *void #foreign sdl3;
|
||||
SDL_PollEvent :: (event: *SDL_Event) -> bool #foreign sdl3;
|
||||
SDL_GetTicks :: () -> u64 #foreign sdl3;
|
||||
SDL_GetPerformanceCounter :: () -> u64 #foreign sdl3;
|
||||
SDL_GetPerformanceFrequency :: () -> u64 #foreign sdl3;
|
||||
SDL_Delay :: (ms: u32) -> void #foreign sdl3;
|
||||
SDL_GetWindowDisplayScale :: (window: *void) -> f32 #foreign sdl3;
|
||||
SDL_GetWindowSize :: (window: *void, w: *s32, h: *s32) -> bool #foreign sdl3;
|
||||
|
||||
5
examples/modules/test.sx
Normal file
5
examples/modules/test.sx
Normal file
@@ -0,0 +1,5 @@
|
||||
assert :: (condition: bool) {
|
||||
if !condition {
|
||||
out("assertion failed\n");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user