forked from enlightenment/efl
ector: fix redefinition of type and bizarre typedef
Maybe there is a trick here I am not aware of, but redefining a type as itself seems a mistake to me. This raised a warning anyway. Now it's gone.
This commit is contained in:
parent
3a63eacbcb
commit
37adb060dd
|
@ -3,14 +3,18 @@
|
||||||
|
|
||||||
#include <Ector.h>
|
#include <Ector.h>
|
||||||
|
|
||||||
#include "ector_buffer.eo.h"
|
|
||||||
#include "software/ector_software_buffer_base.eo.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef Ector_Buffer
|
* @typedef Ector_Buffer
|
||||||
* A generic pixel buffer type (2D). May be readable or writeable or both.
|
* A generic pixel buffer type (2D). May be readable or writeable or both.
|
||||||
*/
|
*/
|
||||||
typedef Ector_Buffer Ector_Buffer;
|
typedef Eo Ector_Buffer;
|
||||||
|
|
||||||
|
/* Avoid type redefinition */
|
||||||
|
#define _ECTOR_BUFFER_EO_CLASS_TYPE
|
||||||
|
|
||||||
|
#include "ector_buffer.eo.h"
|
||||||
|
#include "software/ector_software_buffer_base.eo.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct _Ector_Buffer_Data Ector_Buffer_Data;
|
typedef struct _Ector_Buffer_Data Ector_Buffer_Data;
|
||||||
typedef struct _Ector_Software_Buffer_Base_Data Ector_Software_Buffer_Base_Data;
|
typedef struct _Ector_Software_Buffer_Base_Data Ector_Software_Buffer_Base_Data;
|
||||||
|
|
Loading…
Reference in New Issue