summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-02 15:23:21 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-02 15:24:14 +0200
commit0b6e8f71f1468a7c5a7d77d1514e8e0aeeb93865 (patch)
treed380a75c73e0393bfc36182e23d7134697876cde /src/lib/eolian
parentb530670058a46654a9db2c9a9caaf29a7d60f1cc (diff)
eolian: move all tests to use the new @move syntax and API
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/database_function_api.c4
-rw-r--r--src/lib/eolian/eo_parser.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/eolian/database_function_api.c b/src/lib/eolian/database_function_api.c
index dfe66a9490..afff0ae416 100644
--- a/src/lib/eolian/database_function_api.c
+++ b/src/lib/eolian/database_function_api.c
@@ -328,11 +328,11 @@ eolian_function_return_is_move(const Eolian_Function *fid,
328 case EOLIAN_PROP_GET: 328 case EOLIAN_PROP_GET:
329 if ((fid->type != EOLIAN_PROP_GET) && (fid->type != EOLIAN_PROPERTY)) 329 if ((fid->type != EOLIAN_PROP_GET) && (fid->type != EOLIAN_PROPERTY))
330 return EINA_FALSE; 330 return EINA_FALSE;
331 return !fid->get_return_move; 331 return fid->get_return_move;
332 case EOLIAN_PROP_SET: 332 case EOLIAN_PROP_SET:
333 if ((fid->type != EOLIAN_PROP_SET) && (fid->type != EOLIAN_PROPERTY)) 333 if ((fid->type != EOLIAN_PROP_SET) && (fid->type != EOLIAN_PROPERTY))
334 return EINA_FALSE; 334 return EINA_FALSE;
335 return !fid->set_return_move; 335 return fid->set_return_move;
336 default: 336 default:
337 return EINA_FALSE; 337 return EINA_FALSE;
338 } 338 }
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index cb806a387a..04a16c2502 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -1131,6 +1131,7 @@ parse_param(Eo_Lexer *ls, Eina_List **params, Eina_Bool allow_inout,
1131 eo_lexer_get(ls); 1131 eo_lexer_get(ls);
1132 break; 1132 break;
1133 case KW_at_owned: 1133 case KW_at_owned:
1134 case KW_at_move:
1134 CASE_LOCK(ls, owned, "owned qualifier"); 1135 CASE_LOCK(ls, owned, "owned qualifier");
1135 par->type->owned = par->move = EINA_TRUE; 1136 par->type->owned = par->move = EINA_TRUE;
1136 eo_lexer_get(ls); 1137 eo_lexer_get(ls);