summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_promise.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_promise.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index e9d4461e55..1937c17d90 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -1096,13 +1096,6 @@ eina_future_cb_convert_to(const Eina_Value_Type *type)
1096 return (Eina_Future_Desc){.cb = _eina_future_cb_convert_to, .data = type}; 1096 return (Eina_Future_Desc){.cb = _eina_future_cb_convert_to, .data = type};
1097} 1097}
1098 1098
1099EAPI void *
1100eina_promise_data_get(const Eina_Promise *p)
1101{
1102 EINA_SAFETY_ON_NULL_RETURN_VAL(p, NULL);
1103 return (void *)p->data;
1104}
1105
1106static Eina_Value 1099static Eina_Value
1107_eina_future_cb_easy(void *data, const Eina_Value value, 1100_eina_future_cb_easy(void *data, const Eina_Value value,
1108 const Eina_Future *dead_future) 1101 const Eina_Future *dead_future)