fix build for c++ after eolian api change
This commit is contained in:
parent
51b2789a35
commit
7d654b2065
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue