mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 20:58:15 +00:00
when statement; Better entity collection system (for both local and global); Better parsing for record declarations
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
#foreign_system_library "opengl32"
|
||||
when ODIN_OS == "windows" {
|
||||
#foreign_system_library "opengl32"
|
||||
}
|
||||
#import "win32.odin"
|
||||
#load "opengl_constants.odin"
|
||||
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#import "win32.odin"
|
||||
when ODIN_OS == "windows" {
|
||||
#import "win32.odin"
|
||||
}
|
||||
#import "fmt.odin"
|
||||
|
||||
File_Time :: type u64
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
#foreign_system_library "user32"
|
||||
#foreign_system_library "gdi32"
|
||||
|
||||
_:= compile_assert(ODIN_OS == "windows")
|
||||
when ODIN_OS == "windows" {
|
||||
#foreign_system_library "user32"
|
||||
#foreign_system_library "gdi32"
|
||||
}
|
||||
|
||||
HANDLE :: type rawptr
|
||||
HWND :: type HANDLE
|
||||
|
||||
Reference in New Issue
Block a user