Summary: Depends on D7275
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7276
/* The following macro are internal to Ector only at this stage */
-static inline Eo *
-_efl_refplace(Eo **d, const Eo *s)
-{
- Eo *tmp = *d;
- *d = efl_ref(s);
- if (tmp) efl_unref(tmp);
- return *d;
-}
-
-static inline Eo *
-_efl_xrefplace(Eo **d, Eo *s, const Eo *ref_obj)
-{
- Eo *tmp = *d;
- *d = efl_xref(s, ref_obj);
- if (tmp) efl_xunref(tmp, ref_obj);
- return *d;
-}
-
typedef struct _Ector_Renderer_Data Ector_Renderer_Data;
typedef struct _Ector_Renderer_Gradient_Data Ector_Renderer_Gradient_Data;
typedef struct _Ector_Renderer_Gradient_Linear_Data Ector_Renderer_Gradient_Linear_Data;