summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_private.h
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-16 21:50:37 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-16 22:01:07 -0300
commit8e4f383d61188020d5ceeee691fd7df761f10202 (patch)
treeb747603d70956b51d2ba719a3c4cfb710904bbb4 /src/lib/eldbus/eldbus_model_private.h
parent52e2774523209655e868d1244f0e2dd3b2d44491 (diff)
efl: Move promise parameter to return in data model
Summary: Instead of: efl_model_property_get("name", &promise); now: promise = efl_model_property_get("name"); Reviewers: stefan_schmidt, cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4038
Diffstat (limited to 'src/lib/eldbus/eldbus_model_private.h')
-rw-r--r--src/lib/eldbus/eldbus_model_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eldbus/eldbus_model_private.h b/src/lib/eldbus/eldbus_model_private.h
index eed5deb..b4fb49b 100644
--- a/src/lib/eldbus/eldbus_model_private.h
+++ b/src/lib/eldbus/eldbus_model_private.h
@@ -26,13 +26,13 @@ struct _Eldbus_Property_Promise
26/* logging support */ 26/* logging support */
27extern int eldbus_model_log_dom; 27extern int eldbus_model_log_dom;
28 28
29#define ELDBUS_MODEL_ON_ERROR_EXIT_PROMISE_SET(exp, promise, err) \ 29#define ELDBUS_MODEL_ON_ERROR_EXIT_PROMISE_SET(exp, promise, err, v) \
30 do \ 30 do \
31 { \ 31 { \
32 if (EINA_UNLIKELY(!(exp))) \ 32 if (EINA_UNLIKELY(!(exp))) \
33 { \ 33 { \
34 eina_promise_owner_error_set(promise, err); \ 34 eina_promise_owner_error_set(promise, err); \
35 return; \ 35 return v; \
36 } \ 36 } \
37 } \ 37 } \
38 while(0) 38 while(0)