summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-11-03 22:48:09 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-11-03 22:48:09 +0900
commit7d654b20653d74382f7bb1024b281007f363ca7d (patch)
tree43f2aaacfcbfec6c2195ed46abe49e5b6b96055e
parent51b2789a353b81e7fd89781acae782b34908985b (diff)
downloadefl-7d654b20653d74382f7bb1024b281007f363ca7d.tar.gz
fix build for c++ after eolian api change
-rw-r--r--src/bin/eolian_js/main.cc4
-rw-r--r--src/lib/eolian_cxx/grammar/qualifier_def.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian_js/main.cc b/src/bin/eolian_js/main.cc
index 14d4e65e2b..bbac549644 100644
--- a/src/bin/eolian_js/main.cc
+++ b/src/bin/eolian_js/main.cc
@@ -329,7 +329,7 @@ _function_is_generatable(const Eolian_Function *function, Eolian_Function_Type f
if (!_type_is_generatable(tp, add_pointer))
return false;
- if (eolian_type_is_ref(tp) && _function_belongs_to(function, "Efl.Object"))
+ if (eolian_type_is_ptr(tp) && _function_belongs_to(function, "Efl.Object"))
return false;
}
@@ -687,7 +687,7 @@ int main(int argc, char** argv)
EINA_CXX_DOM_LOG_ERR(eolian::js::domain) << "Could not get struct field name";
continue;
}
- if (should_reject_ref && eolian_type_is_ref(field_type))
+ if (should_reject_ref && eolian_type_is_ptr(field_type))
{
has_ref_field = true;
break;
diff --git a/src/lib/eolian_cxx/grammar/qualifier_def.hpp b/src/lib/eolian_cxx/grammar/qualifier_def.hpp
index b43b2f1b8f..526b609212 100644
--- a/src/lib/eolian_cxx/grammar/qualifier_def.hpp
+++ b/src/lib/eolian_cxx/grammar/qualifier_def.hpp
@@ -76,7 +76,7 @@ inline qualifier_info qualifiers(Eolian_Type const* type)
{
qualifier_info is_own = ::eolian_type_is_own(type) ? qualifier_info::is_own : qualifier_info::is_none;
qualifier_info is_const = ::eolian_type_is_const(type) ? qualifier_info::is_const : qualifier_info::is_none;
- qualifier_info is_ref = ::eolian_type_is_ref(type) ? qualifier_info::is_ref : qualifier_info::is_none;
+ qualifier_info is_ref = ::eolian_type_is_ptr(type) ? qualifier_info::is_ref : qualifier_info::is_none;
return is_own | is_const | is_ref;
}