diff options
author | Jürg Billeter <j@bitron.ch> | 2016-11-01 17:48:15 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-11-03 20:47:31 +0100 |
commit | a61dd80e4c4d25fe855692a0ddfded91999789bc (patch) | |
tree | 39b5c2c559f31110704be05e7576d9cfe7370609 /vala/valausedattr.vala | |
parent | 7a5ff26e941f79e85d0bcba37b3c9ec7322e39c5 (diff) | |
download | vala-a61dd80e4c4d25fe855692a0ddfded91999789bc.tar.gz |
Support [FormatArg] attribute for parameters
This attribute specifies that the method takes and returns a printf
or scanf format string without modifying the order or types of expected
arguments, e.g., to translate the format string. This allows the
compiler to check the printf/scanf arguments.
Diffstat (limited to 'vala/valausedattr.vala')
-rw-r--r-- | vala/valausedattr.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valausedattr.vala b/vala/valausedattr.vala index 14fe1d20b..2e5840d55 100644 --- a/vala/valausedattr.vala +++ b/vala/valausedattr.vala @@ -68,6 +68,7 @@ public class Vala.UsedAttr : CodeVisitor { "SimpleType", "", "PrintfFormat", "", "ScanfFormat", "", + "FormatArg", "", "GtkChild", "name", "internal", "", "GtkTemplate", "ui", "", |