diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-06-18 23:34:09 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-07-04 12:18:11 +0200 |
commit | b35b0b1a673e498fbb065a6fb7b68bc714142826 (patch) | |
tree | b210b5c76f06a033bc58f7c7bcf6a76b8d7bac26 /vala/valaenumvaluetype.vala | |
parent | 8f86bb72abd78af99e413e64f8acc9d0d71a7d6d (diff) | |
download | vala-b35b0b1a673e498fbb065a6fb7b68bc714142826.tar.gz |
vala: Add Symbol.is_extern and use/set is accordingly
This actually holds the information whether a symbol was declared
with `extern` modificator. Adjust the setting of Symbol.external and
usage of Symbol.external_package.
See https://gitlab.gnome.org/GNOME/vala/issues/745
Diffstat (limited to 'vala/valaenumvaluetype.vala')
-rw-r--r-- | vala/valaenumvaluetype.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaenumvaluetype.vala b/vala/valaenumvaluetype.vala index c409763fe..896371323 100644 --- a/vala/valaenumvaluetype.vala +++ b/vala/valaenumvaluetype.vala @@ -47,7 +47,7 @@ public class Vala.EnumValueType : ValueType { string_type.value_owned = false; to_string_method = new Method ("to_string", string_type); to_string_method.access = SymbolAccessibility.PUBLIC; - to_string_method.external = true; + to_string_method.is_extern = true; to_string_method.owner = type_symbol.scope; to_string_method.this_parameter = new Parameter ("this", this); to_string_method.scope.add (to_string_method.this_parameter.name, to_string_method.this_parameter); |