mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-05 12:34:47 +00:00
Syntax: Replace foreign_system_library "kernel.lib" to foreign_library "system:kernel.lib"; Remove keyword: foreign_system_library
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
when ODIN_OS == "windows" {
|
||||
foreign_system_library "opengl32.lib"
|
||||
foreign_library "system:opengl32.lib"
|
||||
}
|
||||
using import "core:sys/windows.odin"
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
when 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 "shell32.lib"
|
||||
foreign_library "system:kernel32.lib"
|
||||
foreign_library "system:user32.lib"
|
||||
foreign_library "system:gdi32.lib"
|
||||
foreign_library "system:winmm.lib"
|
||||
foreign_library "system:shell32.lib"
|
||||
}
|
||||
|
||||
Handle :: rawptr;
|
||||
|
||||
Reference in New Issue
Block a user