summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-08-29 14:43:41 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-08-29 15:06:08 +0200
commit54d97005668996322a743771def5f9cf17a16755 (patch)
tree7850392d03c5f845b8029fbc22f24da8867ff927 /src/lib/eolian
parent080f75e8c9fe420d081d5d77b5822939cbd0f9d6 (diff)
eolian: reverse keywords '@transfer' and '@by_ref'
The '@transfer' keyword is a clearer replacement for '@owned'. It will be specified on params/returns/... to specify that ownership will be transferred between caller/callee.
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/eo_lexer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h
index 1611b24619..836f06152b 100644
--- a/src/lib/eolian/eo_lexer.h
+++ b/src/lib/eolian/eo_lexer.h
@@ -33,11 +33,11 @@ enum Tokens
33 KW(keys), KW(legacy), KW(methods), KW(mixin), KW(params), \ 33 KW(keys), KW(legacy), KW(methods), KW(mixin), KW(params), \
34 KW(parse), KW(parts), KW(ptr), KW(set), KW(type), KW(values), KW(var), KW(requires), \ 34 KW(parse), KW(parts), KW(ptr), KW(set), KW(type), KW(values), KW(var), KW(requires), \
35 \ 35 \
36 KWAT(auto), KWAT(beta), KWAT(c_name), KWAT(const), \ 36 KWAT(auto), KWAT(beta), KWAT(by_ref), KWAT(c_name), KWAT(const), \
37 KWAT(empty), KWAT(extern), KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), \ 37 KWAT(empty), KWAT(extern), KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), \
38 KWAT(no_unused), KWAT(nullable), KWAT(optional), KWAT(out), KWAT(owned), \ 38 KWAT(no_unused), KWAT(nullable), KWAT(optional), KWAT(out), KWAT(owned), \
39 KWAT(private), KWAT(property), KWAT(protected), KWAT(restart), \ 39 KWAT(private), KWAT(property), KWAT(protected), KWAT(restart), \
40 KWAT(pure_virtual), KWAT(static), \ 40 KWAT(pure_virtual), KWAT(static), KWAT(transfer), \
41 \ 41 \
42 KWH(version), \ 42 KWH(version), \
43 \ 43 \