summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/database_validate.c')
-rw-r--r--src/lib/eolian/database_validate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index 67229edea5..15ac5756b5 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -200,7 +200,7 @@ _validate_type(Validate_State *vals, Eolian_Type *tp)
200 const Eolian_Unit *src = tp->base.unit; 200 const Eolian_Unit *src = tp->base.unit;
201 201
202 char buf[256]; 202 char buf[256];
203 if (tp->owned && !database_type_is_ownable(src, tp)) 203 if (tp->owned && !database_type_is_ownable(src, tp, EINA_FALSE))
204 { 204 {
205 snprintf(buf, sizeof(buf), "type '%s' is not ownable", tp->base.name); 205 snprintf(buf, sizeof(buf), "type '%s' is not ownable", tp->base.name);
206 return _obj_error(&tp->base, buf); 206 return _obj_error(&tp->base, buf);
@@ -209,7 +209,7 @@ _validate_type(Validate_State *vals, Eolian_Type *tp)
209 if (tp->is_ptr && !tp->legacy) 209 if (tp->is_ptr && !tp->legacy)
210 { 210 {
211 tp->is_ptr = EINA_FALSE; 211 tp->is_ptr = EINA_FALSE;
212 Eina_Bool still_ownable = database_type_is_ownable(src, tp); 212 Eina_Bool still_ownable = database_type_is_ownable(src, tp, EINA_FALSE);
213 tp->is_ptr = EINA_TRUE; 213 tp->is_ptr = EINA_TRUE;
214 if (still_ownable) 214 if (still_ownable)
215 { 215 {
@@ -238,9 +238,9 @@ _validate_type(Validate_State *vals, Eolian_Type *tp)
238 { 238 {
239 if (!_validate_type(vals, itp)) 239 if (!_validate_type(vals, itp))
240 return EINA_FALSE; 240 return EINA_FALSE;
241 if ((kwid >= KW_accessor) && (kwid <= KW_list)) 241 if ((kwid >= KW_accessor) && (kwid <= KW_list) && (kwid != KW_future))
242 { 242 {
243 if (!database_type_is_ownable(src, itp)) 243 if (!database_type_is_ownable(src, itp, EINA_TRUE))
244 { 244 {
245 snprintf(buf, sizeof(buf), 245 snprintf(buf, sizeof(buf),
246 "%s cannot contain value types (%s)", 246 "%s cannot contain value types (%s)",