diff options
author | Colin Walters <walters@verbum.org> | 2009-02-19 21:48:51 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-03-03 17:26:37 -0500 |
commit | d5215b23315e7c9c22c6a32218bb6f8027a9dd4c (patch) | |
tree | e8d9e360099c756677ad23a1039f4d05533008b9 /tests/scanner/annotation.h | |
parent | 2bdd2bf9303ae0e718c00ec84078336e722138f1 (diff) | |
download | gobject-introspection-d5215b23315e7c9c22c6a32218bb6f8027a9dd4c.tar.gz |
Bug 571548 - Generic attributes
We now support an extensible mechanism where arbitrary key-value
pairs may be associated with almost all items, including objects,
methods, and properties.
These attributes appear in both the .gir and the .typelib.
Diffstat (limited to 'tests/scanner/annotation.h')
-rw-r--r-- | tests/scanner/annotation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/scanner/annotation.h b/tests/scanner/annotation.h index 6904f15c..79a686d0 100644 --- a/tests/scanner/annotation.h +++ b/tests/scanner/annotation.h @@ -25,6 +25,8 @@ typedef GList* (*AnnotationListCallback) (GList *in); * AnnotationObject: * * This is an object used to test annotations. + * + * Attributes: (org.example.Test cows) */ typedef struct _AnnotationObject AnnotationObject; typedef struct _AnnotationObjectClass AnnotationObjectClass; @@ -111,6 +113,8 @@ void annotation_versioned (void); char ** annotation_string_zero_terminated (void); void annotation_string_zero_terminated_out (char ***out); +void annotation_object_extra_annos (AnnotationObject *object); + /** * AnnotationStruct: * |