[gdk-pixbuf] [gi] add annotation so buf is seen as an array in pixbuf_loader_write



commit ff5fe2edab9053f0884bd650a1ac5937776df8ca
Author: John (J5) Palmieri <johnp redhat com>
Date:   Mon Mar 7 17:59:24 2011 -0500

    [gi] add annotation so buf is seen as an array in pixbuf_loader_write

 gdk-pixbuf/gdk-pixbuf-loader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c
index 187a665..2c9b86f 100644
--- a/gdk-pixbuf/gdk-pixbuf-loader.c
+++ b/gdk-pixbuf/gdk-pixbuf-loader.c
@@ -489,7 +489,7 @@ gdk_pixbuf_loader_eat_header_write (GdkPixbufLoader *loader,
 /**
  * gdk_pixbuf_loader_write:
  * @loader: A pixbuf loader.
- * @buf: Pointer to image data.
+ * @buf: (array length=count): Pointer to image data.
  * @count: Length of the @buf buffer in bytes.
  * @error: return location for errors
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]