davemds pushed a commit to branch master.
commit 963fd049a780768ecdc3b295db9f9b74b2e24ad3
Author: davemds <[email protected]>
Date: Tue Apr 9 22:08:56 2013 +0200
Python-EFL: unbreak compilation with cython 0.17.3
SPANK goes to kuuko! you should stay on the base version we
support, to avoid errors like this... you know that "const" is
a 0.18 feature.
---
include/efl.evas.pxd | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/include/efl.evas.pxd b/include/efl.evas.pxd
index 8b60a5e..fd54252 100644
--- a/include/efl.evas.pxd
+++ b/include/efl.evas.pxd
@@ -822,13 +822,15 @@ cdef extern from "Evas.h":
unsigned short bg_extended # whether the extended palette is used
for the background color */
unsigned short double_width # if the codepoint is merged with the
following cell to the right visually (cells must be in pairs with 2nd cell
being a duplicate in all ways except codepoint is 0) */
+ ctypedef Evas_Textgrid_Cell const_Evas_Textgrid_Cell "const
Evas_Textgrid_Cell"
+
Evas_Object *evas_object_textgrid_add(Evas *e)
void evas_object_textgrid_size_set(Evas_Object *obj, int w, int h)
void evas_object_textgrid_size_get(const_Evas_Object *obj, int *w, int *h)
- void evas_object_textgrid_font_source_set(Evas_Object *obj, const char
*font_source)
- const char *evas_object_textgrid_font_source_get(const_Evas_Object *obj)
- void evas_object_textgrid_font_set(Evas_Object *obj, const char
*font_name, Evas_Font_Size font_size)
- void evas_object_textgrid_font_get(const_Evas_Object *obj, const char
**font_name, Evas_Font_Size *font_size)
+ void evas_object_textgrid_font_source_set(Evas_Object *obj, const_char
*font_source)
+ const_char *evas_object_textgrid_font_source_get(const_Evas_Object *obj)
+ void evas_object_textgrid_font_set(Evas_Object *obj, const_char
*font_name, Evas_Font_Size font_size)
+ void evas_object_textgrid_font_get(const_Evas_Object *obj, const_char
**font_name, Evas_Font_Size *font_size)
void evas_object_textgrid_cell_size_get(const_Evas_Object *obj, Evas_Coord
*w, Evas_Coord *h)
void evas_object_textgrid_palette_set(Evas_Object *obj,
Evas_Textgrid_Palette pal, int idx, int r, int g, int b, int a)
void evas_object_textgrid_palette_get(const_Evas_Object *obj,
Evas_Textgrid_Palette pal, int idx, int *r, int *g, int *b, int *a)
@@ -836,7 +838,7 @@ cdef extern from "Evas.h":
void evas_object_textgrid_supported_font_styles_set(Evas_Object *obj,
Evas_Textgrid_Font_Style styles)
Evas_Textgrid_Font_Style
evas_object_textgrid_supported_font_styles_get(const_Evas_Object *obj)
- void evas_object_textgrid_cellrow_set(Evas_Object *obj, int y, const
Evas_Textgrid_Cell *row)
+ void evas_object_textgrid_cellrow_set(Evas_Object *obj, int y,
const_Evas_Textgrid_Cell *row)
Evas_Textgrid_Cell *evas_object_textgrid_cellrow_get(const_Evas_Object
*obj, int y)
void evas_object_textgrid_update_add(Evas_Object *obj, int x, int y, int
w, int h)
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter