Eolian: set default value when no set/get is defined on a property.

If no set/get is defined in a property, the type will be set as
EOLIAN_PROPERTY, meaning set and get.
This commit is contained in:
Daniel Zaoui 2014-06-08 08:58:46 +03:00
parent 75175d7eaf
commit d56359c74b
2 changed files with 2 additions and 0 deletions

View File

@ -4624,6 +4624,7 @@ eo_tokenizer_database_fill(const char *filename)
}
}
}
if (!prop->accessors) database_function_type_set(foo_id, EOLIAN_PROPERTY);
database_class_function_add(class, foo_id);
}

View File

@ -1490,6 +1490,7 @@ eo_tokenizer_database_fill(const char *filename)
}
}
}
if (!prop->accessors) database_function_type_set(foo_id, EOLIAN_PROPERTY);
database_class_function_add(class, foo_id);
}