summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-07-26 14:13:22 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-07-26 14:13:50 +0200
commit1348569bfa08eedd4e851de00f838bf3431fd931 (patch)
treef9e0163b720c912ae5fa23b4df8a089120ab5ed6 /src/lib/eolian
parentc9f82d8e5d2ac6d8d5e7cc1aa9e6019ef63ede9d (diff)
eolian: allow value types in owning containers (list/array/etc)
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/database_validate.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index eb818750a4..7f09d43299 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -257,16 +257,6 @@ _validate_type(Validate_State *vals, Eolian_Type *tp)
257 { 257 {
258 if (!_validate_type(vals, itp)) 258 if (!_validate_type(vals, itp))
259 return EINA_FALSE; 259 return EINA_FALSE;
260 if (kwid == KW_array || kwid == KW_hash || kwid == KW_list)
261 {
262 if (!database_type_is_ownable(src, itp, EINA_TRUE))
263 {
264 _eo_parser_log(&itp->base,
265 "%s cannot contain value types (%s)",
266 tp->base.name, itp->base.name);
267 return EINA_FALSE;
268 }
269 }
270 itp = itp->next_type; 260 itp = itp->next_type;
271 } 261 }
272 return _validate_ownable(tp); 262 return _validate_ownable(tp);