add PrintfFormat attribute to GString printf methods
authorJuerg Billeter <j@bitron.ch>
Sun, 4 Nov 2007 10:47:21 +0000 (10:47 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sun, 4 Nov 2007 10:47:21 +0000 (10:47 +0000)
2007-11-04  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add PrintfFormat attribute to GString printf
  methods

svn path=/trunk/; revision=679

ChangeLog
vapi/glib-2.0.vapi

index 1d0817d..5bf6050 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-11-04  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/glib-2.0.vapi: add PrintfFormat attribute to GString printf
+         methods
+
+2007-11-04  Jürg Billeter  <j@bitron.ch>
+
        * vala/valatypereference.vala, gobject/valaccodegenerator.vala: use
          gconstpointer where appropriate for generics
 
index 511f8aa..0152880 100644 (file)
@@ -2247,7 +2247,9 @@ namespace GLib {
                public weak String insert (long pos, string! val);
                public weak String erase (long pos, long len);
 
+               [PrintfFormat]
                public void printf (string! format, ...);
+               [PrintfFormat]
                public void append_printf (string! format, ...);
 
                public string str;