瀏覽代碼

Make types `distinct`

gingerBill 1 年之前
父節點
當前提交
e423a6d692
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      vendor/egl/egl.odin

+ 6 - 6
vendor/egl/egl.odin

@@ -1,12 +1,12 @@
 //+build linux
 package egl
 
-NativeDisplayType :: rawptr
-NativeWindowType  :: rawptr
-Display :: rawptr
-Surface :: rawptr
-Config  :: rawptr
-Context :: rawptr
+NativeDisplayType :: distinct rawptr
+NativeWindowType  :: distinct rawptr
+Display :: distinct rawptr
+Surface :: distinct rawptr
+Config  :: distinct rawptr
+Context :: distinct rawptr
 
 NO_DISPLAY :: Display(uintptr(0))
 NO_CONTEXT :: Context(uintptr(0))