forked from enlightenment/efl
evas vg: remove redundant function code.
This commit is contained in:
parent
01864e166b
commit
3f17b4f054
|
@ -143,24 +143,6 @@ _efl_canvas_vg_node_changed(Eo *obj)
|
||||||
if (obj) efl_event_callback_call(obj, EFL_GFX_PATH_EVENT_CHANGED, &ev);
|
if (obj) efl_event_callback_call(obj, EFL_GFX_PATH_EVENT_CHANGED, &ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void *
|
|
||||||
_efl_vg_realloc(void *from, unsigned int sz)
|
|
||||||
{
|
|
||||||
void *result;
|
|
||||||
|
|
||||||
result = sz > 0 ? realloc(from, sz) : NULL;
|
|
||||||
if (!result) free(from);
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_efl_vg_clean_object(Eo **obj)
|
|
||||||
{
|
|
||||||
if (*obj) efl_unref(*obj);
|
|
||||||
*obj = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define EFL_CANVAS_VG_COMPUTE_MATRIX(Current, Parent, Nd) \
|
#define EFL_CANVAS_VG_COMPUTE_MATRIX(Current, Parent, Nd) \
|
||||||
Eina_Matrix3 *Current = Nd->m; \
|
Eina_Matrix3 *Current = Nd->m; \
|
||||||
Eina_Matrix3 _matrix_tmp; \
|
Eina_Matrix3 _matrix_tmp; \
|
||||||
|
|
Loading…
Reference in New Issue