summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-22 08:50:02 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-22 08:50:02 -0500
commit421bf2d0a3f8783d60be952abade6aeef7224c55 (patch)
tree9c9c864809ab443ba829c477347fd33805883b91
parent89b62fd22549a81104255b47db410ae598eac368 (diff)
api: add bool data to efl.io.reader/writer 'changed' events
Summary: changed events should always be triggered with the accompanying changed data to reduce function calls ref T7600, T7599 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7600, T7599 Differential Revision: https://phab.enlightenment.org/D7984
-rw-r--r--src/lib/ecore/efl_appthread.c4
-rw-r--r--src/lib/ecore/efl_exe.c4
-rw-r--r--src/lib/ecore/efl_io_buffered_stream.c4
-rw-r--r--src/lib/ecore/efl_io_reader_fd.c2
-rw-r--r--src/lib/ecore/efl_io_writer_fd.c2
-rw-r--r--src/lib/ecore/efl_thread.c4
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.c4
-rw-r--r--src/lib/ecore_con/efl_net_dialer_websocket.c4
-rw-r--r--src/lib/ecore_con/efl_net_server_udp_client.c4
-rw-r--r--src/lib/ecore_con/efl_net_socket_ssl.c4
-rw-r--r--src/lib/ecore_con/efl_net_socket_windows.c4
-rw-r--r--src/lib/efl/interfaces/efl_io_buffer.c4
-rw-r--r--src/lib/efl/interfaces/efl_io_queue.c4
-rw-r--r--src/lib/efl/interfaces/efl_io_reader.eo2
-rw-r--r--src/lib/efl/interfaces/efl_io_writer.eo2
15 files changed, 26 insertions, 26 deletions
diff --git a/src/lib/ecore/efl_appthread.c b/src/lib/ecore/efl_appthread.c
index 4eb190bd63..b1871dd27d 100644
--- a/src/lib/ecore/efl_appthread.c
+++ b/src/lib/ecore/efl_appthread.c
@@ -139,7 +139,7 @@ _efl_appthread_efl_io_reader_can_read_set(Eo *obj, Efl_Appthread_Data *pd, Eina_
139 else 139 else
140 efl_loop_handler_active_set(pd->fd.in_handler, 140 efl_loop_handler_active_set(pd->fd.in_handler,
141 EFL_LOOP_HANDLER_FLAGS_READ); 141 EFL_LOOP_HANDLER_FLAGS_READ);
142 efl_event_callback_call(obj, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 142 efl_event_callback_call(obj, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
143} 143}
144 144
145EOLIAN static Eina_Bool 145EOLIAN static Eina_Bool
@@ -231,7 +231,7 @@ _efl_appthread_efl_io_writer_can_write_set(Eo *obj, Efl_Appthread_Data *pd, Eina
231 else 231 else
232 efl_loop_handler_active_set(pd->fd.in_handler, 232 efl_loop_handler_active_set(pd->fd.in_handler,
233 EFL_LOOP_HANDLER_FLAGS_WRITE); 233 EFL_LOOP_HANDLER_FLAGS_WRITE);
234 efl_event_callback_call(obj, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 234 efl_event_callback_call(obj, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
235} 235}
236 236
237EOLIAN static Eina_Bool 237EOLIAN static Eina_Bool
diff --git a/src/lib/ecore/efl_exe.c b/src/lib/ecore/efl_exe.c
index 61ff4ba798..3a0bd0f587 100644
--- a/src/lib/ecore/efl_exe.c
+++ b/src/lib/ecore/efl_exe.c
@@ -759,7 +759,7 @@ _efl_exe_efl_io_reader_can_read_set(Eo *obj, Efl_Exe_Data *pd, Eina_Bool can_rea
759 else 759 else
760 efl_loop_handler_active_set(pd->fd.out_handler, 760 efl_loop_handler_active_set(pd->fd.out_handler,
761 EFL_LOOP_HANDLER_FLAGS_READ); 761 EFL_LOOP_HANDLER_FLAGS_READ);
762 efl_event_callback_call(obj, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 762 efl_event_callback_call(obj, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
763} 763}
764 764
765EOLIAN static Eina_Bool 765EOLIAN static Eina_Bool
@@ -857,7 +857,7 @@ _efl_exe_efl_io_writer_can_write_set(Eo *obj, Efl_Exe_Data *pd, Eina_Bool can_wr
857 else 857 else
858 efl_loop_handler_active_set(pd->fd.in_handler, 858 efl_loop_handler_active_set(pd->fd.in_handler,
859 EFL_LOOP_HANDLER_FLAGS_WRITE); 859 EFL_LOOP_HANDLER_FLAGS_WRITE);
860 efl_event_callback_call(obj, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 860 efl_event_callback_call(obj, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
861} 861}
862 862
863EOLIAN static Eina_Bool 863EOLIAN static Eina_Bool
diff --git a/src/lib/ecore/efl_io_buffered_stream.c b/src/lib/ecore/efl_io_buffered_stream.c
index 53b1edaf1d..f2054c2ec9 100644
--- a/src/lib/ecore/efl_io_buffered_stream.c
+++ b/src/lib/ecore/efl_io_buffered_stream.c
@@ -273,7 +273,7 @@ _efl_io_buffered_stream_efl_io_reader_can_read_set(Eo *o, Efl_Io_Buffered_Stream
273 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 273 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
274 if (pd->can_read == can_read) return; 274 if (pd->can_read == can_read) return;
275 pd->can_read = can_read; 275 pd->can_read = can_read;
276 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 276 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
277} 277}
278 278
279EOLIAN static Eina_Bool 279EOLIAN static Eina_Bool
@@ -339,7 +339,7 @@ _efl_io_buffered_stream_efl_io_writer_can_write_set(Eo *o, Efl_Io_Buffered_Strea
339 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 339 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
340 if (pd->can_write == can_write) return; 340 if (pd->can_write == can_write) return;
341 pd->can_write = can_write; 341 pd->can_write = can_write;
342 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 342 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
343} 343}
344 344
345EOLIAN static void 345EOLIAN static void
diff --git a/src/lib/ecore/efl_io_reader_fd.c b/src/lib/ecore/efl_io_reader_fd.c
index 670a22f20e..078af8cbf6 100644
--- a/src/lib/ecore/efl_io_reader_fd.c
+++ b/src/lib/ecore/efl_io_reader_fd.c
@@ -79,7 +79,7 @@ _efl_io_reader_fd_efl_io_reader_can_read_set(Eo *o, Efl_Io_Reader_Fd_Data *pd, E
79 EINA_SAFETY_ON_TRUE_RETURN(efl_io_reader_fd_get(o) < 0 && can_read); 79 EINA_SAFETY_ON_TRUE_RETURN(efl_io_reader_fd_get(o) < 0 && can_read);
80 if (pd->can_read == can_read) return; 80 if (pd->can_read == can_read) return;
81 pd->can_read = can_read; 81 pd->can_read = can_read;
82 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 82 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
83} 83}
84 84
85EOLIAN static Eina_Bool 85EOLIAN static Eina_Bool
diff --git a/src/lib/ecore/efl_io_writer_fd.c b/src/lib/ecore/efl_io_writer_fd.c
index 091bb1bb9d..50be01cef1 100644
--- a/src/lib/ecore/efl_io_writer_fd.c
+++ b/src/lib/ecore/efl_io_writer_fd.c
@@ -83,7 +83,7 @@ _efl_io_writer_fd_efl_io_writer_can_write_set(Eo *o, Efl_Io_Writer_Fd_Data *pd,
83 EINA_SAFETY_ON_TRUE_RETURN(efl_io_writer_fd_get(o) < 0 && can_write); 83 EINA_SAFETY_ON_TRUE_RETURN(efl_io_writer_fd_get(o) < 0 && can_write);
84 if (pd->can_write == can_write) return; 84 if (pd->can_write == can_write) return;
85 pd->can_write = can_write; 85 pd->can_write = can_write;
86 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 86 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
87} 87}
88 88
89#include "efl_io_writer_fd.eo.c" 89#include "efl_io_writer_fd.eo.c"
diff --git a/src/lib/ecore/efl_thread.c b/src/lib/ecore/efl_thread.c
index ce1ab8f6d8..bd20cd1e3b 100644
--- a/src/lib/ecore/efl_thread.c
+++ b/src/lib/ecore/efl_thread.c
@@ -892,7 +892,7 @@ _efl_thread_efl_io_reader_can_read_set(Eo *obj, Efl_Thread_Data *pd, Eina_Bool c
892 else 892 else
893 efl_loop_handler_active_set(pd->fd.out_handler, 893 efl_loop_handler_active_set(pd->fd.out_handler,
894 EFL_LOOP_HANDLER_FLAGS_READ); 894 EFL_LOOP_HANDLER_FLAGS_READ);
895 efl_event_callback_call(obj, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 895 efl_event_callback_call(obj, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
896} 896}
897 897
898EOLIAN static Eina_Bool 898EOLIAN static Eina_Bool
@@ -986,7 +986,7 @@ _efl_thread_efl_io_writer_can_write_set(Eo *obj, Efl_Thread_Data *pd, Eina_Bool
986 else 986 else
987 efl_loop_handler_active_set(pd->fd.in_handler, 987 efl_loop_handler_active_set(pd->fd.in_handler,
988 EFL_LOOP_HANDLER_FLAGS_WRITE); 988 EFL_LOOP_HANDLER_FLAGS_WRITE);
989 efl_event_callback_call(obj, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 989 efl_event_callback_call(obj, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
990} 990}
991 991
992EOLIAN static Eina_Bool 992EOLIAN static Eina_Bool
diff --git a/src/lib/ecore_con/efl_net_dialer_http.c b/src/lib/ecore_con/efl_net_dialer_http.c
index 20f3156e1c..40503c83c0 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.c
+++ b/src/lib/ecore_con/efl_net_dialer_http.c
@@ -1626,7 +1626,7 @@ _efl_net_dialer_http_efl_io_reader_can_read_set(Eo *o, Efl_Net_Dialer_Http_Data
1626 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 1626 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
1627 if (pd->can_read == can_read) return; 1627 if (pd->can_read == can_read) return;
1628 pd->can_read = can_read; 1628 pd->can_read = can_read;
1629 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 1629 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
1630} 1630}
1631 1631
1632EOLIAN static Eina_Bool 1632EOLIAN static Eina_Bool
@@ -1714,7 +1714,7 @@ _efl_net_dialer_http_efl_io_writer_can_write_set(Eo *o, Efl_Net_Dialer_Http_Data
1714 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 1714 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
1715 if (pd->can_write == can_write) return; 1715 if (pd->can_write == can_write) return;
1716 pd->can_write = can_write; 1716 pd->can_write = can_write;
1717 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 1717 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
1718} 1718}
1719 1719
1720static Eina_Value _efl_net_dialer_http_pending_close(Eo *o, void *data, Eina_Value value); 1720static Eina_Value _efl_net_dialer_http_pending_close(Eo *o, void *data, Eina_Value value);
diff --git a/src/lib/ecore_con/efl_net_dialer_websocket.c b/src/lib/ecore_con/efl_net_dialer_websocket.c
index 01f4418336..8d8719ad04 100644
--- a/src/lib/ecore_con/efl_net_dialer_websocket.c
+++ b/src/lib/ecore_con/efl_net_dialer_websocket.c
@@ -1297,7 +1297,7 @@ _efl_net_dialer_websocket_efl_io_reader_can_read_set(Eo *o, Efl_Net_Dialer_Webso
1297 if (pd->streaming_mode == EFL_NET_DIALER_WEBSOCKET_STREAMING_MODE_DISABLED) return; 1297 if (pd->streaming_mode == EFL_NET_DIALER_WEBSOCKET_STREAMING_MODE_DISABLED) return;
1298 if (pd->can_read == can_read) return; 1298 if (pd->can_read == can_read) return;
1299 pd->can_read = can_read; 1299 pd->can_read = can_read;
1300 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 1300 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
1301} 1301}
1302 1302
1303EOLIAN static void 1303EOLIAN static void
@@ -1350,7 +1350,7 @@ _efl_net_dialer_websocket_efl_io_writer_can_write_set(Eo *o, Efl_Net_Dialer_Webs
1350 can_write = EINA_FALSE; 1350 can_write = EINA_FALSE;
1351 if (pd->can_write == can_write) return; 1351 if (pd->can_write == can_write) return;
1352 pd->can_write = can_write; 1352 pd->can_write = can_write;
1353 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 1353 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
1354} 1354}
1355 1355
1356EOLIAN static Eina_Error 1356EOLIAN static Eina_Error
diff --git a/src/lib/ecore_con/efl_net_server_udp_client.c b/src/lib/ecore_con/efl_net_server_udp_client.c
index 52a9d38008..ec4f1fd6a6 100644
--- a/src/lib/ecore_con/efl_net_server_udp_client.c
+++ b/src/lib/ecore_con/efl_net_server_udp_client.c
@@ -234,7 +234,7 @@ _efl_net_server_udp_client_efl_io_reader_can_read_set(Eo *o, Efl_Net_Server_Udp_
234 EINA_SAFETY_ON_TRUE_RETURN(pd->fd == INVALID_SOCKET); 234 EINA_SAFETY_ON_TRUE_RETURN(pd->fd == INVALID_SOCKET);
235 if (pd->can_read == can_read) return; 235 if (pd->can_read == can_read) return;
236 pd->can_read = can_read; 236 pd->can_read = can_read;
237 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 237 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
238} 238}
239 239
240EOLIAN static Eina_Bool 240EOLIAN static Eina_Bool
@@ -265,7 +265,7 @@ _efl_net_server_udp_client_efl_io_writer_can_write_set(Eo *o, Efl_Net_Server_Udp
265 EINA_SAFETY_ON_TRUE_RETURN(pd->fd == INVALID_SOCKET); 265 EINA_SAFETY_ON_TRUE_RETURN(pd->fd == INVALID_SOCKET);
266 if (pd->can_write == can_write) return; 266 if (pd->can_write == can_write) return;
267 pd->can_write = can_write; 267 pd->can_write = can_write;
268 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 268 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
269} 269}
270 270
271EOLIAN static Eina_Bool 271EOLIAN static Eina_Bool
diff --git a/src/lib/ecore_con/efl_net_socket_ssl.c b/src/lib/ecore_con/efl_net_socket_ssl.c
index 3f9e6cebf4..912a8cbb87 100644
--- a/src/lib/ecore_con/efl_net_socket_ssl.c
+++ b/src/lib/ecore_con/efl_net_socket_ssl.c
@@ -536,7 +536,7 @@ _efl_net_socket_ssl_efl_io_reader_can_read_set(Eo *o, Efl_Net_Socket_Ssl_Data *p
536 EINA_SAFETY_ON_NULL_RETURN(pd->sock); 536 EINA_SAFETY_ON_NULL_RETURN(pd->sock);
537 if (pd->can_read == can_read) return; 537 if (pd->can_read == can_read) return;
538 pd->can_read = can_read; 538 pd->can_read = can_read;
539 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 539 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
540} 540}
541 541
542EOLIAN static Eina_Bool 542EOLIAN static Eina_Bool
@@ -599,7 +599,7 @@ _efl_net_socket_ssl_efl_io_writer_can_write_set(Eo *o, Efl_Net_Socket_Ssl_Data *
599 EINA_SAFETY_ON_NULL_RETURN(pd->sock); 599 EINA_SAFETY_ON_NULL_RETURN(pd->sock);
600 if (pd->can_write == can_write) return; 600 if (pd->can_write == can_write) return;
601 pd->can_write = can_write; 601 pd->can_write = can_write;
602 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 602 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
603} 603}
604 604
605EOLIAN static Eina_Bool 605EOLIAN static Eina_Bool
diff --git a/src/lib/ecore_con/efl_net_socket_windows.c b/src/lib/ecore_con/efl_net_socket_windows.c
index c69d0a8b6d..0aaa8ed221 100644
--- a/src/lib/ecore_con/efl_net_socket_windows.c
+++ b/src/lib/ecore_con/efl_net_socket_windows.c
@@ -816,7 +816,7 @@ _efl_net_socket_windows_efl_io_reader_can_read_set(Eo *o, Efl_Net_Socket_Windows
816 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o) && can_read); 816 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o) && can_read);
817 if (pd->can_read == can_read) return; 817 if (pd->can_read == can_read) return;
818 pd->can_read = can_read; 818 pd->can_read = can_read;
819 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 819 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
820} 820}
821 821
822EOLIAN static Eina_Bool 822EOLIAN static Eina_Bool
@@ -899,7 +899,7 @@ _efl_net_socket_windows_efl_io_writer_can_write_set(Eo *o, Efl_Net_Socket_Window
899 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o) && can_write); 899 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o) && can_write);
900 if (pd->can_write == can_write) return; 900 if (pd->can_write == can_write) return;
901 pd->can_write = can_write; 901 pd->can_write = can_write;
902 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 902 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
903} 903}
904 904
905EOLIAN static Eina_Bool 905EOLIAN static Eina_Bool
diff --git a/src/lib/efl/interfaces/efl_io_buffer.c b/src/lib/efl/interfaces/efl_io_buffer.c
index c0c505e6b8..62050d0309 100644
--- a/src/lib/efl/interfaces/efl_io_buffer.c
+++ b/src/lib/efl/interfaces/efl_io_buffer.c
@@ -232,7 +232,7 @@ _efl_io_buffer_efl_io_reader_can_read_set(Eo *o, Efl_Io_Buffer_Data *pd, Eina_Bo
232 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 232 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
233 if (pd->can_read == can_read) return; 233 if (pd->can_read == can_read) return;
234 pd->can_read = can_read; 234 pd->can_read = can_read;
235 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 235 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
236} 236}
237 237
238EOLIAN static Eina_Bool 238EOLIAN static Eina_Bool
@@ -322,7 +322,7 @@ _efl_io_buffer_efl_io_writer_can_write_set(Eo *o, Efl_Io_Buffer_Data *pd, Eina_B
322 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 322 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
323 if (pd->can_write == can_write) return; 323 if (pd->can_write == can_write) return;
324 pd->can_write = can_write; 324 pd->can_write = can_write;
325 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 325 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
326} 326}
327 327
328EOLIAN static Eina_Error 328EOLIAN static Eina_Error
diff --git a/src/lib/efl/interfaces/efl_io_queue.c b/src/lib/efl/interfaces/efl_io_queue.c
index 20f3e951ef..c30f7e8482 100644
--- a/src/lib/efl/interfaces/efl_io_queue.c
+++ b/src/lib/efl/interfaces/efl_io_queue.c
@@ -346,7 +346,7 @@ _efl_io_queue_efl_io_reader_can_read_set(Eo *o, Efl_Io_Queue_Data *pd, Eina_Bool
346 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 346 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
347 if (pd->can_read == can_read) return; 347 if (pd->can_read == can_read) return;
348 pd->can_read = can_read; 348 pd->can_read = can_read;
349 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, NULL); 349 efl_event_callback_call(o, EFL_IO_READER_EVENT_CAN_READ_CHANGED, (void*) (uintptr_t) can_read);
350} 350}
351 351
352EOLIAN static Eina_Bool 352EOLIAN static Eina_Bool
@@ -448,7 +448,7 @@ _efl_io_queue_efl_io_writer_can_write_set(Eo *o, Efl_Io_Queue_Data *pd, Eina_Boo
448 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o)); 448 EINA_SAFETY_ON_TRUE_RETURN(efl_io_closer_closed_get(o));
449 if (pd->can_write == can_write) return; 449 if (pd->can_write == can_write) return;
450 pd->can_write = can_write; 450 pd->can_write = can_write;
451 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, NULL); 451 efl_event_callback_call(o, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, (void*) (uintptr_t) can_write);
452} 452}
453 453
454EOLIAN static Eina_Error 454EOLIAN static Eina_Error
diff --git a/src/lib/efl/interfaces/efl_io_reader.eo b/src/lib/efl/interfaces/efl_io_reader.eo
index 0fa08b4798..ca5aea0b09 100644
--- a/src/lib/efl/interfaces/efl_io_reader.eo
+++ b/src/lib/efl/interfaces/efl_io_reader.eo
@@ -55,7 +55,7 @@ interface @beta Efl.Io.Reader {
55 } 55 }
56 56
57 events { 57 events {
58 can_read,changed: void; [[Notifies can_read property changed. 58 can_read,changed: bool; [[Notifies can_read property changed.
59 59
60 If @.can_read is $true there is data to 60 If @.can_read is $true there is data to
61 @.read without blocking/error. If 61 @.read without blocking/error. If
diff --git a/src/lib/efl/interfaces/efl_io_writer.eo b/src/lib/efl/interfaces/efl_io_writer.eo
index 295fe7c9e4..443f7b2c78 100644
--- a/src/lib/efl/interfaces/efl_io_writer.eo
+++ b/src/lib/efl/interfaces/efl_io_writer.eo
@@ -47,7 +47,7 @@ interface @beta Efl.Io.Writer {
47 } 47 }
48 48
49 events { 49 events {
50 can_write,changed: void; [[Notifies can_write property changed. 50 can_write,changed: bool; [[Notifies can_write property changed.
51 51
52 If @.can_write is $true there is data to 52 If @.can_write is $true there is data to
53 @.write without blocking/error. If 53 @.write without blocking/error. If