[cogl/lionel/introspection: 63/76] buffer: add missing transfer annotations



commit 74fbe1002aee8cfeaf37147d215d80b9fe75681f
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 16:17:04 2013 +0100

    buffer: add missing transfer annotations

 cogl/cogl-buffer.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-buffer.h b/cogl/cogl-buffer.h
index c862c72..5139b32 100644
--- a/cogl/cogl-buffer.h
+++ b/cogl/cogl-buffer.h
@@ -221,7 +221,8 @@ typedef enum { /*< prefix=COGL_BUFFER_MAP_HINT >*/
  * conflicting with the @access mask you pass. It is also an error to
  * release your last reference while the buffer is mapped.
  *
- * Return value: A pointer to the mapped memory or %NULL is the call fails
+ * Return value: (transfer none): A pointer to the mapped memory or
+ *        %NULL is the call fails
  *
  * Since: 1.2
  * Stability: unstable
@@ -257,7 +258,8 @@ cogl_buffer_map (CoglBuffer *buffer,
  * conflicting with the @access mask you pass. It is also an error to
  * release your last reference while the buffer is mapped.
  *
- * Return value: A pointer to the mapped memory or %NULL is the call fails
+ * Return value: (transfer none): A pointer to the mapped memory or
+ *        %NULL is the call fails
  *
  * Since: 2.0
  * Stability: unstable


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