summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index 10b8b49b25..b2283d3c6a 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -143,24 +143,6 @@ _efl_canvas_vg_node_changed(Eo *obj)
143 if (obj) efl_event_callback_call(obj, EFL_GFX_PATH_EVENT_CHANGED, &ev); 143 if (obj) efl_event_callback_call(obj, EFL_GFX_PATH_EVENT_CHANGED, &ev);
144} 144}
145 145
146static inline void *
147_efl_vg_realloc(void *from, unsigned int sz)
148{
149 void *result;
150
151 result = sz > 0 ? realloc(from, sz) : NULL;
152 if (!result) free(from);
153
154 return result;
155}
156
157static inline void
158_efl_vg_clean_object(Eo **obj)
159{
160 if (*obj) efl_unref(*obj);
161 *obj = NULL;
162}
163
164#define EFL_CANVAS_VG_COMPUTE_MATRIX(Current, Parent, Nd) \ 146#define EFL_CANVAS_VG_COMPUTE_MATRIX(Current, Parent, Nd) \
165 Eina_Matrix3 *Current = Nd->m; \ 147 Eina_Matrix3 *Current = Nd->m; \
166 Eina_Matrix3 _matrix_tmp; \ 148 Eina_Matrix3 _matrix_tmp; \