Use const & for Array<AstNode *> parameters

This commit is contained in:
gingerBill
2018-06-03 10:30:31 +01:00
parent 6202fb8373
commit 12b870ba66
13 changed files with 41 additions and 48 deletions
+2 -4
View File
@@ -1,9 +1,7 @@
// +build windows
package win32
// when ODIN_OS == "windows" {
foreign import "system:opengl32.lib"
// }
foreign import "system:opengl32.lib"
CONTEXT_MAJOR_VERSION_ARB :: 0x2091;
CONTEXT_MINOR_VERSION_ARB :: 0x2092;
+6 -7
View File
@@ -1,12 +1,11 @@
// +build windows
package win32
// 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"
// }
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;