[cogl] context: add scope annotation



commit ea6a2baf6c92bd994f893eed8a5fe38fbe0594c9
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 21:59:41 2013 +0100

    context: add scope annotation
    
    Reviewed-by: Robert Bragg <robert linux intel com>
    
    (cherry picked from commit 3ad8307ab39d0a8b47e37b3a7a8c99f8e902441d)

 cogl/cogl-context.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h
index 60c92b1..8b3185a 100644
--- a/cogl/cogl-context.h
+++ b/cogl/cogl-context.h
@@ -316,8 +316,9 @@ typedef void (*CoglFeatureCallback) (CoglFeatureID feature, void *user_data);
 /**
  * cogl_foreach_feature:
  * @context: A #CoglContext pointer
- * @callback: A #CoglFeatureCallback called for each supported feature
- * @user_data: Private data to pass to the callback
+ * @callback: (scope call): A #CoglFeatureCallback called for each
+ *            supported feature
+ * @user_data: (closure): Private data to pass to the callback
  *
  * Iterates through all the context level features currently supported
  * for a given @context and for each feature @callback is called.


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