[cogl/cogl-1.16] texture: add missing annotations



commit d33f8ca070930303b6832844198920dd8d3c9dbd
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Thu Sep 5 11:53:57 2013 +0100

    texture: add missing annotations
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 cogl/cogl-texture.h |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/cogl/cogl-texture.h b/cogl/cogl-texture.h
index 4678884..1528414 100644
--- a/cogl/cogl-texture.h
+++ b/cogl/cogl-texture.h
@@ -112,7 +112,7 @@ uint32_t cogl_texture_error_quark (void);
  *
  * Creates a new #CoglTexture with the specified dimensions and pixel format.
  *
- * Return value: A newly created #CoglTexture or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture or %NULL on failure
  *
  * Since: 0.8
  */
@@ -138,7 +138,8 @@ cogl_texture_new_with_size (unsigned int width,
  *
  * Creates a #CoglTexture from an image file.
  *
- * Return value: A newly created #CoglTexture or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture or
+ *               %NULL on failure
  *
  * Since: 0.8
  */
@@ -168,7 +169,8 @@ cogl_texture_new_from_file (const char       *filename,
  *
  * Creates a new #CoglTexture based on data residing in memory.
  *
- * Return value: A newly created #CoglTexture or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture or
+ *               %NULL on failure
  *
  * Since: 0.8
  */
@@ -202,7 +204,8 @@ cogl_texture_new_from_data (int width,
  * the waste arguments to tell Cogl which region should be mapped to
  * the texture coordinate range [0:1].
  *
- * Return value: A newly created #CoglTexture or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture or
+ *               %NULL on failure
  *
  * Since: 0.8
  */
@@ -224,7 +227,8 @@ cogl_texture_new_from_foreign (unsigned int gl_handle,
  *
  * Creates a #CoglTexture from a #CoglBitmap.
  *
- * Return value: A newly created #CoglTexture or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture or
+ *               %NULL on failure
  *
  * Since: 1.0
  */
@@ -540,7 +544,8 @@ cogl_texture_set_region_from_bitmap (CoglTexture *texture,
  * not need to keep one separately if you only want to use the sub
  * texture.
  *
- * Return value: A newly created #CoglTexture or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture or
+ *               %NULL on failure
  * Since: 1.2
  */
 CoglTexture *
@@ -551,7 +556,7 @@ cogl_texture_new_from_sub_texture (CoglTexture *full_texture,
                                    int sub_height);
 
 /**
- * cogl_texture_ref:
+ * cogl_texture_ref: (skip)
  * @texture: a #CoglTexture.
  *
  * Increment the reference count for a cogl texture.
@@ -565,7 +570,7 @@ void *
 cogl_texture_ref (void *texture);
 
 /**
- * cogl_texture_unref:
+ * cogl_texture_unref: (skip)
  * @texture: a #CoglTexture.
  *
  * Decrement the reference count for a cogl texture.


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