int h;
};
-void cb(void* data EINA_UNUSED, void* value, Eina_Promise* promise EINA_UNUSED)
+void cb(void* data EINA_UNUSED, void* value)
{
struct value_type* p = value;
volatile int v = p->x * p->y * p->w * p->h;
(void)v;
}
-void pointer_cb(void* data EINA_UNUSED, void* value, Eina_Promise* promise EINA_UNUSED)
+void pointer_cb(void* data EINA_UNUSED, void* value)
{
- struct value_type* p = *(struct value_type**)value;
+ struct value_type* p = value;
volatile int v = p->x * p->y * p->w * p->h;
(void)v;
}
static void indirect_free(void* p)
{
- free(*(void**)p);
+ free(p);
}
static void