Hmm. As i see if i replace all const char * to char * alld compiles fine. Why cython 0.17.3 get errors when used const char *? diff --git a/include/efl.evas.pxd b/include/efl.evas.pxd index 8b60a5e..0b619b2 100644 --- a/include/efl.evas.pxd +++ b/include/efl.evas.pxd @@ -825,10 +825,10 @@ cdef extern from "Evas.h": 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, char *font_source) + char *evas_object_textgrid_font_source_get(const_Evas_Object *obj) + void evas_object_textgrid_font_set(Evas_Object *obj, char *font_name, Evas_Font_Size font_size) + void evas_object_textgrid_font_get(const_Evas_Object *obj, 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 +836,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, 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) 2013/4/9 Vasiliy Tolstov <v.tols...@selfip.ru>: > Any other versions about errors? > > 2013/4/9 Vasiliy Tolstov <v.tols...@selfip.ru>: >> >> 09.04.2013 3:44 пользователь "Davide Andreoli" <d...@gurumeditation.it> >> написал: >> >> >>> >>> 2013/4/8 Vasiliy Tolstov <v.tols...@selfip.ru> >>> >>> > I'm try to compile python-efl, but get error when compile via cython. >>> > Readme says that python compile also possible, but setup.py contain >>> > check and exists ahen compile not it cython. >>> > >>> >>> Seems to me you have an old cython, need at least version 0.17.3. >>> >>> to compile (both cython and python-efl) just run: >>> python setup.py install (as root, or using sudo) >>> >>> >> >> I have exactly this version of cython >> >>> >>> > My error is: >>> > >>> > Compiling efl/elementary/window.pyx because it changed. >>> > Cythonizing efl/edje/efl.edje.pyx >>> > >>> > Error compiling Cython file: >>> > ------------------------------------------------------------ >>> > ... >>> > 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) */ >>> > >>> > 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) >>> > >>> > ^ >>> > ------------------------------------------------------------ >>> > >>> > include/efl.evas.pxd:828:75: Expected ')', found '*' >>> > Traceback (most recent call last): >>> > File "setup.py", line 232, in <module> >>> > ext_modules = cythonize(modules, include_path=["include"]), >>> > File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", >>> > line 667, in cythonize >>> > cythonize_one(*args[1:]) >>> > File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", >>> > line 731, in cythonize_one >>> > raise CompileError(None, pyx_file) >>> > Cython.Compiler.Errors.CompileError: efl/edje/efl.edje.pyx >>> > >>> > >>> > -- >>> > Vasiliy Tolstov, >>> > e-mail: v.tols...@selfip.ru >>> > jabber: v...@selfip.ru >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Minimize network downtime and maximize team effectiveness. >>> > Reduce network management and security costs.Learn how to hire >>> > the most talented Cisco Certified professionals. Visit the >>> > Employer Resources Portal >>> > http://www.cisco.com/web/learning/employer_resources/index.html >>> > _______________________________________________ >>> > enlightenment-devel mailing list >>> > enlightenment-devel@lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >>> > >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> _______________________________________________ >>> enlightenment-devel mailing list >>> enlightenment-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > -- > Vasiliy Tolstov, > e-mail: v.tols...@selfip.ru > jabber: v...@selfip.ru -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ------------------------------------------------------------------------------ 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 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel