summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-13 01:17:18 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-13 01:17:18 -0300
commite5884c95fa19bcde5fd61179d90c75b4059c2508 (patch)
tree97cc9c6ff687738154e9cab9f0510d36cba6878e /src/bindings
parent39a565e538f5f2c41bdfc6663bae76500bfbc5ea (diff)
downloadefl-e5884c95fa19bcde5fd61179d90c75b4059c2508.tar.gz
eolian-cxx: Fix C++ compilation for lacking .eo files being generated
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/cxx/eo_cxx/eo_cxx_interop.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
index eb06ef1e2c..f90e4f79e5 100644
--- a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
+++ b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
@@ -442,7 +442,12 @@ eina::range_array<T> convert_to_return(Eina_Array const* value, tag<Eina_Array c
template <typename T>
eina::iterator<T> convert_to_return(Eina_Iterator* value, tag<Eina_Iterator*, eina::iterator<T>>)
{
- return eina::iterator<T>{value};
+ return eina::iterator<T>{ value };
+}
+template <typename T>
+eina::accessor<T> convert_to_return(Eina_Accessor* value, tag<Eina_Accessor*, eina::accessor<T>>)
+{
+ return eina::accessor<T>{ value };
}
template <typename T>
struct is_future : std::false_type {};