summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation.h
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-08-12 16:54:11 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:55:46 +0200
commita2b22ce75937d2d996ef90e0ab683d36031365d0 (patch)
tree42a1e8e7ba992a89efd98fa41b2d5e013f7165b2 /tests/scanner/annotation.h
parent839e4f10a6b291a261c200484ff05ec44a31d93e (diff)
downloadgobject-introspection-a2b22ce75937d2d996ef90e0ab683d36031365d0.tar.gz
giscanner: flesh out annotation parsing and storage
- remove annotations regex, restore proper parens parsing - drop weird DocOption() storage class and use lists/dicts as appropriate - make GtkDocAnnotations a simple OrderedDict subclass instead of a weird hybrid dict/list storage class - Deprecate Attribute: tag, replace with (attributes) annotation on the identifier
Diffstat (limited to 'tests/scanner/annotation.h')
-rw-r--r--tests/scanner/annotation.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/scanner/annotation.h b/tests/scanner/annotation.h
index 66470cbb..b982a5b7 100644
--- a/tests/scanner/annotation.h
+++ b/tests/scanner/annotation.h
@@ -37,11 +37,9 @@ typedef GList* (*RegressAnnotationListCallback) (GList *in);
typedef void (*RegressAnnotationNotifyFunc) (gpointer data);
/**
- * RegressAnnotationObject:
+ * RegressAnnotationObject: (attributes org.example.Test=cows)
*
* This is an object used to test annotations.
- *
- * Attributes: (org.example.Test cows)
*/
typedef struct _RegressAnnotationObject RegressAnnotationObject;
typedef struct _RegressAnnotationObjectClass RegressAnnotationObjectClass;