summaryrefslogtreecommitdiff
path: root/cogl
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-03 22:01:20 +0100
committerRobert Bragg <robert@linux.intel.com>2013-09-23 15:02:30 +0100
commit6b7c543663cbc718e0727b12b408610e959f0735 (patch)
tree697a262344968ff2c08465227ec4cf145ea4fed8 /cogl
parent44f17fbd8d178c6e34f131398b3b9cdb59edab49 (diff)
downloadcogl-6b7c543663cbc718e0727b12b408610e959f0735.tar.gz
pipeline: add scope annotation
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl')
-rw-r--r--cogl/cogl-pipeline.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cogl/cogl-pipeline.h b/cogl/cogl-pipeline.h
index d6bf00c8..8e90d19a 100644
--- a/cogl/cogl-pipeline.h
+++ b/cogl/cogl-pipeline.h
@@ -127,9 +127,10 @@ typedef CoglBool (*CoglPipelineLayerCallback) (CoglPipeline *pipeline,
/**
* cogl_pipeline_foreach_layer:
* @pipeline: A #CoglPipeline object
- * @callback: A #CoglPipelineLayerCallback to be called for each layer
- * index
- * @user_data: Private data that will be passed to the callback
+ * @callback: (scope call): A #CoglPipelineLayerCallback to be
+ * called for each layer index
+ * @user_data: (closure): Private data that will be passed to the
+ * callback
*
* Iterates all the layer indices of the given @pipeline.
*