mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Add basic package support (no IR support yet)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package win32
|
||||
|
||||
when ODIN_OS == "windows" {
|
||||
// when ODIN_OS == "windows" {
|
||||
foreign import "system:opengl32.lib"
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
CONTEXT_MAJOR_VERSION_ARB :: 0x2091;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package win32
|
||||
|
||||
when ODIN_OS == "windows" {
|
||||
// when ODIN_OS == "windows" {
|
||||
foreign import "system:kernel32.lib"
|
||||
foreign import "system:user32.lib"
|
||||
foreign import "system:gdi32.lib"
|
||||
foreign import "system:winmm.lib"
|
||||
foreign import "system:shell32.lib"
|
||||
}
|
||||
// }
|
||||
|
||||
Handle :: distinct rawptr;
|
||||
Hwnd :: distinct Handle;
|
||||
|
||||
Reference in New Issue
Block a user