mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
Strip unneeded semicolons from vendor library
This commit is contained in:
Vendored
+4
-4
@@ -34,12 +34,12 @@ foreign lib {
|
||||
}
|
||||
|
||||
GetKeyboardStateAsSlice :: proc "c" () -> []u8 {
|
||||
numkeys: c.int;
|
||||
keys := GetKeyboardState(&numkeys);
|
||||
numkeys: c.int
|
||||
keys := GetKeyboardState(&numkeys)
|
||||
if keys != nil {
|
||||
return keys[:numkeys];
|
||||
return keys[:numkeys]
|
||||
}
|
||||
return nil;
|
||||
return nil
|
||||
}
|
||||
|
||||
GetModState :: #force_inline proc "c" () -> Keymod { return transmute(Keymod)u16(SDL_GetModState()) }
|
||||
|
||||
Reference in New Issue
Block a user