forked from enlightenment/efl
efl gfx path - implement destructor and thus fix leak
This commit is contained in:
parent
e0ad216aee
commit
38be95b0b6
|
@ -1529,4 +1529,10 @@ _efl_gfx_path_copy_from(Eo *obj, Efl_Gfx_Path_Data *pd, const Eo *dup_from)
|
||||||
_efl_gfx_path_path_set(obj, pd, from->commands, from->points);
|
_efl_gfx_path_path_set(obj, pd, from->commands, from->points);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EOLIAN static void
|
||||||
|
_efl_gfx_path_efl_object_destructor(Eo *obj, Efl_Gfx_Path_Data *pd)
|
||||||
|
{
|
||||||
|
_efl_gfx_path_reset(obj, pd);
|
||||||
|
}
|
||||||
|
|
||||||
#include "interfaces/efl_gfx_path.eo.c"
|
#include "interfaces/efl_gfx_path.eo.c"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import eina_types;
|
import eina_types;
|
||||||
import efl_gfx_types;
|
import efl_gfx_types;
|
||||||
|
|
||||||
mixin @beta Efl.Gfx.Path
|
mixin @beta Efl.Gfx.Path requires Efl.Object
|
||||||
{
|
{
|
||||||
[[EFL graphics path object interface]]
|
[[EFL graphics path object interface]]
|
||||||
methods {
|
methods {
|
||||||
|
@ -271,4 +271,7 @@ mixin @beta Efl.Gfx.Path
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
implements {
|
||||||
|
Efl.Object.destructor;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue