summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eo_cxx/eo_wref.hh
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-22 17:17:04 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-05 10:14:03 +0900
commit753304c69d27a5303e742dffaaff6f6230c3211b (patch)
tree89817211f34ec95915863f24857da916db02fb45 /src/bindings/cxx/eo_cxx/eo_wref.hh
parent425d8db90f9b67ab9645216a71bbba651cc54732 (diff)
cxx: Add define EFL_CXXPERIMENTAL for testing
I'll hide some controversial features behind this, until we come to an agreement with @felipealmeida and people who actually know C++ (iow: not just me^^). Features protected: - easy wref (using -> without locking) - xxx_event_cb_add() functions in object classes - instantiate(obj) to create a new object - add as a synonym for instantiate (both in efl::eo)
Diffstat (limited to 'src/bindings/cxx/eo_cxx/eo_wref.hh')
-rw-r--r--src/bindings/cxx/eo_cxx/eo_wref.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/cxx/eo_cxx/eo_wref.hh b/src/bindings/cxx/eo_cxx/eo_wref.hh
index e28409c513..aed6d699d0 100644
--- a/src/bindings/cxx/eo_cxx/eo_wref.hh
+++ b/src/bindings/cxx/eo_cxx/eo_wref.hh
@@ -123,7 +123,7 @@ struct wref
123 return *this; 123 return *this;
124 } 124 }
125 125
126#ifdef EFL_CXX_WREF_EASY 126#ifdef EFL_CXXPERIMENTAL
127 T operator->() const { 127 T operator->() const {
128 if (!_eo_wref) return T(nullptr); 128 if (!_eo_wref) return T(nullptr);
129 return T(detail::ref(_eo_wref)); 129 return T(detail::ref(_eo_wref));