summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-01-02 13:25:44 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-01-02 13:25:44 +0100
commit08170d1fd42a57c24b47a853a1b1cc28de183828 (patch)
tree693a9e76130d8bb6cd7a7c2f396a423fefc09d7b /efl
parent1a3fa101e1d84528533af96023bb8f2d2500897a (diff)
Disable evas.SmartObject to workaround Cython brakage.
SmartObject do work fully in real, thay probably need a full rewrite, so this should not harm at all. Also disabled tests and examples
Diffstat (limited to 'efl')
-rw-r--r--efl/evas/efl.evas.pyx4
-rw-r--r--efl/evas/efl.evas_object_image.pxi2
2 files changed, 5 insertions, 1 deletions
diff --git a/efl/evas/efl.evas.pyx b/efl/evas/efl.evas.pyx
index fc96dd0..d989aaa 100644
--- a/efl/evas/efl.evas.pyx
+++ b/efl/evas/efl.evas.pyx
@@ -350,7 +350,9 @@ include "efl.evas_canvas.pxi"
350include "efl.evas_object_events.pxi" 350include "efl.evas_object_events.pxi"
351include "efl.evas_object_callbacks.pxi" 351include "efl.evas_object_callbacks.pxi"
352include "efl.evas_object.pxi" 352include "efl.evas_object.pxi"
353include "efl.evas_object_smart.pxi" 353# Disable evas smart object for the moment, because PyMethod_New is broken
354# in recent Cython versions, at least in Cython 0.21.1/2 using py3.
355# include "efl.evas_object_smart.pxi"
354include "efl.evas_object_image.pxi" 356include "efl.evas_object_image.pxi"
355include "efl.evas_object_line.pxi" 357include "efl.evas_object_line.pxi"
356include "efl.evas_object_rectangle.pxi" 358include "efl.evas_object_rectangle.pxi"
diff --git a/efl/evas/efl.evas_object_image.pxi b/efl/evas/efl.evas_object_image.pxi
index f4977d9..e77f418 100644
--- a/efl/evas/efl.evas_object_image.pxi
+++ b/efl/evas/efl.evas_object_image.pxi
@@ -15,6 +15,8 @@
15# You should have received a copy of the GNU Lesser General Public License 15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. 16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17 17
18from cpython cimport PyObject
19
18cdef extern from "Python.h": 20cdef extern from "Python.h":
19 PyObject * PyMemoryView_FromBuffer(Py_buffer *info) 21 PyObject * PyMemoryView_FromBuffer(Py_buffer *info)
20 22