Skip to content

Commit 1ba478b

Browse files
committed
Fix warnings
This is a termporary fix for #416 - not sure if these aliases are actually needed :/
1 parent 22c12e5 commit 1ba478b

File tree

1 file changed

+8
-0
lines changed
  • gl_generator/generators/templates/types

1 file changed

+8
-0
lines changed

gl_generator/generators/templates/types/egl.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
// platform-specific aliases are unknown
22
// IMPORTANT: these are alises to the same level of the bindings
33
// the values must be defined by the user
4+
#[allow(dead_code)]
45
pub type khronos_utime_nanoseconds_t = super::khronos_utime_nanoseconds_t;
6+
#[allow(dead_code)]
57
pub type khronos_uint64_t = super::khronos_uint64_t;
8+
#[allow(dead_code)]
69
pub type khronos_ssize_t = super::khronos_ssize_t;
710
pub type EGLNativeDisplayType = super::EGLNativeDisplayType;
11+
#[allow(dead_code)]
812
pub type EGLNativePixmapType = super::EGLNativePixmapType;
13+
#[allow(dead_code)]
914
pub type EGLNativeWindowType = super::EGLNativeWindowType;
1015
pub type EGLint = super::EGLint;
16+
#[allow(dead_code)]
1117
pub type NativeDisplayType = super::NativeDisplayType;
18+
#[allow(dead_code)]
1219
pub type NativePixmapType = super::NativePixmapType;
20+
#[allow(dead_code)]
1321
pub type NativeWindowType = super::NativeWindowType;
1422

1523
// EGL alises

0 commit comments

Comments
 (0)