Ector: add ector_types.eot for ector type definitions.

This fixes the GLShort duplicate declaration.
This commit is contained in:
Tom Hacohen 2016-03-23 14:59:40 +00:00
parent 13ae999211
commit 2583246997
4 changed files with 11 additions and 4 deletions

View File

@ -44,14 +44,19 @@ ector_eolian_files_gl = \
lib/ector/gl/ector_renderer_gl_gradient_linear.eo
ector_eolian_gl_h = $(ector_eolian_files_gl:%.eo=%.eo.h)
ector_eolian_type_files = \
lib/ector/ector_types.eot
ector_eolian_files = \
$(ector_eolian_files_generic) \
$(ector_eolian_files_cairo) \
$(ector_eolian_files_software) \
$(ector_eolian_files_gl)
$(ector_eolian_files_gl) \
$(ector_eolian_type_files)
ector_eolian_c = $(ector_eolian_files:%.eo=%.eo.c)
ector_eolian_h = $(ector_eolian_files:%.eo=%.eo.h)
ector_eolian_h = $(ector_eolian_files:%.eo=%.eo.h) \
$(ector_eolian_type_files:%.eot=%.eot.h)
BUILT_SOURCES += \
$(ector_eolian_c) \

View File

@ -0,0 +1,2 @@
type @extern GLshort: short; /* FIXME: We should not expose this in the API but probably redefine it. */

View File

@ -1,4 +1,4 @@
type @extern GLshort: short; /* FIXME: We should not expose this in the API but probably redefine it. */
import ector_types;
class Ector.GL.Surface (Ector.GL.Buffer, Ector.Generic.Surface)
{

View File

@ -1,4 +1,4 @@
type @extern GLshort: short; /* FIXME: We should not expose this in the API but probably redefine it. */
import ector_types;
abstract Ector.Renderer.GL.Base (Ector.Renderer.Generic.Base)
{