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



commit 3ad8307ab39d0a8b47e37b3a7a8c99f8e902441d
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>

 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 b007d2d..8c99bce 100644
--- a/cogl/cogl-context.h
+++ b/cogl/cogl-context.h
@@ -328,8 +328,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]