mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Make types distinct
This commit is contained in:
Vendored
+6
-6
@@ -1,12 +1,12 @@
|
|||||||
//+build linux
|
//+build linux
|
||||||
package egl
|
package egl
|
||||||
|
|
||||||
NativeDisplayType :: rawptr
|
NativeDisplayType :: distinct rawptr
|
||||||
NativeWindowType :: rawptr
|
NativeWindowType :: distinct rawptr
|
||||||
Display :: rawptr
|
Display :: distinct rawptr
|
||||||
Surface :: rawptr
|
Surface :: distinct rawptr
|
||||||
Config :: rawptr
|
Config :: distinct rawptr
|
||||||
Context :: rawptr
|
Context :: distinct rawptr
|
||||||
|
|
||||||
NO_DISPLAY :: Display(uintptr(0))
|
NO_DISPLAY :: Display(uintptr(0))
|
||||||
NO_CONTEXT :: Context(uintptr(0))
|
NO_CONTEXT :: Context(uintptr(0))
|
||||||
|
|||||||
Reference in New Issue
Block a user