summaryrefslogtreecommitdiff
path: root/src/lib/efl/Efl.hh
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-23 13:51:10 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-05 10:14:03 +0900
commit63725d71fda340986345725e2df3fcbaaa573649 (patch)
tree30c2990dc88b3252bac4221f5f9442e03d628d10 /src/lib/efl/Efl.hh
parent0f5d40e6d4628cc38305fe0a72702f58817c9e69 (diff)
cxx: Implement proper part support (wrt. refs)
It's VERY hacky, but works as expected: no leak, no extra unref. This is a lucky case of simply overriding efl_part() implementation in C++, without having to modify the declaration.
Diffstat (limited to 'src/lib/efl/Efl.hh')
-rw-r--r--src/lib/efl/Efl.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/efl/Efl.hh b/src/lib/efl/Efl.hh
index 20dfc1a90d..a7efc5f8f6 100644
--- a/src/lib/efl/Efl.hh
+++ b/src/lib/efl/Efl.hh
@@ -3,7 +3,12 @@
3 3
4#ifdef EFL_BETA_API_SUPPORT 4#ifdef EFL_BETA_API_SUPPORT
5 5
6#define EFL_PART_IMPL_HH
7#define EFL_OBJECT_BETA
8#define EFL_OBJECT_PROTECTED
9
6#include <Efl.eo.hh> 10#include <Efl.eo.hh>
11#include "cxx/efl_part_impl.hh"
7 12
8#endif 13#endif
9#endif 14#endif