summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_io_buffered_stream.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-04-17 16:17:29 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit33fd77e9e43b0fa29cb484b72d910bdf0ecccbc8 (patch)
tree0ebd1c0615445af5e1321a85b6878087b4cb54a8 /src/lib/ecore/efl_io_buffered_stream.c
parent193149deb85004aeda452dd4d729f995f4f313f9 (diff)
ecore: move close_on_destructor to close_on_invalidate as that describe the behavior best.
Fix all use to correctly behave on invalidate.
Diffstat (limited to 'src/lib/ecore/efl_io_buffered_stream.c')
-rw-r--r--src/lib/ecore/efl_io_buffered_stream.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ecore/efl_io_buffered_stream.c b/src/lib/ecore/efl_io_buffered_stream.c
index 3f34aca9fc..3a0921f959 100644
--- a/src/lib/ecore/efl_io_buffered_stream.c
+++ b/src/lib/ecore/efl_io_buffered_stream.c
@@ -227,15 +227,15 @@ _efl_io_buffered_stream_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_I
227} 227}
228 228
229EOLIAN static Eina_Bool 229EOLIAN static Eina_Bool
230_efl_io_buffered_stream_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) 230_efl_io_buffered_stream_efl_io_closer_close_on_invalidate_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd)
231{ 231{
232 return efl_io_closer_close_on_destructor_get(pd->inner_io); 232 return efl_io_closer_close_on_invalidate_get(pd->inner_io);
233} 233}
234 234
235EOLIAN static void 235EOLIAN static void
236_efl_io_buffered_stream_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd, Eina_Bool value) 236_efl_io_buffered_stream_efl_io_closer_close_on_invalidate_set(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd, Eina_Bool value)
237{ 237{
238 efl_io_closer_close_on_destructor_set(pd->inner_io, value); 238 efl_io_closer_close_on_invalidate_set(pd->inner_io, value);
239} 239}
240 240
241EOLIAN static Eina_Error 241EOLIAN static Eina_Error
@@ -369,7 +369,7 @@ _efl_io_buffered_stream_inner_io_set(Eo *o, Efl_Io_Buffered_Stream_Data *pd, Efl
369 efl_io_copier_buffer_limit_set(efl_added, 4096), 369 efl_io_copier_buffer_limit_set(efl_added, 4096),
370 efl_io_copier_source_set(efl_added, io), 370 efl_io_copier_source_set(efl_added, io),
371 efl_io_copier_destination_set(efl_added, pd->incoming), 371 efl_io_copier_destination_set(efl_added, pd->incoming),
372 efl_io_closer_close_on_destructor_set(efl_added, efl_io_closer_close_on_destructor_get(io)), 372 efl_io_closer_close_on_invalidate_set(efl_added, efl_io_closer_close_on_invalidate_get(io)),
373 efl_event_callback_array_add(efl_added, _efl_io_buffered_stream_receiver_cbs(), o)); 373 efl_event_callback_array_add(efl_added, _efl_io_buffered_stream_receiver_cbs(), o));
374 EINA_SAFETY_ON_NULL_RETURN(pd->receiver); 374 EINA_SAFETY_ON_NULL_RETURN(pd->receiver);
375 } 375 }
@@ -394,7 +394,7 @@ _efl_io_buffered_stream_inner_io_set(Eo *o, Efl_Io_Buffered_Stream_Data *pd, Efl
394 efl_io_copier_buffer_limit_set(efl_added, 4096), 394 efl_io_copier_buffer_limit_set(efl_added, 4096),
395 efl_io_copier_source_set(efl_added, pd->outgoing), 395 efl_io_copier_source_set(efl_added, pd->outgoing),
396 efl_io_copier_destination_set(efl_added, io), 396 efl_io_copier_destination_set(efl_added, io),
397 efl_io_closer_close_on_destructor_set(efl_added, efl_io_closer_close_on_destructor_get(io)), 397 efl_io_closer_close_on_invalidate_set(efl_added, efl_io_closer_close_on_invalidate_get(io)),
398 efl_event_callback_array_add(efl_added, _efl_io_buffered_stream_sender_cbs(), o)); 398 efl_event_callback_array_add(efl_added, _efl_io_buffered_stream_sender_cbs(), o));
399 EINA_SAFETY_ON_NULL_RETURN(pd->sender); 399 EINA_SAFETY_ON_NULL_RETURN(pd->sender);
400 } 400 }