summaryrefslogtreecommitdiff
path: root/src/bindings/eo_cxx/eo_inherit.hh
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-03-09 15:46:19 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-03-09 15:46:19 -0300
commit48f62ad686d11c97ec62b1ba528262edf39cafbf (patch)
treea00ca3c622b01df549db52dfe841ddc799b67773 /src/bindings/eo_cxx/eo_inherit.hh
parentd2fba6c5959f82f35984167131d3b67207780f48 (diff)
cxx: Migrate C++ binding to the new eo_add syntax
Diffstat (limited to 'src/bindings/eo_cxx/eo_inherit.hh')
-rw-r--r--src/bindings/eo_cxx/eo_inherit.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bindings/eo_cxx/eo_inherit.hh b/src/bindings/eo_cxx/eo_inherit.hh
index 9639e33e4a..1d3d3125ff 100644
--- a/src/bindings/eo_cxx/eo_inherit.hh
+++ b/src/bindings/eo_cxx/eo_inherit.hh
@@ -83,9 +83,10 @@ struct inherit
83 /// 83 ///
84 template<typename... Args> 84 template<typename... Args>
85 inherit(efl::eo::parent_type _p, Args&& ... args) 85 inherit(efl::eo::parent_type _p, Args&& ... args)
86 : _eo_cls(nullptr), _eo_raw(nullptr)
86 { 87 {
87 _eo_cls = detail::create_class<D, E...> (eina::make_index_sequence<sizeof...(E)>()); 88 _eo_cls = detail::create_class<D, E...> (eina::make_index_sequence<sizeof...(E)>());
88 _eo_raw = eo_add_ref(_eo_cls, _p._eo_raw, detail::inherit_constructor(eoid, this), ::efl::eolian::call_ctors(eoid, args...)); 89 eo_add_ref(&_eo_raw, _eo_cls, _p._eo_raw, detail::inherit_constructor(_eo_raw, this), ::efl::eolian::call_ctors(_eo_raw, args...));
89 ::efl::eolian::register_ev_del_free_callback(_eo_raw, args...); 90 ::efl::eolian::register_ev_del_free_callback(_eo_raw, args...);
90 } 91 }
91 92