[cogl/lionel/introspection: 5/76] pipeline: add missing transfer annotations
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection: 5/76] pipeline: add missing transfer annotations
- Date: Wed, 11 Sep 2013 15:20:12 +0000 (UTC)
commit 05bad3a6bebb5610e6fcd2fadc2517c6572326a7
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 14:23:32 2013 +0100
pipeline: add missing transfer annotations
cogl/cogl-pipeline-layer-state.h | 4 ++--
cogl/cogl-pipeline-state.h | 2 +-
cogl/cogl-pipeline.h | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/cogl/cogl-pipeline-layer-state.h b/cogl/cogl-pipeline-layer-state.h
index 6437ee0..c75a748 100644
--- a/cogl/cogl-pipeline-layer-state.h
+++ b/cogl/cogl-pipeline-layer-state.h
@@ -179,8 +179,8 @@ cogl_pipeline_set_layer_null_texture (CoglPipeline *pipeline,
* @pipeline: A #CoglPipeline object
* @layer_index: the index of the layer
*
- * Return value: the texture that was set for the given layer of the
- * pipeline or %NULL if no texture was set.
+ * Return value: (transfer none): the texture that was set for the
+ * given layer of the pipeline or %NULL if no texture was set.
* Stability: unstable
* Since: 1.10
*/
diff --git a/cogl/cogl-pipeline-state.h b/cogl/cogl-pipeline-state.h
index a3d6dd8..8ffbc19 100644
--- a/cogl/cogl-pipeline-state.h
+++ b/cogl/cogl-pipeline-state.h
@@ -604,7 +604,7 @@ cogl_pipeline_set_color_mask (CoglPipeline *pipeline,
* Queries what user program has been associated with the given
* @pipeline using cogl_pipeline_set_user_program().
*
- * Return value: The current user program or %COGL_INVALID_HANDLE.
+ * Return value: (transfer none): The current user program or %COGL_INVALID_HANDLE.
*
* Since: 2.0
* Stability: Unstable
diff --git a/cogl/cogl-pipeline.h b/cogl/cogl-pipeline.h
index 20fbd18..e856098 100644
--- a/cogl/cogl-pipeline.h
+++ b/cogl/cogl-pipeline.h
@@ -66,7 +66,7 @@ COGL_GTYPE_DECLARE_TYPE (pipeline);
* Allocates and initializes a default simple pipeline that will color
* a primitive white.
*
- * Return value: a pointer to a new #CoglPipeline
+ * Return value: (transfer full): a pointer to a new #CoglPipeline
*
* Since: 2.0
* Stability: Unstable
@@ -87,7 +87,7 @@ cogl_pipeline_new (CoglContext *context);
* keep track of a pipelines ancestry which we may use to help minimize GPU
* state changes.
*
- * Returns: a pointer to the newly allocated #CoglPipeline
+ * Return value: (transfer full): a pointer to the newly allocated #CoglPipeline
*
* Since: 2.0
* Stability: Unstable
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]