eo: make efl_future_then have a data pointer in addition of the object pointer.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 7 Dec 2018 11:15:16 +0000 (12:15 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:20:08 +0000 (13:20 +0900)
commit86254969e56c97ec27180fbb75fdf5f179d959b3
tree4c6973b0e622a29f0f9d0cf2fa5cdaecdfc92384
parentacea243001b4e9e1c0e9aeea87230e4a91e24c67
eo: make efl_future_then have a data pointer in addition of the object pointer.

Summary:
In the case when you have multiple future in flight related to one object, you
couldn't use the previous version of efl_future_then. Now all function calls
take a void* pointer that allow multiple future to have their private data
request data accessible in all the callback.

This should not break released API as Eo.h is not released yet and so
was efl_future_Eina_FutureXXX_then.

Depends on D7332

Reviewers: felipealmeida, segfaultxavi, vitor.sousa, SanghyeonLee, bu5hm4n

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

Differential Revision: https://phab.enlightenment.org/D7379
12 files changed:
src/lib/ecore/efl_io_copier.c
src/lib/ecore_con/efl_net_dialer_http.c
src/lib/ecore_con/efl_net_dialer_ssl.c
src/lib/ecore_con/efl_net_dialer_tcp.c
src/lib/ecore_con/efl_net_dialer_udp.c
src/lib/ecore_con/efl_net_dialer_unix.c
src/lib/ecore_con/efl_net_dialer_websocket.c
src/lib/ecore_con/efl_net_server_windows.c
src/lib/eina/eina_promise_private.h
src/lib/eo/Eo.h
src/lib/eo/eo_base_class.c
src/tests/ecore/efl_app_test_promise.c