diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2018-05-03 16:34:17 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2018-05-24 16:02:18 -0700 |
commit | 8a513a522e90253ce7ec85e92c7bc58dfb22a2bc (patch) | |
tree | abeafb5e5bce67ed685e4e82f0d756de46ef60ec /src/lib/efl/Efl.hh | |
parent | c28eb28728c280d3fd19ef46790fce6f9465d4f5 (diff) |
efl: major rewrite of efl_part.
The interface efl_part_get should not be directly called from C, but the efl_part
wrapper should. It rely on efl_noref to properly destroy the object. Binding can
control the lifecycle of the reference the way they want by either calling the
wrapper or efl_part_get directly. It also means that the ugly ___efl_auto_unref_set
doesn't need to be exposed outside of EFL anymore.
Differential Revision: https://phab.enlightenment.org/D6098
Diffstat (limited to 'src/lib/efl/Efl.hh')
-rw-r--r-- | src/lib/efl/Efl.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efl/Efl.hh b/src/lib/efl/Efl.hh index e6473eafce..19cfb37c60 100644 --- a/src/lib/efl/Efl.hh +++ b/src/lib/efl/Efl.hh | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef EFL_EFL_HH | 1 | #ifndef EFL_EFL_HH |
2 | #define EFL_EFL_HH | 2 | #define EFL_EFL_HH |
3 | 3 | ||
4 | #define EFL_PART_PROTECTED | ||
5 | |||
4 | #include "cxx/efl_part_impl.hh" | 6 | #include "cxx/efl_part_impl.hh" |
5 | 7 | ||
6 | #include <Eo.hh> | 8 | #include <Eo.hh> |