[cogl/cogl-1.16] texture-3d: add missing transfer annotations



commit dfa0bdc9ed322727ee491a33fc960529e4b4293a
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 13:13:58 2013 +0100

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

 cogl/cogl-texture-3d.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/cogl/cogl-texture-3d.h b/cogl/cogl-texture-3d.h
index 0483d47..7aca7e2 100644
--- a/cogl/cogl-texture-3d.h
+++ b/cogl/cogl-texture-3d.h
@@ -71,7 +71,7 @@ typedef struct _CoglTexture3D CoglTexture3D;
  * fail if the requested dimensions are not supported by the
  * GPU.</note>
  *
- * Returns: A new #CoglTexture3D object with no storage yet allocated.
+ * Returns: (transfer full): A new #CoglTexture3D object with no storage yet allocated.
  * Since: 1.10
  * Stability: Unstable
  */
@@ -115,9 +115,9 @@ cogl_texture_3d_new_with_size (CoglContext *context,
  * %COGL_FEATURE_ID_TEXTURE_3D is not advertised. It can also fail if the
  * requested dimensions are not supported by the GPU.
  *
- * Return value: the newly created #CoglTexture3D or %NULL if
- *               there was an error an an exception will be returned
- *               through @error.
+ * Return value: (transfer full): the newly created #CoglTexture3D or
+ *               %NULL if there was an error an an exception will be
+ *               returned through @error.
  * Since: 1.10
  * Stability: Unstable
  */
@@ -155,8 +155,8 @@ cogl_texture_3d_new_from_data (CoglContext *context,
  * actual height of the bitmap can be larger than @height × @depth. In
  * this case it assumes there is padding between the images.
  *
- * Return value: the newly created texture or %NULL if
- *   there was an error.
+ * Return value: (transfer full): the newly created texture or %NULL
+ *   if there was an error.
  * Since: 2.0
  * Stability: unstable
  */


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