Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/girepository/girepository.h
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/girepository.h')
-rw-r--r--girepository/girepository.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/girepository/girepository.h b/girepository/girepository.h
index 7ec8612..3508f4d 100644
--- a/girepository/girepository.h
+++ b/girepository/girepository.h
@@ -279,11 +279,16 @@ typedef enum {
} GIDirection;
typedef enum {
- GI_SCOPE_TYPE_INVALID,
- GI_SCOPE_TYPE_CALL,
- GI_SCOPE_TYPE_OBJECT,
- GI_SCOPE_TYPE_ASYNC,
- GI_SCOPE_TYPE_NOTIFIED
+ GI_SCOPE_TYPE_INVALID, /* The argument is not of callback type */
+ GI_SCOPE_TYPE_CALL, /* The callback and associated user_data is only used during the
+ call to this function */
+ GI_SCOPE_TYPE_OBJECT, /* The callback and associated user_data is used until
+ the object containing this method is destroyed */
+ GI_SCOPE_TYPE_ASYNC, /* The callback and associated user_data is
+ only used until the callback is invoked, and the callback
+ is invoked always exactly once. */
+ GI_SCOPE_TYPE_NOTIFIED /* The callback and and associated user_data is
+ used until the caller is notfied via the destroy_notify */
} GIScopeType;
GIDirection g_arg_info_get_direction (GIArgInfo *info);