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)
downloadefl-0b6e8f71f1468a7c5a7d77d1514e8e0aeeb93865.tar.gz
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,
case EOLIAN_PROP_GET:
if ((fid->type != EOLIAN_PROP_GET) && (fid->type != EOLIAN_PROPERTY))
return EINA_FALSE;
- return !fid->get_return_move;
+ return fid->get_return_move;
case EOLIAN_PROP_SET:
if ((fid->type != EOLIAN_PROP_SET) && (fid->type != EOLIAN_PROPERTY))
return EINA_FALSE;
- return !fid->set_return_move;
+ return fid->set_return_move;
default:
return EINA_FALSE;
}
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,
eo_lexer_get(ls);
break;
case KW_at_owned:
+ case KW_at_move:
CASE_LOCK(ls, owned, "owned qualifier");
par->type->owned = par->move = EINA_TRUE;
eo_lexer_get(ls);