Ector gl surface: Fix Eolian warnings.
authorTom Hacohen <tom@stosb.com>
Fri, 12 Feb 2016 14:25:44 +0000 (14:25 +0000)
committerTom Hacohen <tom@stosb.com>
Fri, 12 Feb 2016 14:29:27 +0000 (14:29 +0000)
This includes either migrating types to eolian, fixing namespace or
importing extra types.

src/lib/ector/gl/ector_gl_surface.eo

index 31e6657..e500514 100644 (file)
@@ -1,3 +1,5 @@
+type @extern GLshort: short; /* FIXME: We should not expose this in the API but probably redefine it. */
+
 class Ector.GL.Surface (Ector.GL.Buffer, Ector.Generic.Surface)
 {
    eo_prefix: ector_gl_surface;
@@ -6,13 +8,13 @@ class Ector.GL.Surface (Ector.GL.Buffer, Ector.Generic.Surface)
       shader_get {
          return: uint;
          params {
-            @in flags: uint64_t;
+            @in flags: uint64;
          }
       }
       push {
          return: bool;
         params {
-           @in flags: uint64_t;
+           @in flags: uint64;
            @in vertex: GLshort *;
            @in vertex_count: uint;
            @in mul_col: uint;