]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vala: Update list of used attributes
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 9 Sep 2017 12:35:55 +0000 (14:35 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Oct 2017 20:29:08 +0000 (22:29 +0200)
vala/valausedattr.vala

index 495ff1a90e67738d5efbe33d6f974c3dd5e5d633..698954e642b4aff63cfefb1eb12b1a9e7e4c6a12 100644 (file)
@@ -31,7 +31,7 @@ public class Vala.UsedAttr : CodeVisitor {
 
        const string[] valac_default_attrs = {
                "CCode", "type_signature", "default_value", "set_value_function", "type_id", "cprefix", "cheader_filename",
-               "marshaller_type_name", "get_value_function", "cname", "cheader_filename", "destroy_function", "lvalue_access",
+               "marshaller_type_name", "get_value_function", "cname", "destroy_function", "lvalue_access",
                "has_type_id", "instance_pos", "const_cname", "take_value_function", "copy_function", "free_function",
                "param_spec_function", "has_target", "type_cname", "ref_function", "ref_function_void", "unref_function", "type",
                "has_construct_function", "returns_floating_reference", "gir_namespace", "gir_version", "construct_function",
@@ -44,9 +44,10 @@ public class Vala.UsedAttr : CodeVisitor {
                "Immutable", "",
                "Compact", "",
                "NoWrapper", "",
+               "NoThrow", "",
                "DestroysInstance", "",
                "Flags", "",
-               "Experimental", "",
+               "Experimental", "", // deprecated
                "NoReturn", "",
                "Assert", "",
                "ErrorBase", "",
@@ -56,15 +57,18 @@ public class Vala.UsedAttr : CodeVisitor {
                "ConcreteAccessor", "",
                "HasEmitter", "",
                "ReturnsModifiedPointer", "",
-               "Deprecated", "since", "replacement", "",
-               "Version", "since", "replacement", "deprecated", "deprecated_since", "experimental", "",
+               "Deprecated", "since", "replacement", "", // deprecated
+               "Version", "since", "replacement", "deprecated", "deprecated_since", "experimental", "experimental_until", "",
                "Signal", "detailed", "run", "no_recurse", "action", "no_hooks", "",
                "Description", "nick", "blurb", "",
                
-               "IntegerType", "rank", "min", "max", "",
-               "FloatingType", "rank", "",
+               "IntegerType", "rank", "min", "max", "signed", "width", "",
+               "FloatingType", "rank", "decimal", "width", "",
                "BooleanType", "",
                "SimpleType", "",
+               "PointerType", "",
+
+               "Print", "",
                "PrintfFormat", "",
                "ScanfFormat", "",
 
@@ -72,6 +76,8 @@ public class Vala.UsedAttr : CodeVisitor {
                "GtkTemplate", "ui", "",
                "GtkCallback", "name", "",
 
+               "ModuleInit", "",
+
                "DBus", "name", "no_reply", "result", "use_string_marshalling", "value", "signature", "visible", "timeout", "",
 
                "GIR", "fullname", "name", ""