mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Replace usage of inline proc with #force_inline proc in the core library
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package sys_windows
|
||||
|
||||
LOWORD :: inline proc "contextless" (x: DWORD) -> WORD {
|
||||
LOWORD :: #force_inline proc "contextless" (x: DWORD) -> WORD {
|
||||
return WORD(x & 0xffff);
|
||||
}
|
||||
|
||||
HIWORD :: inline proc "contextless" (x: DWORD) -> WORD {
|
||||
HIWORD :: #force_inline proc "contextless" (x: DWORD) -> WORD {
|
||||
return WORD(x >> 16);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user