savio pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8671a8d8e2a21a2af9164192b379413b9c9eb398

commit 8671a8d8e2a21a2af9164192b379413b9c9eb398
Author: Savio Sena <[email protected]>
Date:   Tue Sep 30 18:08:06 2014 -0300

    eolian-cxx: Add Eina_Bool* also to C++ interop.
---
 src/bindings/eo_cxx/eo_cxx_interop.hh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bindings/eo_cxx/eo_cxx_interop.hh 
b/src/bindings/eo_cxx/eo_cxx_interop.hh
index a6b3b37..cf643f1 100644
--- a/src/bindings/eo_cxx/eo_cxx_interop.hh
+++ b/src/bindings/eo_cxx/eo_cxx_interop.hh
@@ -37,6 +37,12 @@ to_c(bool x)
    return x ? EINA_TRUE : EINA_FALSE;
 }
 
+inline Eina_Bool*
+to_c(bool* x)
+{
+   return static_cast<Eina_Bool*>(x);
+}
+
 template <typename T>
 T to_c(T const& v, typename std::enable_if<!std::is_base_of<efl::eo::base, 
T>::value>::type* = 0)
 {

-- 


Reply via email to