summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-27 15:38:28 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-27 15:43:47 +0100
commitb69b90832f5c80bb3df29fb94593b315d0d75197 (patch)
treee35c133d8ecc78d2fdd63fed1f3916041320b55e /src/bin/eolian_cxx
parent1a76690abfbe5c709695ff84aa90b51242f4e469 (diff)
eolian: remove constructors section cruft
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/convert.cc5
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh3
2 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/eolian_cxx/convert.cc b/src/bin/eolian_cxx/convert.cc
index 3f20f73a18..56f2c06869 100644
--- a/src/bin/eolian_cxx/convert.cc
+++ b/src/bin/eolian_cxx/convert.cc
@@ -212,7 +212,8 @@ convert_eolian_implements(efl::eolian::eo_class& cls, Eolian_Class const& klass)
212 const Eolian_Class *impl_class = eolian_implement_class_get(impl_desc); 212 const Eolian_Class *impl_class = eolian_implement_class_get(impl_desc);
213 Eolian_Function_Type impl_type; 213 Eolian_Function_Type impl_type;
214 const Eolian_Function *impl_func = eolian_implement_function_get(impl_desc, &impl_type); 214 const Eolian_Function *impl_func = eolian_implement_function_get(impl_desc, &impl_type);
215 if (impl_type == EOLIAN_CTOR) 215 /* fixme */
216 if (eolian_function_is_constructing(impl_func))
216 { 217 {
217 efl::eolian::eo_constructor constructor; 218 efl::eolian::eo_constructor constructor;
218 std::string parent = safe_lower(eolian_class_full_name_get(impl_class)); 219 std::string parent = safe_lower(eolian_class_full_name_get(impl_class));
@@ -236,6 +237,7 @@ convert_eolian_constructors(efl::eolian::eo_class& cls, Eolian_Class const& klas
236 EINA_ITERATOR_FOREACH(constructors, curr) 237 EINA_ITERATOR_FOREACH(constructors, curr)
237 { 238 {
238 Eolian_Function *eo_constructor = static_cast<Eolian_Function*>(curr); 239 Eolian_Function *eo_constructor = static_cast<Eolian_Function*>(curr);
240 /* fixme */
239 if (!eolian_function_is_constructing(eo_constructor)) 241 if (!eolian_function_is_constructing(eo_constructor))
240 continue; 242 continue;
241 efl::eolian::eo_constructor constructor; 243 efl::eolian::eo_constructor constructor;
@@ -258,6 +260,7 @@ convert_eolian_functions(efl::eolian::eo_class& cls, Eolian_Class const& klass)
258 { 260 {
259 efl::eolian::eo_function func_; 261 efl::eolian::eo_function func_;
260 Eolian_Function *eol_func = static_cast<Eolian_Function*>(curr); 262 Eolian_Function *eol_func = static_cast<Eolian_Function*>(curr);
263 /* fixme */
261 if (eolian_function_is_constructing(eol_func)) 264 if (eolian_function_is_constructing(eol_func))
262 continue; 265 continue;
263 // XXX Eolian only provides regular methods so far 266 // XXX Eolian only provides regular methods so far
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index 5912c3ef00..fc8e808adc 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -25,7 +25,8 @@ getter_t const getter = {};
25struct method_t { static constexpr ::Eolian_Function_Type value = ::EOLIAN_METHOD; }; 25struct method_t { static constexpr ::Eolian_Function_Type value = ::EOLIAN_METHOD; };
26method_t const method = {}; 26method_t const method = {};
27 27
28struct ctor_t { static constexpr ::Eolian_Function_Type value = ::EOLIAN_CTOR; }; 28/* fixme */
29struct ctor_t { static constexpr ::Eolian_Function_Type value = ::EOLIAN_METHOD; };
29ctor_t const ctor = {}; 30ctor_t const ctor = {};
30 31
31inline const Eolian_Class* 32inline const Eolian_Class*