ector: fixed Windows OS compilation.
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 2 Dec 2016 05:54:53 +0000 (14:54 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 07:23:57 +0000 (16:23 +0900)
uint causes build break on Windows.

Change-Id: Id1c1e229583ac6e0c0b1f541808ee13746490a57
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/ector/gl/ector_gl_private.h
src/lib/ector/gl/ector_gl_surface.eo

index 67053d2..145730b 100644 (file)
@@ -61,7 +61,7 @@ struct _Ector_Renderer_Gl_Gradient_Data
       Ector_Renderer_Generic_Gradient_Radial_Data *grd;
    };
    Eina_Bool alpha;
-   uint* color_table;
+   uint32_t* color_table;
 };
 
 #endif
index 6c59c5d..c600c80 100644 (file)
@@ -10,9 +10,9 @@ class Ector.Gl.Surface (Ector.Generic.Surface)
          }
          values {
             pixels: void *;
-            width: uint;
-            height: uint;
-            stride: uint;
+            width: uint32_t;
+            height: uint32_t;
+            stride: uint32_t;
          }
       }
       offset {
@@ -24,17 +24,17 @@ class Ector.Gl.Surface (Ector.Generic.Surface)
       path_fill {
         params {
           vertex:float *;
-          vertex_count: uint;
+          vertex_count: uint32_t;
           stops: int *;
-          stop_count: uint;
-          color: uint;
+          stop_count: uint32_t;
+          color: uint32_t;
         }
       }
       path_stroke {
         params {
           vertex:float *;
-          vertex_count: uint;
-          color: uint;
+          vertex_count: uint32_t;
+          color: uint32_t;
         }
       }
    }