Replace usage of inline proc with #force_inline proc in the core library

This commit is contained in:
gingerBill
2021-02-23 16:14:47 +00:00
parent 41b854f192
commit aa93305015
26 changed files with 182 additions and 182 deletions
+1 -1
View File
@@ -690,7 +690,7 @@ foreign kernel32 {
NUMA_NO_PREFERRED_NODE :: 0xffffffff;
MapViewOfFile2 :: inline proc(
MapViewOfFile2 :: #force_inline proc(
FileMappingHandle: HANDLE,
ProcessHandle: HANDLE,
Offset: ULONG64,
+2 -2
View File
@@ -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);
}