diff options
author | Jürg Billeter <j@bitron.ch> | 2016-11-07 20:23:38 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-11-07 21:27:36 +0100 |
commit | ab96b471875951fb0c85188b220d275c4496b955 (patch) | |
tree | 007256b92f03bae535c6d8c583b63b849672bcea /codegen/valaccodemethodmodule.vala | |
parent | 08880b13303d365d03667d8bb8254711595c88af (diff) | |
download | vala-ab96b471875951fb0c85188b220d275c4496b955.tar.gz |
codegen: Add G_GNUC_FORMAT attribute for FormatArg functions
https://bugzilla.gnome.org/show_bug.cgi?id=774060
Diffstat (limited to 'codegen/valaccodemethodmodule.vala')
-rw-r--r-- | codegen/valaccodemethodmodule.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/codegen/valaccodemethodmodule.vala b/codegen/valaccodemethodmodule.vala index 19f507b60..b50380a9a 100644 --- a/codegen/valaccodemethodmodule.vala +++ b/codegen/valaccodemethodmodule.vala @@ -881,6 +881,7 @@ public abstract class Vala.CCodeMethodModule : CCodeStructModule { } cparam = new CCodeParameter (get_variable_cname (param.name), ctypename); + cparam.format_arg = param.format_arg; } else if (ellipses_to_valist) { cparam = new CCodeParameter ("_vala_va_list", "va_list"); } else { |