eolian_mono: small correction when checking for iterator and accessor parameters

This commit is contained in:
Vitor Sousa 2019-06-27 14:27:34 -03:00
parent 967e32d27a
commit e4a5374d3e
1 changed files with 1 additions and 1 deletions

View File

@ -1367,7 +1367,7 @@ struct native_convert_return_generator
// Iterators and Accessors can't own their content.
if (ret_type.c_type != "Eina_Iterator *" && ret_type.c_type != "const Eina_Iterator *"
|| ret_type.c_type != "Eina_Accessor *" && ret_type.c_type != "const Eina_Accessor *"
&& ret_type.c_type != "Eina_Accessor *" && ret_type.c_type != "const Eina_Accessor *"
)
{
if (complex->subtypes.front().has_own && !as_generator("_ret_var.OwnContent = false; ")