Bug 571373 - Move typelib docs from typelib-format.txt into girepository.h

typelib-format.txt was growing out of date; a good solution to this is
to move it closer to the code it's documenting.  By doing this we also
gain the ability to use gtk-doc on it.
This commit is contained in:
Colin Walters
2009-02-11 20:46:59 -05:00
parent 3333e4ed9e
commit ff6c10e53c
2 changed files with 540 additions and 62 deletions

View File

@@ -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);