This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository python-efl.
View the commit online.
commit 6370d24d95f02976d2d9115222595129edabf9d4
Author: Dave Andreoli <d...@gurumeditation.it>
AuthorDate: Thu Aug 14 20:34:41 2025 +0200
Fix build with recent Cython version
---
efl/dbus_mainloop/efl.dbus_mainloop.pyx | 2 +-
efl/ecore/efl.ecore.pyx | 2 +-
efl/ecore/efl.ecore_animator.pxi | 2 +-
efl/ecore/efl.ecore_events.pxi | 4 +-
efl/ecore/efl.ecore_exe.pxi | 4 +-
efl/ecore/efl.ecore_fd_handler.pxi | 4 +-
efl/ecore/efl.ecore_file_download.pxi | 4 +-
efl/ecore/efl.ecore_file_monitor.pxi | 2 +-
efl/ecore_con/efl.ecore_con.pyx | 2 +-
efl/ecore_con/efl.ecore_con_lookup.pxi | 2 +-
efl/ecore_input/efl.ecore_input_events.pxi | 2 +-
efl/edje/efl.edje_object.pxi | 6 +--
efl/elementary/cnp_callbacks.pxi | 20 ++++-----
efl/elementary/entry.pxi | 4 +-
efl/elementary/fileselector.pxi | 2 +-
efl/elementary/gengrid.pxi | 12 ++---
efl/elementary/genlist.pxi | 16 +++----
efl/elementary/gesture_layer.pxi | 10 ++---
efl/elementary/index.pxi | 4 +-
efl/elementary/layout.pxi | 2 +-
efl/elementary/map.pxi | 8 ++--
efl/elementary/multibuttonentry.pxi | 6 +--
efl/elementary/naviframe.pxi | 2 +-
efl/elementary/object.pxi | 8 ++--
efl/elementary/object_item.pxi | 10 ++---
efl/elementary/slideshow.pxi | 6 +--
efl/elementary/toolbar.pxi | 2 +-
efl/elementary/transit.pxi | 6 +--
efl/elementary/web.pxi | 2 +-
efl/emotion/efl.emotion.pyx | 2 +-
efl/eo/efl.eo.pyx | 2 +-
efl/ethumb/efl.ethumb.pyx | 4 +-
efl/ethumb/efl.ethumb_client.pyx | 10 ++---
efl/evas/efl.evas_canvas_callbacks.pxi | 72 +++++++++++++++---------------
efl/evas/efl.evas_object.pxi | 2 +-
efl/evas/efl.evas_object_callbacks.pxi | 72 +++++++++++++++---------------
efl/evas/efl.evas_object_image.pxi | 2 +-
efl/evas/efl.evas_object_smart.pxi | 24 +++++-----
efl/utils/logger.pyx | 2 +-
39 files changed, 174 insertions(+), 174 deletions(-)
diff --git a/efl/dbus_mainloop/efl.dbus_mainloop.pyx b/efl/dbus_mainloop/efl.dbus_mainloop.pyx
index 337129b..74ad152 100644
--- a/efl/dbus_mainloop/efl.dbus_mainloop.pyx
+++ b/efl/dbus_mainloop/efl.dbus_mainloop.pyx
@@ -25,7 +25,7 @@ import dbus
import dbus.mainloop
import atexit
-cdef dbus_bool_t dbus_py_ecore_set_up_conn(DBusConnection *conn, void *data) with gil:
+cdef dbus_bool_t dbus_py_ecore_set_up_conn(DBusConnection *conn, void *data) noexcept with gil:
e_dbus_connection_setup(conn)
return True
diff --git a/efl/ecore/efl.ecore.pyx b/efl/ecore/efl.ecore.pyx
index 8b89026..f4cc40d 100644
--- a/efl/ecore/efl.ecore.pyx
+++ b/efl/ecore/efl.ecore.pyx
@@ -332,7 +332,7 @@ ECORE_FILE_PROGRESS_CONTINUE = enums.ECORE_FILE_PROGRESS_CONTINUE
ECORE_FILE_PROGRESS_ABORT = enums.ECORE_FILE_PROGRESS_ABORT
-cdef Eina_Bool _ecore_task_cb(void *data) with gil:
+cdef Eina_Bool _ecore_task_cb(void *data) noexcept with gil:
cdef:
Eo obj = <Eo>data
Eina_Bool ret
diff --git a/efl/ecore/efl.ecore_animator.pxi b/efl/ecore/efl.ecore_animator.pxi
index da40412..4f7591e 100644
--- a/efl/ecore/efl.ecore_animator.pxi
+++ b/efl/ecore/efl.ecore_animator.pxi
@@ -98,7 +98,7 @@ cdef class Animator(Eo):
self.delete()
-cdef Eina_Bool _ecore_timeline_cb(void *data, double pos) with gil:
+cdef Eina_Bool _ecore_timeline_cb(void *data, double pos) noexcept with gil:
assert data != NULL
cdef:
AnimatorTimeline obj = <AnimatorTimeline>data
diff --git a/efl/ecore/efl.ecore_events.pxi b/efl/ecore/efl.ecore_events.pxi
index bc96f50..75f38b0 100644
--- a/efl/ecore/efl.ecore_events.pxi
+++ b/efl/ecore/efl.ecore_events.pxi
@@ -35,7 +35,7 @@ cdef object _event_mapping_get(int type):
return _event_type_mapping.get(type)
-cdef Eina_Bool event_handler_cb(void *data, int type, void *event) with gil:
+cdef Eina_Bool event_handler_cb(void *data, int type, void *event) noexcept with gil:
cdef EventHandler handler
cdef Eina_Bool r
@@ -323,7 +323,7 @@ def event_type_new(cls):
return type
-cdef void _event_free_cb(void *data, void *event) with gil:
+cdef void _event_free_cb(void *data, void *event) noexcept with gil:
cdef QueuedEvent ev
ev = <QueuedEvent>data
diff --git a/efl/ecore/efl.ecore_exe.pxi b/efl/ecore/efl.ecore_exe.pxi
index fcc28f8..a844e4c 100644
--- a/efl/ecore/efl.ecore_exe.pxi
+++ b/efl/ecore/efl.ecore_exe.pxi
@@ -50,7 +50,7 @@ cdef exe_flags2str(int value):
return ", ".join(flags)
-cdef Eina_Bool _exe_event_filter_cb(void *data, int type, void *event) with gil:
+cdef Eina_Bool _exe_event_filter_cb(void *data, int type, void *event) noexcept with gil:
cdef:
ExeEventFilter self = <ExeEventFilter>data
Ecore_Exe_Event_Add *e_add
@@ -157,7 +157,7 @@ cdef object _ecore_exe_event_mapping
_ecore_exe_event_mapping = {}
-cdef void _ecore_exe_pre_free_cb(void *data, const Ecore_Exe *exe) with gil:
+cdef void _ecore_exe_pre_free_cb(void *data, const Ecore_Exe *exe) noexcept with gil:
cdef Exe obj
try:
if data == NULL:
diff --git a/efl/ecore/efl.ecore_fd_handler.pxi b/efl/ecore/efl.ecore_fd_handler.pxi
index 6ee02c0..ce3124a 100644
--- a/efl/ecore/efl.ecore_fd_handler.pxi
+++ b/efl/ecore/efl.ecore_fd_handler.pxi
@@ -16,7 +16,7 @@
# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
-cdef void fd_handler_prepare_cb(void *data, Ecore_Fd_Handler *fdh) with gil:
+cdef void fd_handler_prepare_cb(void *data, Ecore_Fd_Handler *fdh) noexcept with gil:
cdef FdHandler obj = <FdHandler>data
cdef int r
@@ -40,7 +40,7 @@ cdef flags2str(int value):
return ", ".join(flags)
-cdef Eina_Bool fd_handler_cb(void *data, Ecore_Fd_Handler *fdh) with gil:
+cdef Eina_Bool fd_handler_cb(void *data, Ecore_Fd_Handler *fdh) noexcept with gil:
cdef FdHandler obj = <FdHandler>data
cdef Eina_Bool r
diff --git a/efl/ecore/efl.ecore_file_download.pxi b/efl/ecore/efl.ecore_file_download.pxi
index 4aec153..994e2cb 100644
--- a/efl/ecore/efl.ecore_file_download.pxi
+++ b/efl/ecore/efl.ecore_file_download.pxi
@@ -17,7 +17,7 @@
from cpython cimport PyUnicode_AsUTF8String
-cdef void _completion_cb(void *data, const char *file, int status) with gil:
+cdef void _completion_cb(void *data, const char *file, int status) noexcept with gil:
obj = <FileDownload>data
try:
obj._exec_completion(file, status)
@@ -25,7 +25,7 @@ cdef void _completion_cb(void *data, const char *file, int status) with gil:
traceback.print_exc()
cdef int _progress_cb(void *data, const char *file, long int dltotal,
- long int dlnow, long int ultotal, long int ulnow) with gil:
+ long int dlnow, long int ultotal, long int ulnow) noexcept with gil:
obj = <FileDownload>data
try:
return obj._exec_progress(file, dltotal, dlnow, ultotal, ulnow)
diff --git a/efl/ecore/efl.ecore_file_monitor.pxi b/efl/ecore/efl.ecore_file_monitor.pxi
index 45158b9..1616570 100644
--- a/efl/ecore/efl.ecore_file_monitor.pxi
+++ b/efl/ecore/efl.ecore_file_monitor.pxi
@@ -18,7 +18,7 @@
from cpython cimport PyUnicode_AsUTF8String
-cdef void _file_monitor_cb(void *data, Ecore_File_Monitor *em, Ecore_File_Event event, const char *path) with gil:
+cdef void _file_monitor_cb(void *data, Ecore_File_Monitor *em, Ecore_File_Event event, const char *path) noexcept with gil:
obj = <FileMonitor>data
try:
obj._exec_monitor(event, path)
diff --git a/efl/ecore_con/efl.ecore_con.pyx b/efl/ecore_con/efl.ecore_con.pyx
index 6aaf544..45cf021 100644
--- a/efl/ecore_con/efl.ecore_con.pyx
+++ b/efl/ecore_con/efl.ecore_con.pyx
@@ -238,7 +238,7 @@ def shutdown():
ecore_con_shutdown()
-cdef Eina_Bool _con_event_filter_cb(void *data, int ev_type, void *ev) with gil:
+cdef Eina_Bool _con_event_filter_cb(void *data, int ev_type, void *ev) noexcept with gil:
cdef:
ConEventFilter filter = <ConEventFilter>data
object event_cls
diff --git a/efl/ecore_con/efl.ecore_con_lookup.pxi b/efl/ecore_con/efl.ecore_con_lookup.pxi
index dc66c0b..479cdeb 100644
--- a/efl/ecore_con/efl.ecore_con_lookup.pxi
+++ b/efl/ecore_con/efl.ecore_con_lookup.pxi
@@ -16,7 +16,7 @@
# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
-cdef void _con_dns_lookup_cb(const char *canonname, const char *ip, sockaddr *sockaddr, int addrlen, void *data) with gil:
+cdef void _con_dns_lookup_cb(const char *canonname, const char *ip, sockaddr *sockaddr, int addrlen, void *data) noexcept with gil:
cdef Lookup self = <Lookup>data
try:
diff --git a/efl/ecore_input/efl.ecore_input_events.pxi b/efl/ecore_input/efl.ecore_input_events.pxi
index 1c5268a..b269256 100644
--- a/efl/ecore_input/efl.ecore_input_events.pxi
+++ b/efl/ecore_input/efl.ecore_input_events.pxi
@@ -56,7 +56,7 @@ cdef int _ecore_input_events_register() except 0:
return 1
-cdef Eina_Bool _input_event_handler_cb(void *data, int type, void *event) with gil:
+cdef Eina_Bool _input_event_handler_cb(void *data, int type, void *event) noexcept with gil:
cdef EventHandler handler
cdef Eina_Bool r
diff --git a/efl/edje/efl.edje_object.pxi b/efl/edje/efl.edje_object.pxi
index 4409a7b..4d365e6 100644
--- a/efl/edje/efl.edje_object.pxi
+++ b/efl/edje/efl.edje_object.pxi
@@ -19,7 +19,7 @@ from efl.evas cimport Object
cdef void text_change_cb(void *data,
Evas_Object *obj,
- const char *part) with gil:
+ const char *part) noexcept with gil:
cdef Edje self
self = <Edje>data
if self._text_change_cb is None:
@@ -34,7 +34,7 @@ cdef void text_change_cb(void *data,
cdef void message_handler_cb(void *data,
Evas_Object *obj,
Edje_Message_Type type,
- int id, void *msg) with gil:
+ int id, void *msg) noexcept with gil:
cdef Edje self
self = <Edje>data
if self._message_handler_cb is None:
@@ -47,7 +47,7 @@ cdef void message_handler_cb(void *data,
cdef void signal_cb(void *data, Evas_Object *obj,
- const char *emission, const char *source) with gil:
+ const char *emission, const char *source) noexcept with gil:
cdef Edje self
self = object_from_instance(obj)
lst = tuple(<object>data)
diff --git a/efl/elementary/cnp_callbacks.pxi b/efl/elementary/cnp_callbacks.pxi
index 8b29de1..132600c 100644
--- a/efl/elementary/cnp_callbacks.pxi
+++ b/efl/elementary/cnp_callbacks.pxi
@@ -90,7 +90,7 @@ cdef class SelectionData(object):
return self.sel_data.action
-cdef Eina_Bool py_elm_drop_cb(void *data, Evas_Object *obj, Elm_Selection_Data *ev) with gil:
+cdef Eina_Bool py_elm_drop_cb(void *data, Evas_Object *obj, Elm_Selection_Data *ev) noexcept with gil:
"""Callback invoked when the selected data is 'dropped' at its destination.
:param data: Application specific data
@@ -116,7 +116,7 @@ cdef Eina_Bool py_elm_drop_cb(void *data, Evas_Object *obj, Elm_Selection_Data *
sd.sel_data = NULL
return ret
-cdef Elm_Object_Item *py_elm_xy_item_get_cb(Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *xposret, int *yposret) with gil:
+cdef Elm_Object_Item *py_elm_xy_item_get_cb(Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *xposret, int *yposret) noexcept with gil:
"""Callback invoked to find out what object is under (x,y) coords
:param obj: The container object
@@ -151,7 +151,7 @@ cdef Elm_Object_Item *py_elm_xy_item_get_cb(Evas_Object *obj, Evas_Coord x, Evas
else:
return NULL
-cdef void py_elm_selection_loss_cb(void *data, Elm_Sel_Type selection) with gil:
+cdef void py_elm_selection_loss_cb(void *data, Elm_Sel_Type selection) noexcept with gil:
"""Callback invoked when the selection ownership for a given selection is lost.
:param data: Application specific data
@@ -165,7 +165,7 @@ cdef void py_elm_selection_loss_cb(void *data, Elm_Sel_Type selection) with gil:
cb_func(selection, cb_data)
cdef Evas_Object *py_elm_drag_icon_create_cb(
- void *data, Evas_Object *win, Evas_Coord *xoff, Evas_Coord *yoff) with gil:
+ void *data, Evas_Object *win, Evas_Coord *xoff, Evas_Coord *yoff) noexcept with gil:
"""Callback called to create a drag icon object
:param data: Application specific data
@@ -209,7 +209,7 @@ cdef Evas_Object *py_elm_drag_icon_create_cb(
return icon.obj
-cdef void py_elm_drag_state_cb(void *data, Evas_Object *obj) with gil:
+cdef void py_elm_drag_state_cb(void *data, Evas_Object *obj) noexcept with gil:
"""Callback called when a drag is finished, enters, or leaves an object
:param data: Application specific data
@@ -228,7 +228,7 @@ cdef void py_elm_drag_state_cb(void *data, Evas_Object *obj) with gil:
except Exception:
traceback.print_exc()
-cdef void py_elm_drag_done_cb(void *data, Evas_Object *obj, Eina_Bool accepted) with gil:
+cdef void py_elm_drag_done_cb(void *data, Evas_Object *obj, Eina_Bool accepted) noexcept with gil:
"""Callback called when a drag is finished.
:param data: Application specific data
@@ -248,7 +248,7 @@ cdef void py_elm_drag_done_cb(void *data, Evas_Object *obj, Eina_Bool accepted)
except Exception:
traceback.print_exc()
-cdef void py_elm_drag_accept_cb(void *data, Evas_Object *obj, Eina_Bool doaccept) with gil:
+cdef void py_elm_drag_accept_cb(void *data, Evas_Object *obj, Eina_Bool doaccept) noexcept with gil:
"""Callback called when a drag is responded to with an accept or deny
:param data: Application specific data
@@ -269,7 +269,7 @@ cdef void py_elm_drag_accept_cb(void *data, Evas_Object *obj, Eina_Bool doaccept
traceback.print_exc()
cdef void py_elm_drag_pos_cb(void *data, Evas_Object *obj,
- Evas_Coord x, Evas_Coord y, Elm_Xdnd_Action action) with gil:
+ Evas_Coord x, Evas_Coord y, Elm_Xdnd_Action action) noexcept with gil:
"""Callback called when a drag is over an object, and gives object-relative coordinates
:param data: Application specific data
@@ -293,7 +293,7 @@ cdef void py_elm_drag_pos_cb(void *data, Evas_Object *obj,
cdef void py_elm_drag_item_container_pos(
void *data, Evas_Object *cont, Elm_Object_Item *it,
Evas_Coord x, Evas_Coord y, int xposret, int yposret,
- Elm_Xdnd_Action action) with gil:
+ Elm_Xdnd_Action action) noexcept with gil:
"""
Callback called when a drag is over an object
@@ -319,7 +319,7 @@ cdef void py_elm_drag_item_container_pos(
cdef Eina_Bool py_elm_drop_item_container_cb(
void *data, Evas_Object *obj, Elm_Object_Item *it,
- Elm_Selection_Data *ev, int xposret, int yposret) with gil:
+ Elm_Selection_Data *ev, int xposret, int yposret) noexcept with gil:
"""
Callback invoked in when the selected data is 'dropped' on container.
diff --git a/efl/elementary/entry.pxi b/efl/elementary/entry.pxi
index 9107b38..ce826e2 100644
--- a/efl/elementary/entry.pxi
+++ b/efl/elementary/entry.pxi
@@ -18,7 +18,7 @@
include "entry_cdef.pxi"
-cdef void _entry_context_menu_callback(void *data, Evas_Object *obj, void *event_info) with gil:
+cdef void _entry_context_menu_callback(void *data, Evas_Object *obj, void *event_info) noexcept with gil:
(callback, a, ka) = <object>data
try:
o = object_from_instance(obj)
@@ -161,7 +161,7 @@ cdef class FilterAcceptSet(object):
def __get__(self):
return _ctouni(self.fltr.rejected)
-cdef void py_elm_entry_filter_cb(void *data, Evas_Object *entry, char **text) with gil:
+cdef void py_elm_entry_filter_cb(void *data, Evas_Object *entry, char **text) noexcept with gil:
"""This callback type is used by entry filters to modify text.
:param data: The data specified as the last param when adding the filter
diff --git a/efl/elementary/fileselector.pxi b/efl/elementary/fileselector.pxi
index 1719885..fb10901 100644
--- a/efl/elementary/fileselector.pxi
+++ b/efl/elementary/fileselector.pxi
@@ -18,7 +18,7 @@
include "fileselector_cdef.pxi"
-cdef Eina_Bool py_elm_fileselector_custom_filter_cb(const char *path, Eina_Bool is_dir, void *data) with gil:
+cdef Eina_Bool py_elm_fileselector_custom_filter_cb(const char *path, Eina_Bool is_dir, void *data) noexcept with gil:
cb_func, cb_data = <object>data
try:
return cb_func(_ctouni(path), is_dir, cb_data)
diff --git a/efl/elementary/gengrid.pxi b/efl/elementary/gengrid.pxi
index af64e98..92229f8 100644
--- a/efl/elementary/gengrid.pxi
+++ b/efl/elementary/gengrid.pxi
@@ -18,7 +18,7 @@
include "gengrid_cdef.pxi"
-cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const char *part) with gil:
+cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const char *part) noexcept with gil:
cdef:
GengridItem item = <GengridItem>data
unicode u = _ctouni(part)
@@ -40,7 +40,7 @@ cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const cha
else:
return NULL
-cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const char *part) with gil:
+cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const char *part) noexcept with gil:
cdef:
GengridItem item = <GengridItem>data
unicode u = _ctouni(part)
@@ -63,7 +63,7 @@ cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj,
else:
return NULL
-cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const char *part) with gil:
+cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const char *part) noexcept with gil:
cdef:
GengridItem item = <GengridItem>data
unicode u = _ctouni(part)
@@ -81,7 +81,7 @@ cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, cons
return ret if ret is not None else 0
-cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:
+cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) noexcept with gil:
cdef GengridItem item = <GengridItem>data
if item is None:
@@ -98,7 +98,7 @@ cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil
item._unset_obj()
-cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) noexcept with gil:
cdef GengridItem item
assert data != NULL, "data is NULL in Gengrid select cb"
@@ -112,7 +112,7 @@ cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_in
except Exception:
traceback.print_exc()
-cdef int _gengrid_compare_cb(const void *data1, const void *data2) with gil:
+cdef int _gengrid_compare_cb(const void *data1, const void *data2) noexcept with gil:
cdef:
Elm_Object_Item *citem1 = <Elm_Object_Item *>data1
Elm_Object_Item *citem2 = <Elm_Object_Item *>data2
diff --git a/efl/elementary/genlist.pxi b/efl/elementary/genlist.pxi
index d41c532..e59a6d8 100644
--- a/efl/elementary/genlist.pxi
+++ b/efl/elementary/genlist.pxi
@@ -17,7 +17,7 @@
include "genlist_cdef.pxi"
-cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const char *part) with gil:
+cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const char *part) noexcept with gil:
cdef:
GenlistItem item = <GenlistItem>data
unicode u = _ctouni(part)
@@ -39,7 +39,7 @@ cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const cha
else:
return NULL
-cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj, const char *part) with gil:
+cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj, const char *part) noexcept with gil:
cdef:
GenlistItem item = <GenlistItem>data
unicode u = _ctouni(part)
@@ -62,7 +62,7 @@ cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj,
else:
return NULL
-cdef Evas_Object *_py_elm_genlist_item_reusable_content_get(void *data, Evas_Object *obj, const char *part, Evas_Object *old) with gil:
+cdef Evas_Object *_py_elm_genlist_item_reusable_content_get(void *data, Evas_Object *obj, const char *part, Evas_Object *old) noexcept with gil:
cdef:
GenlistItem item = <GenlistItem>data
unicode u = _ctouni(part)
@@ -86,7 +86,7 @@ cdef Evas_Object *_py_elm_genlist_item_reusable_content_get(void *data, Evas_Obj
else:
return NULL
-cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, const char *part) with gil:
+cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, const char *part) noexcept with gil:
cdef:
GenlistItem item = <GenlistItem>data
unicode u = _ctouni(part)
@@ -106,7 +106,7 @@ cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, cons
return ret
-cdef Eina_Bool _py_elm_genlist_item_filter_get(void *data, Evas_Object *obj, void *key) with gil:
+cdef Eina_Bool _py_elm_genlist_item_filter_get(void *data, Evas_Object *obj, void *key) noexcept with gil:
cdef:
GenlistItem item = <GenlistItem>data
object pykey = <object>key
@@ -126,7 +126,7 @@ cdef Eina_Bool _py_elm_genlist_item_filter_get(void *data, Evas_Object *obj, voi
return ret
-cdef void _py_elm_genlist_object_item_del(void *data, Evas_Object *obj) with gil:
+cdef void _py_elm_genlist_object_item_del(void *data, Evas_Object *obj) noexcept with gil:
cdef GenlistItem item = <GenlistItem>data
if item is None:
@@ -143,7 +143,7 @@ cdef void _py_elm_genlist_object_item_del(void *data, Evas_Object *obj) with gil
item._unset_obj()
-cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_info) noexcept with gil:
cdef GenlistItem item
assert data != NULL, "data is NULL in Genlist select cb"
@@ -157,7 +157,7 @@ cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_in
except Exception:
traceback.print_exc()
-cdef int _py_elm_genlist_compare_func(const void *data1, const void *data2) with gil:
+cdef int _py_elm_genlist_compare_func(const void *data1, const void *data2) noexcept with gil:
cdef:
Elm_Object_Item *citem1 = <Elm_Object_Item *>data1
Elm_Object_Item *citem2 = <Elm_Object_Item *>data2
diff --git a/efl/elementary/gesture_layer.pxi b/efl/elementary/gesture_layer.pxi
index 5690da1..358327f 100644
--- a/efl/elementary/gesture_layer.pxi
+++ b/efl/elementary/gesture_layer.pxi
@@ -303,7 +303,7 @@ cdef class GestureRotateInfo(object):
def __get__(self):
return self.info.momentum
-cdef Evas_Event_Flags _gesture_layer_taps_event_cb(void *data, void *event_info) with gil:
+cdef Evas_Event_Flags _gesture_layer_taps_event_cb(void *data, void *event_info) noexcept with gil:
callback, args, kwargs = <object>data
cdef GestureTapsInfo ei = GestureTapsInfo.__new__(GestureTapsInfo)
ei.info = <Elm_Gesture_Taps_Info *>event_info
@@ -313,7 +313,7 @@ cdef Evas_Event_Flags _gesture_layer_taps_event_cb(void *data, void *event_info)
except Exception:
traceback.print_exc()
-cdef Evas_Event_Flags _gesture_layer_momentum_event_cb(void *data, void *event_info) with gil:
+cdef Evas_Event_Flags _gesture_layer_momentum_event_cb(void *data, void *event_info) noexcept with gil:
callback, args, kwargs = <object>data
cdef GestureMomentumInfo ei = GestureMomentumInfo.__new__(GestureMomentumInfo)
ei.info = <Elm_Gesture_Momentum_Info *>event_info
@@ -323,7 +323,7 @@ cdef Evas_Event_Flags _gesture_layer_momentum_event_cb(void *data, void *event_i
except Exception:
traceback.print_exc()
-cdef Evas_Event_Flags _gesture_layer_line_event_cb(void *data, void *event_info) with gil:
+cdef Evas_Event_Flags _gesture_layer_line_event_cb(void *data, void *event_info) noexcept with gil:
callback, args, kwargs = <object>data
cdef GestureLineInfo ei = GestureLineInfo.__new__(GestureLineInfo)
ei.info = <Elm_Gesture_Line_Info *>event_info
@@ -333,7 +333,7 @@ cdef Evas_Event_Flags _gesture_layer_line_event_cb(void *data, void *event_info)
except Exception:
traceback.print_exc()
-cdef Evas_Event_Flags _gesture_layer_zoom_event_cb(void *data, void *event_info) with gil:
+cdef Evas_Event_Flags _gesture_layer_zoom_event_cb(void *data, void *event_info) noexcept with gil:
callback, args, kwargs = <object>data
cdef GestureZoomInfo ei = GestureZoomInfo.__new__(GestureZoomInfo)
ei.info = <Elm_Gesture_Zoom_Info *>event_info
@@ -343,7 +343,7 @@ cdef Evas_Event_Flags _gesture_layer_zoom_event_cb(void *data, void *event_info)
except Exception:
traceback.print_exc()
-cdef Evas_Event_Flags _gesture_layer_rotate_event_cb(void *data, void *event_info) with gil:
+cdef Evas_Event_Flags _gesture_layer_rotate_event_cb(void *data, void *event_info) noexcept with gil:
callback, args, kwargs = <object>data
cdef GestureRotateInfo ei = GestureRotateInfo.__new__(GestureRotateInfo)
ei.info = <Elm_Gesture_Rotate_Info *>event_info
diff --git a/efl/elementary/index.pxi b/efl/elementary/index.pxi
index 1b97a45..17b8dc5 100644
--- a/efl/elementary/index.pxi
+++ b/efl/elementary/index.pxi
@@ -17,7 +17,7 @@
include "index_cdef.pxi"
-cdef int _index_compare_func(const void *data1, const void *data2) with gil:
+cdef int _index_compare_func(const void *data1, const void *data2) noexcept with gil:
"""Comparison by IndexItem objects"""
cdef:
Elm_Object_Item *citem1 = <Elm_Object_Item *>data1
@@ -43,7 +43,7 @@ cdef int _index_compare_func(const void *data1, const void *data2) with gil:
else:
return 0
-cdef int _index_data_compare_func(const void *data1, const void *data2) with gil:
+cdef int _index_data_compare_func(const void *data1, const void *data2) noexcept with gil:
"""Comparison by IndexItem data"""
cdef:
IndexItem item1 = <object>data1
diff --git a/efl/elementary/layout.pxi b/efl/elementary/layout.pxi
index e796352..2b4f424 100644
--- a/efl/elementary/layout.pxi
+++ b/efl/elementary/layout.pxi
@@ -18,7 +18,7 @@
include "layout_cdef.pxi"
cdef void layout_signal_callback(void *data, Evas_Object *obj,
- const char *emission, const char *source) with gil:
+ const char *emission, const char *source) noexcept with gil:
cdef Object self = object_from_instance(obj)
lst = tuple(<object>data)
for func, args, kargs in lst:
diff --git a/efl/elementary/map.pxi b/efl/elementary/map.pxi
index acf6e90..c6e04eb 100644
--- a/efl/elementary/map.pxi
+++ b/efl/elementary/map.pxi
@@ -28,7 +28,7 @@ cdef object _elm_map_overlay_to_python(Elm_Map_Overlay *ov):
return None
return <object>data
-cdef void _map_overlay_get_callback(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+cdef void _map_overlay_get_callback(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) noexcept with gil:
cdef Object obj
obj = object_from_instance(map)
@@ -38,11 +38,11 @@ cdef void _map_overlay_get_callback(void *data, Evas_Object *map, Elm_Map_Overla
except Exception:
traceback.print_exc()
-cdef void _map_overlay_del_cb(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+cdef void _map_overlay_del_cb(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) noexcept with gil:
ov = <object>data
ov.__del_cb()
-cdef void _map_route_callback(void *data, Evas_Object *map, Elm_Map_Route *route) with gil:
+cdef void _map_route_callback(void *data, Evas_Object *map, Elm_Map_Route *route) noexcept with gil:
cdef Object obj
obj = object_from_instance(map)
@@ -54,7 +54,7 @@ cdef void _map_route_callback(void *data, Evas_Object *map, Elm_Map_Route *route
Py_DECREF(<object>data)
-cdef void _map_name_callback(void *data, Evas_Object *map, Elm_Map_Name *name) with gil:
+cdef void _map_name_callback(void *data, Evas_Object *map, Elm_Map_Name *name) noexcept with gil:
cdef Object obj
obj = object_from_instance(map)
diff --git a/efl/elementary/multibuttonentry.pxi b/efl/elementary/multibuttonentry.pxi
index 0014045..f7e2684 100644
--- a/efl/elementary/multibuttonentry.pxi
+++ b/efl/elementary/multibuttonentry.pxi
@@ -19,7 +19,7 @@
include "multibuttonentry_cdef.pxi"
cdef Eina_Bool _multibuttonentry_filter_callback(Evas_Object *obj, \
- const char *item_label, void *item_data, void *data) with gil:
+ const char *item_label, void *item_data, void *data) noexcept with gil:
cdef:
MultiButtonEntry mbe = object_from_instance(obj)
@@ -41,7 +41,7 @@ cdef Eina_Bool _multibuttonentry_filter_callback(Evas_Object *obj, \
return 1
-cdef char * _multibuttonentry_format_cb(int count, void *data) with gil:
+cdef char * _multibuttonentry_format_cb(int count, void *data) noexcept with gil:
cdef MultiButtonEntry obj = <MultiButtonEntry>data
(callback, a, ka) = obj.internal_data["multibuttonentry_format_cb"]
@@ -204,7 +204,7 @@ cdef class MultiButtonEntryItem(ObjectItem):
return _object_item_to_python(elm_multibuttonentry_item_next_get(self.item))
cdef void _py_elm_mbe_item_added_cb(
- void *data, Evas_Object *o, void *event_info) with gil:
+ void *data, Evas_Object *o, void *event_info) noexcept with gil:
cdef:
MultiButtonEntryItem it
Elm_Object_Item *item = <Elm_Object_Item *>event_info
diff --git a/efl/elementary/naviframe.pxi b/efl/elementary/naviframe.pxi
index 5253950..970a047 100644
--- a/efl/elementary/naviframe.pxi
+++ b/efl/elementary/naviframe.pxi
@@ -17,7 +17,7 @@
include "naviframe_cdef.pxi"
-cdef Eina_Bool py_elm_naviframe_item_pop_cb(void *data, Elm_Object_Item *it):
+cdef Eina_Bool py_elm_naviframe_item_pop_cb(void *data, Elm_Object_Item *it) noexcept:
cdef:
NaviframeItem item = _object_item_to_python(it)
object func
diff --git a/efl/elementary/object.pxi b/efl/elementary/object.pxi
index 5c1bbc8..cd4e8b8 100644
--- a/efl/elementary/object.pxi
+++ b/efl/elementary/object.pxi
@@ -20,7 +20,7 @@ include "object_cdef.pxi"
include "cnp_callbacks.pxi"
-cdef Evas_Object *_tooltip_content_create(void *data, Evas_Object *o, Evas_Object *t) with gil:
+cdef Evas_Object *_tooltip_content_create(void *data, Evas_Object *o, Evas_Object *t) noexcept with gil:
cdef Object ret, obj, tooltip
obj = object_from_instance(o)
@@ -31,7 +31,7 @@ cdef Evas_Object *_tooltip_content_create(void *data, Evas_Object *o, Evas_Objec
return NULL
return ret.obj
-cdef void _tooltip_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+cdef void _tooltip_data_del_cb(void *data, Evas_Object *o, void *event_info) noexcept with gil:
Py_DECREF(<object>data)
@@ -48,7 +48,7 @@ cdef bint _event_dispatcher(Object obj, Object src, Evas_Callback_Type t,
return False
cdef Eina_Bool _event_callback(void *data, Evas_Object *o, \
- Evas_Object *src, Evas_Callback_Type t, void *event_info) with gil:
+ Evas_Object *src, Evas_Callback_Type t, void *event_info) noexcept with gil:
cdef:
Object obj = object_from_instance(o)
@@ -79,7 +79,7 @@ cdef Eina_Bool _event_callback(void *data, Evas_Object *o, \
return ret
cdef void signal_callback(void *data, Evas_Object *obj,
- const char *emission, const char *source) with gil:
+ const char *emission, const char *source) noexcept with gil:
cdef Object self = object_from_instance(obj)
lst = tuple(<object>data)
for func, args, kargs in lst:
diff --git a/efl/elementary/object_item.pxi b/efl/elementary/object_item.pxi
index 2e0ef80..eec1d0e 100644
--- a/efl/elementary/object_item.pxi
+++ b/efl/elementary/object_item.pxi
@@ -17,7 +17,7 @@
include "object_item_cdef.pxi"
-cdef Evas_Object *_tooltip_item_content_create(void *data, Evas_Object *o, Evas_Object *t, void *it) with gil:
+cdef Evas_Object *_tooltip_item_content_create(void *data, Evas_Object *o, Evas_Object *t, void *it) noexcept with gil:
cdef:
Object ret, obj, tooltip
ObjectItem item
@@ -31,7 +31,7 @@ cdef Evas_Object *_tooltip_item_content_create(void *data, Evas_Object *o, Evas_
return NULL
return ret.obj
-cdef void _tooltip_item_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+cdef void _tooltip_item_data_del_cb(void *data, Evas_Object *o, void *event_info) noexcept with gil:
Py_DECREF(<object>data)
@@ -71,14 +71,14 @@ cdef _object_item_list_to_python(const Eina_List *lst):
ret.append(o)
return ret
-cdef void _object_item_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+cdef void _object_item_del_cb(void *data, Evas_Object *o, void *event_info) noexcept with gil:
cdef ObjectItem d
if data != NULL:
d = <object>data
d.item = NULL
Py_DECREF(d)
-cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info) with gil:
+cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info) noexcept with gil:
# This should be used with old style items
cdef ObjectItem item = <object>data
try:
@@ -87,7 +87,7 @@ cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info)
except Exception:
traceback.print_exc()
-cdef void _object_item_callback2(void *data, Evas_Object *obj, void *event_info) with gil:
+cdef void _object_item_callback2(void *data, Evas_Object *obj, void *event_info) noexcept with gil:
# This should be used with new style items
cdef ObjectItem item = <object>data
try:
diff --git a/efl/elementary/slideshow.pxi b/efl/elementary/slideshow.pxi
index e6cd13b..6bd7eb5 100644
--- a/efl/elementary/slideshow.pxi
+++ b/efl/elementary/slideshow.pxi
@@ -18,7 +18,7 @@
include "slideshow_cdef.pxi"
-cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) with gil:
+cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) noexcept with gil:
cdef:
SlideshowItem item = <SlideshowItem>data
SlideshowItemClass itc = item.item_class
@@ -41,7 +41,7 @@ cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) with
return NULL
-cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) with gil:
+cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) noexcept with gil:
cdef:
SlideshowItem item = <SlideshowItem>data
SlideshowItemClass itc = item.item_class
@@ -58,7 +58,7 @@ cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) with gil:
# item._unset_obj()
#Py_DECREF(item)
-cdef int _py_elm_slideshow_compare_func(const void *data1, const void *data2) with gil:
+cdef int _py_elm_slideshow_compare_func(const void *data1, const void *data2) noexcept with gil:
cdef:
SlideshowItem item1 = <SlideshowItem>data1
SlideshowItem item2 = <SlideshowItem>data2
diff --git a/efl/elementary/toolbar.pxi b/efl/elementary/toolbar.pxi
index d1dc7b7..d0fd4ec 100644
--- a/efl/elementary/toolbar.pxi
+++ b/efl/elementary/toolbar.pxi
@@ -18,7 +18,7 @@
include "toolbar_cdef.pxi"
-cdef void _toolbar_item_state_callback(void *data, Evas_Object *obj, void *event_info) with gil:
+cdef void _toolbar_item_state_callback(void *data, Evas_Object *obj, void *event_info) noexcept with gil:
cdef ToolbarItemState state = <object>data
cdef ToolbarItem item = ToolbarItem.__new__(ToolbarItem)
item.item = <Elm_Object_Item *>event_info
diff --git a/efl/elementary/transit.pxi b/efl/elementary/transit.pxi
index 06a2d89..421cccd 100644
--- a/efl/elementary/transit.pxi
+++ b/efl/elementary/transit.pxi
@@ -47,7 +47,7 @@ cdef class TransitCustomEffect(object):
"""
pass
-cdef void elm_transit_effect_transition_cb(Elm_Transit_Effect *effect, Elm_Transit *transit, double progress) with gil:
+cdef void elm_transit_effect_transition_cb(Elm_Transit_Effect *effect, Elm_Transit *transit, double progress) noexcept with gil:
cdef:
TransitCustomEffect fect = <TransitCustomEffect?>effect
Transit tsit = fect.transit
@@ -57,7 +57,7 @@ cdef void elm_transit_effect_transition_cb(Elm_Transit_Effect *effect, Elm_Trans
except Exception:
traceback.print_exc()
-cdef void elm_transit_effect_end_cb(Elm_Transit_Effect *effect, Elm_Transit *transit) with gil:
+cdef void elm_transit_effect_end_cb(Elm_Transit_Effect *effect, Elm_Transit *transit) noexcept with gil:
cdef:
TransitCustomEffect fect = <TransitCustomEffect?>effect
Transit tsit = fect.transit
@@ -69,7 +69,7 @@ cdef void elm_transit_effect_end_cb(Elm_Transit_Effect *effect, Elm_Transit *tra
Py_DECREF(fect)
-cdef void elm_transit_del_cb(void *data, Elm_Transit *transit) with gil:
+cdef void elm_transit_del_cb(void *data, Elm_Transit *transit) noexcept with gil:
cdef:
Transit trans
tuple args
diff --git a/efl/elementary/web.pxi b/efl/elementary/web.pxi
index 77ef081..c6db3f5 100644
--- a/efl/elementary/web.pxi
+++ b/efl/elementary/web.pxi
@@ -55,7 +55,7 @@ cdef object _web_link_hover_in_conv(void *addr):
return (url, title)
-cdef void _web_console_message_hook(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id) with gil:
+cdef void _web_console_message_hook(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id) noexcept with gil:
cdef Web self = <Web>data
try:
diff --git a/efl/emotion/efl.emotion.pyx b/efl/emotion/efl.emotion.pyx
index 1eb0c9e..8724cd7 100644
--- a/efl/emotion/efl.emotion.pyx
+++ b/efl/emotion/efl.emotion.pyx
@@ -120,7 +120,7 @@ EMOTION_VIS_LIBVISUAL_PLASMA = enums.EMOTION_VIS_LIBVISUAL_PLASMA
EMOTION_VIS_LAST = enums.EMOTION_VIS_LAST
-cdef void _emotion_callback(void *data, Evas_Object *o, void *ei) with gil:
+cdef void _emotion_callback(void *data, Evas_Object *o, void *ei) noexcept with gil:
cdef Emotion obj
cdef object event
obj = object_from_instance(o)
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index cde92e5..9630ba5 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -182,7 +182,7 @@ cdef void _register_decorated_callbacks(Eo obj):
######################################################################
-cdef void _efl_event_del_cb(void *data, const Efl_Event *event) with gil:
+cdef void _efl_event_del_cb(void *data, const Efl_Event *event) noexcept with gil:
cdef:
Eo self = <Eo>data
const char *cls_name = efl_class_name_get(efl_class_get(self.obj))
diff --git a/efl/ethumb/efl.ethumb.pyx b/efl/ethumb/efl.ethumb.pyx
index 6f7bf5f..848eceb 100644
--- a/efl/ethumb/efl.ethumb.pyx
+++ b/efl/ethumb/efl.ethumb.pyx
@@ -181,7 +181,7 @@ ETHUMB_THUMB_IGNORE_ASPECT = enums.ETHUMB_THUMB_IGNORE_ASPECT
ETHUMB_THUMB_CROP = enums.ETHUMB_THUMB_CROP
-cdef void _generate_cb(void *data, cEthumb *e, Eina_Bool success) with gil:
+cdef void _generate_cb(void *data, cEthumb *e, Eina_Bool success) noexcept with gil:
obj = <object>data
(self, func, args, kargs) = obj
try:
@@ -189,7 +189,7 @@ cdef void _generate_cb(void *data, cEthumb *e, Eina_Bool success) with gil:
except Exception:
traceback.print_exc()
-cdef void _generate_free_cb(void *data) with gil:
+cdef void _generate_free_cb(void *data) noexcept with gil:
obj = <object>data
Py_DECREF(obj)
diff --git a/efl/ethumb/efl.ethumb_client.pyx b/efl/ethumb/efl.ethumb_client.pyx
index f2f99e8..8cddf88 100644
--- a/efl/ethumb/efl.ethumb_client.pyx
+++ b/efl/ethumb/efl.ethumb_client.pyx
@@ -164,7 +164,7 @@ ETHUMB_THUMB_IGNORE_ASPECT = enums.ETHUMB_THUMB_IGNORE_ASPECT
ETHUMB_THUMB_CROP = enums.ETHUMB_THUMB_CROP
-cdef void _connect_cb(void *data, Ethumb_Client *client, Eina_Bool success) with gil:
+cdef void _connect_cb(void *data, Ethumb_Client *client, Eina_Bool success) noexcept with gil:
cdef EthumbClient self = <EthumbClient>data
s = bool(success)
try:
@@ -173,7 +173,7 @@ cdef void _connect_cb(void *data, Ethumb_Client *client, Eina_Bool success) with
except Exception:
traceback.print_exc()
-cdef void _on_server_die_cb(void *data, Ethumb_Client *client) with gil:
+cdef void _on_server_die_cb(void *data, Ethumb_Client *client) noexcept with gil:
cdef EthumbClient self = <EthumbClient>data
if self._on_server_die_callback is not None:
try:
@@ -184,7 +184,7 @@ cdef void _on_server_die_cb(void *data, Ethumb_Client *client) with gil:
self.disconnect()
-cdef void _generated_cb(void *data, Ethumb_Client *client, int id, const char *file, const char *key, const char *thumb_path, const char *thumb_key, Eina_Bool success) with gil:
+cdef void _generated_cb(void *data, Ethumb_Client *client, int id, const char *file, const char *key, const char *thumb_path, const char *thumb_key, Eina_Bool success) noexcept with gil:
obj = <object>data
(self, func, args, kargs) = obj
status = bool(success != 0)
@@ -194,11 +194,11 @@ cdef void _generated_cb(void *data, Ethumb_Client *client, int id, const char *f
except Exception:
traceback.print_exc()
-cdef void _generated_cb_free_data(void *data) with gil:
+cdef void _generated_cb_free_data(void *data) noexcept with gil:
obj = <object>data
Py_DECREF(obj)
-cdef void _thumb_exists_cb(void *data, Ethumb_Client *client, Ethumb_Exists *thread, Eina_Bool exists) with gil:
+cdef void _thumb_exists_cb(void *data, Ethumb_Client *client, Ethumb_Exists *thread, Eina_Bool exists) noexcept with gil:
#TODO
print("Not implemented")
diff --git a/efl/evas/efl.evas_canvas_callbacks.pxi b/efl/evas/efl.evas_canvas_callbacks.pxi
index 5ec4ee1..7934a4c 100644
--- a/efl/evas/efl.evas_canvas_callbacks.pxi
+++ b/efl/evas/efl.evas_canvas_callbacks.pxi
@@ -39,129 +39,129 @@ cdef int cb_canvas_dispatcher2(Canvas self, int type) except 0:
return 1
-cdef void cb_canvas_mouse_in(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_mouse_in(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MOUSE_IN is not supported by canvas.")
-cdef void cb_canvas_mouse_out(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_mouse_out(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MOUSE_OUT is not supported by canvas.")
-cdef void cb_canvas_mouse_down(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_mouse_down(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MOUSE_DOWN is not supported by canvas.")
-cdef void cb_canvas_mouse_up(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_mouse_up(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MOUSE_UP is not supported by canvas.")
-cdef void cb_canvas_mouse_move(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_mouse_move(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MOUSE_MOVE is not supported by canvas.")
-cdef void cb_canvas_multi_down(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_multi_down(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MULTI_DOWN is not supported by canvas.")
-cdef void cb_canvas_multi_up(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_multi_up(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MULTI_UP is not supported by canvas.")
-cdef void cb_canvas_multi_move(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_multi_move(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MULTI_MOVE is not supported by canvas.")
-cdef void cb_canvas_mouse_wheel(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_mouse_wheel(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MOUSE_WHEEL is not supported by canvas.")
-cdef void cb_canvas_free(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_free(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_FREE is not supported by canvas.")
-cdef void cb_canvas_key_down(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_key_down(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_KEY_DOWN is not supported by canvas.")
-cdef void cb_canvas_key_up(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_key_up(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_KEY_UP is not supported by canvas.")
-cdef void cb_canvas_focus_in(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_focus_in(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_FOCUS_IN is not supported by canvas.")
-cdef void cb_canvas_focus_out(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_focus_out(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_FOCUS_OUT is not supported by canvas.")
-cdef void cb_canvas_show(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_show(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_SHOW is not supported by canvas.")
-cdef void cb_canvas_hide(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_hide(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_HIDE is not supported by canvas.")
-cdef void cb_canvas_move(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_move(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_MOVE is not supported by canvas.")
-cdef void cb_canvas_resize(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_resize(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_RESIZE is not supported by canvas.")
-cdef void cb_canvas_restack(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_restack(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_RESTACK is not supported by canvas.")
-cdef void cb_canvas_del(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_del(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_DEL is not supported by canvas.")
-cdef void cb_canvas_hold(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_hold(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_HOLD is not supported by canvas.")
-cdef void cb_canvas_changed_size_hints(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_changed_size_hints(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_CHANGED_SIZE_HINTS is not supported by canvas.")
-cdef void cb_canvas_image_preloaded(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_image_preloaded(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_IMAGE_PRELOADED is not supported by canvas.")
-cdef void cb_canvas_image_resize(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_image_resize(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_IMAGE_RESIZE is not supported by canvas.")
-cdef void cb_canvas_device_changed(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_device_changed(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_DEVICE_CHANGED is not supported by canvas.")
-cdef void cb_canvas_canvas_focus_in(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_canvas_focus_in(void *data, Evas *e, void *e_inf) noexcept with gil:
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_CANVAS_FOCUS_IN)
-cdef void cb_canvas_canvas_focus_out(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_canvas_focus_out(void *data, Evas *e, void *e_inf) noexcept with gil:
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_CANVAS_FOCUS_OUT)
-cdef void cb_canvas_render_flush_pre(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_render_flush_pre(void *data, Evas *e, void *e_inf) noexcept with gil:
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_RENDER_FLUSH_PRE)
-cdef void cb_canvas_render_flush_post(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_render_flush_post(void *data, Evas *e, void *e_inf) noexcept with gil:
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_RENDER_FLUSH_POST)
-cdef void cb_canvas_canvas_object_focus_in(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_canvas_object_focus_in(void *data, Evas *e, void *e_inf) noexcept with gil:
cdef Evas_Object *obj = <Evas_Object*>e_inf
o = object_from_instance(obj)
cb_canvas_dispatcher(<Canvas>data, o, EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN)
-cdef void cb_canvas_canvas_object_focus_out(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_canvas_object_focus_out(void *data, Evas *e, void *e_inf) noexcept with gil:
cdef Evas_Object *obj = <Evas_Object*>e_inf
o = object_from_instance(obj)
cb_canvas_dispatcher(<Canvas>data, o, EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT)
-cdef void cb_canvas_image_unloaded(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_image_unloaded(void *data, Evas *e, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_IMAGE_UNLOADED is not supported by canvas.")
-cdef void cb_canvas_render_pre(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_render_pre(void *data, Evas *e, void *e_inf) noexcept with gil:
#cdef Evas_Object *obj = <Evas_Object*>e_inf
#o = object_from_instance(obj)
#cb_canvas_dispatcher(<Canvas>data, o, EVAS_CALLBACK_RENDER_PRE)
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_RENDER_PRE)
-cdef void cb_canvas_render_post(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_render_post(void *data, Evas *e, void *e_inf) noexcept with gil:
#cdef Evas_Object *obj = <Evas_Object*>e_inf
#o = object_from_instance(obj)
#cb_canvas_dispatcher(<Canvas>data, o, EVAS_CALLBACK_RENDER_POST)
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_RENDER_POST)
-cdef void cb_canvas_axis_update(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_axis_update(void *data, Evas *e, void *e_inf) noexcept with gil:
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_AXIS_UPDATE)
-cdef void cb_canvas_viewport_resize(void *data, Evas *e, void *e_inf) with gil:
+cdef void cb_canvas_viewport_resize(void *data, Evas *e, void *e_inf) noexcept with gil:
cb_canvas_dispatcher2(<Canvas>data, EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE)
diff --git a/efl/evas/efl.evas_object.pxi b/efl/evas/efl.evas_object.pxi
index c8006a5..7873ebf 100644
--- a/efl/evas/efl.evas_object.pxi
+++ b/efl/evas/efl.evas_object.pxi
@@ -41,7 +41,7 @@ cdef int _object_unregister_callbacks(Object obj) except 0:
cdef void obj_free_cb(void *data, Evas *e,
- Evas_Object *obj, void *event_info) with gil:
+ Evas_Object *obj, void *event_info) noexcept with gil:
cdef Object self = <Object>data
lst = self._event_callbacks[<int>EVAS_CALLBACK_FREE]
diff --git a/efl/evas/efl.evas_object_callbacks.pxi b/efl/evas/efl.evas_object_callbacks.pxi
index ef3e04e..5cf1948 100644
--- a/efl/evas/efl.evas_object_callbacks.pxi
+++ b/efl/evas/efl.evas_object_callbacks.pxi
@@ -39,7 +39,7 @@ cdef int cb_object_dispatcher2(Object self, int type) except 0:
cdef void cb_object_mouse_in(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMouseIn event
event = EventMouseIn()
event._set_obj(e_inf)
@@ -48,7 +48,7 @@ cdef void cb_object_mouse_in(void *data, Evas *e,
cdef void cb_object_mouse_out(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMouseOut event
event = EventMouseOut()
event._set_obj(e_inf)
@@ -57,7 +57,7 @@ cdef void cb_object_mouse_out(void *data, Evas *e,
cdef void cb_object_mouse_down(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMouseDown event
event = EventMouseDown()
event._set_obj(e_inf)
@@ -66,7 +66,7 @@ cdef void cb_object_mouse_down(void *data, Evas *e,
cdef void cb_object_mouse_up(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMouseUp event
event = EventMouseUp()
event._set_obj(e_inf)
@@ -75,7 +75,7 @@ cdef void cb_object_mouse_up(void *data, Evas *e,
cdef void cb_object_mouse_move(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMouseMove event
event = EventMouseMove()
event._set_obj(e_inf)
@@ -84,7 +84,7 @@ cdef void cb_object_mouse_move(void *data, Evas *e,
cdef void cb_object_multi_down(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMultiDown event
event = EventMultiDown()
event._set_obj(e_inf)
@@ -92,7 +92,7 @@ cdef void cb_object_multi_down(void *data, Evas *e,
event._unset_obj()
cdef void cb_object_multi_up(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMultiUp event
event = EventMultiUp()
event._set_obj(e_inf)
@@ -101,7 +101,7 @@ cdef void cb_object_multi_up(void *data, Evas *e,
cdef void cb_object_multi_move(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMultiMove event
event = EventMultiMove()
event._set_obj(e_inf)
@@ -110,7 +110,7 @@ cdef void cb_object_multi_move(void *data, Evas *e,
cdef void cb_object_mouse_wheel(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventMouseWheel event
event = EventMouseWheel()
event._set_obj(e_inf)
@@ -119,12 +119,12 @@ cdef void cb_object_mouse_wheel(void *data, Evas *e,
cdef void cb_object_free(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_FREE)
cdef void cb_object_key_down(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventKeyDown event
event = EventKeyDown()
event._set_obj(e_inf)
@@ -133,7 +133,7 @@ cdef void cb_object_key_down(void *data, Evas *e,
cdef void cb_object_key_up(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventKeyUp event
event = EventKeyUp()
event._set_obj(e_inf)
@@ -142,47 +142,47 @@ cdef void cb_object_key_up(void *data, Evas *e,
cdef void cb_object_focus_in(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_FOCUS_IN)
cdef void cb_object_focus_out(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_FOCUS_OUT)
cdef void cb_object_show(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_SHOW)
cdef void cb_object_hide(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_HIDE)
cdef void cb_object_move(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_MOVE)
cdef void cb_object_resize(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_RESIZE)
cdef void cb_object_restack(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_RESTACK)
cdef void cb_object_del(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_DEL)
cdef void cb_object_hold(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cdef EventHold event
event = EventHold()
event._set_obj(e_inf)
@@ -191,67 +191,67 @@ cdef void cb_object_hold(void *data, Evas *e,
cdef void cb_object_changed_size_hints(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_CHANGED_SIZE_HINTS)
cdef void cb_object_image_preloaded(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_IMAGE_PRELOADED)
cdef void cb_object_image_resize(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_IMAGE_RESIZE)
cdef void cb_object_device_changed(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_DEVICE_CHANGED)
cdef void cb_object_canvas_focus_in(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_FOCUS_IN is not supported by object.")
cdef void cb_object_canvas_focus_out(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_FOCUS_OUT is not supported by object.")
cdef void cb_object_render_flush_pre(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_RENDER_FLUSH_PRE is not supported by object.")
cdef void cb_object_render_flush_post(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_RENDER_FLUSH_POST is not supported by object.")
cdef void cb_object_canvas_object_focus_in(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN is not supported by object.")
cdef void cb_object_canvas_object_focus_out(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT is not supported by object.")
cdef void cb_object_image_unloaded(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_IMAGE_UNLOADED)
cdef void cb_object_canvas_render_pre(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_RENDER_PRE is not supported by object.")
cdef void cb_object_canvas_render_post(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_RENDER_POST is not supported by object.")
cdef void cb_object_axis_update(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_AXIS_UPDATE is not supported by object.")
cdef void cb_object_viewport_resize(void *data, Evas *e,
- Evas_Object *obj, void *e_inf) with gil:
+ Evas_Object *obj, void *e_inf) noexcept with gil:
print("EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE is not supported by object.")
diff --git a/efl/evas/efl.evas_object_image.pxi b/efl/evas/efl.evas_object_image.pxi
index 56e4b68..2b6f045 100644
--- a/efl/evas/efl.evas_object_image.pxi
+++ b/efl/evas/efl.evas_object_image.pxi
@@ -1376,7 +1376,7 @@ _object_mapping_register("Evas.Image", Image)
cdef void _cb_on_filled_image_resize(void *data, Evas *e,
Evas_Object *obj,
- void *event_info) with gil:
+ void *event_info) noexcept with gil:
cdef int w, h
evas_object_geometry_get(obj, NULL, NULL, &w, &h)
evas_object_image_fill_set(obj, 0, 0, w, h)
diff --git a/efl/evas/efl.evas_object_smart.pxi b/efl/evas/efl.evas_object_smart.pxi
index a41b713..ae71fc4 100644
--- a/efl/evas/efl.evas_object_smart.pxi
+++ b/efl/evas/efl.evas_object_smart.pxi
@@ -94,7 +94,7 @@ cdef class SmartCbDescription:
return _ctouni(self.desc.type)
-cdef void _smart_object_delete(Evas_Object *o) with gil:
+cdef void _smart_object_delete(Evas_Object *o) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -119,7 +119,7 @@ cdef void _smart_object_delete(Evas_Object *o) with gil:
traceback.print_exc()
-cdef void _smart_object_move(Evas_Object *o, Evas_Coord x, Evas_Coord y) with gil:
+cdef void _smart_object_move(Evas_Object *o, Evas_Coord x, Evas_Coord y) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -144,7 +144,7 @@ cdef void _smart_object_move(Evas_Object *o, Evas_Coord x, Evas_Coord y) with gi
traceback.print_exc()
-cdef void _smart_object_resize(Evas_Object *o, Evas_Coord w, Evas_Coord h) with gil:
+cdef void _smart_object_resize(Evas_Object *o, Evas_Coord w, Evas_Coord h) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -169,7 +169,7 @@ cdef void _smart_object_resize(Evas_Object *o, Evas_Coord w, Evas_Coord h) with
traceback.print_exc()
-cdef void _smart_object_show(Evas_Object *o) with gil:
+cdef void _smart_object_show(Evas_Object *o) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -194,7 +194,7 @@ cdef void _smart_object_show(Evas_Object *o) with gil:
traceback.print_exc()
-cdef void _smart_object_hide(Evas_Object *o) with gil:
+cdef void _smart_object_hide(Evas_Object *o) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -219,7 +219,7 @@ cdef void _smart_object_hide(Evas_Object *o) with gil:
traceback.print_exc()
-cdef void _smart_object_color_set(Evas_Object *o, int r, int g, int b, int a) with gil:
+cdef void _smart_object_color_set(Evas_Object *o, int r, int g, int b, int a) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -244,7 +244,7 @@ cdef void _smart_object_color_set(Evas_Object *o, int r, int g, int b, int a) wi
traceback.print_exc()
-cdef void _smart_object_clip_set(Evas_Object *o, Evas_Object *clip) with gil:
+cdef void _smart_object_clip_set(Evas_Object *o, Evas_Object *clip) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -272,7 +272,7 @@ cdef void _smart_object_clip_set(Evas_Object *o, Evas_Object *clip) with gil:
traceback.print_exc()
-cdef void _smart_object_clip_unset(Evas_Object *o) with gil:
+cdef void _smart_object_clip_unset(Evas_Object *o) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -297,7 +297,7 @@ cdef void _smart_object_clip_unset(Evas_Object *o) with gil:
traceback.print_exc()
-cdef void _smart_object_calculate(Evas_Object *o) with gil:
+cdef void _smart_object_calculate(Evas_Object *o) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -322,7 +322,7 @@ cdef void _smart_object_calculate(Evas_Object *o) with gil:
traceback.print_exc()
-cdef void _smart_object_member_add(Evas_Object *o, Evas_Object *clip) with gil:
+cdef void _smart_object_member_add(Evas_Object *o, Evas_Object *clip) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -350,7 +350,7 @@ cdef void _smart_object_member_add(Evas_Object *o, Evas_Object *clip) with gil:
traceback.print_exc()
-cdef void _smart_object_member_del(Evas_Object *o, Evas_Object *clip) with gil:
+cdef void _smart_object_member_del(Evas_Object *o, Evas_Object *clip) noexcept with gil:
cdef:
void *tmp
Smart cls
@@ -393,7 +393,7 @@ cdef object _smart_cb_pass_conv(void *addr):
return <object>addr
-cdef void _smart_callback(void *data, Evas_Object *o, void *event_info) with gil:
+cdef void _smart_callback(void *data, Evas_Object *o, void *event_info) noexcept with gil:
if data == NULL:
EINA_LOG_DOM_ERR(PY_EFL_EVAS_LOG_DOMAIN, "data is NULL!")
return
diff --git a/efl/utils/logger.pyx b/efl/utils/logger.pyx
index 984db97..032e9c4 100644
--- a/efl/utils/logger.pyx
+++ b/efl/utils/logger.pyx
@@ -52,7 +52,7 @@ PyEval_InitThreads()
cdef void py_eina_log_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level,
const char *file, const char *fnc, int line,
- const char *fmt, void *data, va_list args) with gil:
+ const char *fmt, void *data, va_list args) noexcept with gil:
cdef:
unicode msg, name, ufile, ufnc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.