summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-23 14:59:40 +0000
committerTom Hacohen <tom@stosb.com>2016-03-23 15:00:16 +0000
commit2583246997df9875f94ff9334b8f736aaa1d57c0 (patch)
tree67fb239569cc84c448001804447362e6672567c2 /src/lib/ector
parent13ae9992119af5f8f3c4886bc56449c6e69f9dc5 (diff)
Ector: add ector_types.eot for ector type definitions.
This fixes the GLShort duplicate declaration.
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/ector_types.eot2
-rw-r--r--src/lib/ector/gl/ector_gl_surface.eo2
-rw-r--r--src/lib/ector/gl/ector_renderer_gl_base.eo2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/ector/ector_types.eot b/src/lib/ector/ector_types.eot
new file mode 100644
index 0000000000..c142a6a513
--- /dev/null
+++ b/src/lib/ector/ector_types.eot
@@ -0,0 +1,2 @@
1type @extern GLshort: short; /* FIXME: We should not expose this in the API but probably redefine it. */
2
diff --git a/src/lib/ector/gl/ector_gl_surface.eo b/src/lib/ector/gl/ector_gl_surface.eo
index e500514135..e3585cd64a 100644
--- a/src/lib/ector/gl/ector_gl_surface.eo
+++ b/src/lib/ector/gl/ector_gl_surface.eo
@@ -1,4 +1,4 @@
1type @extern GLshort: short; /* FIXME: We should not expose this in the API but probably redefine it. */ 1import ector_types;
2 2
3class Ector.GL.Surface (Ector.GL.Buffer, Ector.Generic.Surface) 3class Ector.GL.Surface (Ector.GL.Buffer, Ector.Generic.Surface)
4{ 4{
diff --git a/src/lib/ector/gl/ector_renderer_gl_base.eo b/src/lib/ector/gl/ector_renderer_gl_base.eo
index 39c4789cb7..fa1e426fa1 100644
--- a/src/lib/ector/gl/ector_renderer_gl_base.eo
+++ b/src/lib/ector/gl/ector_renderer_gl_base.eo
@@ -1,4 +1,4 @@
1type @extern GLshort: short; /* FIXME: We should not expose this in the API but probably redefine it. */ 1import ector_types;
2 2
3abstract Ector.Renderer.GL.Base (Ector.Renderer.Generic.Base) 3abstract Ector.Renderer.GL.Base (Ector.Renderer.Generic.Base)
4{ 4{