diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2015-03-01 21:36:12 +0100 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2015-03-03 22:07:45 +0100 |
commit | 50dfb465658a5c1705cac51a31f145fee8b6b168 (patch) | |
tree | c5ebae7ac13589e4ef74138076792faa25ba46ec /tests/scanner/annotation.c | |
parent | 7e41a4c31acf729cba6e071692d03779eba77eea (diff) | |
download | gobject-introspection-50dfb465658a5c1705cac51a31f145fee8b6b168.tar.gz |
scanner: allow (array zero-terminated) instead of (array zero-terminated=1)
What we already had:
- (array zero-terminated=1) > array which is NULL terminated
- (array zero-terminated=0) > array which is not NULL terminated
- (array) > array which is not NULL terminated
- (array zero-terminated=X) > array which is not NULL terminated
where X can be anything
What this patch adds:
- (array zero-terminated) > array which is NULL terminated
https://bugzilla.gnome.org/show_bug.cgi?id=657754
Diffstat (limited to 'tests/scanner/annotation.c')
-rw-r--r-- | tests/scanner/annotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c index 173db974..da364e16 100644 --- a/tests/scanner/annotation.c +++ b/tests/scanner/annotation.c @@ -449,7 +449,7 @@ regress_annotation_object_compute_sum_n(RegressAnnotationObject *object, /** * regress_annotation_object_compute_sum_nz: * @object: a #RegressAnnotationObject - * @nums: (array length=n_nums zero-terminated=1): Sequence of numbers that + * @nums: (array length=n_nums zero-terminated): Sequence of numbers that * are zero-terminated * @n_nums: Length of number array * |