[cogl/cogl-1.16] pipeline: add scope annotation



commit 6b7c543663cbc718e0727b12b408610e959f0735
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 22:01:20 2013 +0100

    pipeline: add scope annotation
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 cogl/cogl-pipeline.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/cogl/cogl-pipeline.h b/cogl/cogl-pipeline.h
index d6bf00c..8e90d19 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.
  *


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