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-03 16:52:03 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-03 17:22:12 -0300
commit8fec0d5139a3ff30037ba159bb62ff2f733d96a8 (patch)
tree0316d756b8150e9ef40d76668e5084fdb06af29a /src/lib/eldbus/eldbus_model_private.h
parent1dcccfdf8160ca6113d66c51c226302221b9a049 (diff)
eina: Remove unnecessary indirection to promises
Now when dealing with pointer types, we will not get pointer to pointer semantics in callbacks and eina_promise_owner_value_set for Eina_Promise. It will work as expected: Eina_Promise_Owner* promise = eina_promise_add(); void* p = malloc(sizeof(T)); eina_promise_owner_value_set(promise, p, &free);
Diffstat (limited to 'src/lib/eldbus/eldbus_model_private.h')
-rw-r--r--src/lib/eldbus/eldbus_model_private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/eldbus/eldbus_model_private.h b/src/lib/eldbus/eldbus_model_private.h
index 29d7bdd..eed5deb 100644
--- a/src/lib/eldbus/eldbus_model_private.h
+++ b/src/lib/eldbus/eldbus_model_private.h
@@ -23,8 +23,6 @@ struct _Eldbus_Property_Promise
23 Eina_Promise_Owner* promise; 23 Eina_Promise_Owner* promise;
24}; 24};
25 25
26void _accessor_free(void *data);
27
28/* logging support */ 26/* logging support */
29extern int eldbus_model_log_dom; 27extern int eldbus_model_log_dom;
30 28