mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-11 05:41:25 -07:00
Only check files that have been truly imported.
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@
|
||||
Type_Info_Member :: struct #ordered {
|
||||
name: string, // can be empty if tuple
|
||||
type_info: ^Type_Info,
|
||||
offset: int, // offsets are not used in tuples
|
||||
offset: int, // offsets may not be used in tuples
|
||||
}
|
||||
Type_Info_Record :: struct #ordered {
|
||||
fields: []Type_Info_Member,
|
||||
@@ -83,7 +83,7 @@ Type_Info :: union {
|
||||
count: int,
|
||||
align: int,
|
||||
},
|
||||
Tuple: Type_Info_Record,
|
||||
Tuple: Type_Info_Record, // Only really used for procedures
|
||||
Struct: Type_Info_Record,
|
||||
Union: Type_Info_Record,
|
||||
Raw_Union: Type_Info_Record,
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
_ := compile_assert(ODIN_OS == "windows");
|
||||
#foreign_system_library "kernel32.lib";
|
||||
#foreign_system_library "user32.lib";
|
||||
#foreign_system_library "gdi32.lib";
|
||||
#foreign_system_library "winmm.lib";
|
||||
#foreign_system_library "opengl32.lib";
|
||||
#foreign_system_library "kernel32.lib" when ODIN_OS == "windows";
|
||||
#foreign_system_library "user32.lib" when ODIN_OS == "windows";
|
||||
#foreign_system_library "gdi32.lib" when ODIN_OS == "windows";
|
||||
#foreign_system_library "winmm.lib" when ODIN_OS == "windows";
|
||||
#foreign_system_library "opengl32.lib" when ODIN_OS == "windows";
|
||||
|
||||
HANDLE :: rawptr;
|
||||
HWND :: HANDLE;
|
||||
|
||||
Reference in New Issue
Block a user