[cogl/cogl-1.16] texture-2d: add missing annotations
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.16] texture-2d: add missing annotations
- Date: Mon, 23 Sep 2013 14:05:16 +0000 (UTC)
commit c56e87043d7f69afbb0ee58472ed303824ef345a
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 12:05:47 2013 +0100
texture-2d: add missing annotations
Reviewed-by: Robert Bragg <robert linux intel com>
cogl/cogl-texture-2d-gl.h | 8 ++++----
cogl/cogl-texture-2d.h | 20 ++++++++++----------
2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/cogl/cogl-texture-2d-gl.h b/cogl/cogl-texture-2d-gl.h
index 02f27a4..6d63725 100644
--- a/cogl/cogl-texture-2d-gl.h
+++ b/cogl/cogl-texture-2d-gl.h
@@ -53,10 +53,10 @@ COGL_BEGIN_DECLS
* or if @width or @height don't have the correct texture
* geometry.</note>
*
- * Returns: A newly allocated #CoglTexture2D, or if Cogl could not
- * validate the @gl_handle in some way (perhaps because of
- * an unsupported format) it will return %NULL and set
- * @error.
+ * Return value: (transfer full): A newly allocated #CoglTexture2D, or
+ * if Cogl could not validate the @gl_handle in some way
+ * (perhaps because of an unsupported format) it will return
+ * %NULL and set @error.
*
* Since: 2.0
*/
diff --git a/cogl/cogl-texture-2d.h b/cogl/cogl-texture-2d.h
index c1ae57f..7526755 100644
--- a/cogl/cogl-texture-2d.h
+++ b/cogl/cogl-texture-2d.h
@@ -92,7 +92,7 @@ cogl_is_texture_2d (void *object);
* checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
* cogl_has_feature().</note>
*
- * Returns: A new #CoglTexture2D object with no storage yet allocated.
+ * Returns: (transfer full): A new #CoglTexture2D object with no storage yet allocated.
*
* Since: 2.0
*/
@@ -118,7 +118,7 @@ cogl_texture_2d_new_with_size (CoglContext *ctx,
*
* Creates a #CoglTexture2D from an image file.
*
- * Return value: A newly created #CoglTexture2D or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture2D or %NULL on failure
* and @error will be updated.
*
* Since: 1.16
@@ -159,10 +159,10 @@ cogl_texture_2d_new_from_file (CoglContext *ctx,
* checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
* cogl_has_feature().</note>
*
- * Returns: A newly allocated #CoglTexture2D, or if the size is not
- * supported (because it is too large or a non-power-of-two
- * size that the hardware doesn't support) it will return
- * %NULL and set @error.
+ * Returns: (transfer full): A newly allocated #CoglTexture2D, or if
+ * the size is not supported (because it is too large or a
+ * non-power-of-two size that the hardware doesn't support)
+ * it will return %NULL and set @error.
*
* Since: 2.0
*/
@@ -200,10 +200,10 @@ cogl_texture_2d_new_from_data (CoglContext *ctx,
* checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
* cogl_has_feature().</note>
*
- * Returns: A newly allocated #CoglTexture2D, or if the size is not
- * supported (because it is too large or a non-power-of-two
- * size that the hardware doesn't support) it will return
- * %NULL and set @error.
+ * Returns: (transfer full): A newly allocated #CoglTexture2D, or if
+ * the size is not supported (because it is too large or a
+ * non-power-of-two size that the hardware doesn't support)
+ * it will return %NULL and set @error.
*
* Since: 2.0
* Stability: unstable
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]