diff options
author | Andreas Rottmann <a.rottmann@gmx.at> | 2009-03-09 17:33:00 (GMT) |
---|---|---|
committer | Andreas Rottmann <a.rottmann@gmx.at> | 2009-03-09 17:33:00 (GMT) |
commit | 2bd97368f6ced0d23977ce980ac159453cc18d8c (patch) | |
tree | 4be7dad53ed3c482832547cf917d70ba3cb90a15 /tests/scanner/annotation-1.0-expected.gir | |
parent | fdbe3cc3e1cfaa546648a76b1dca72beead0b65b (diff) |
Bug 574139 – There is no way to identify 'user_data' arguments in the callback signature
Add a heuristic to the scanner that flags arguments of callbacks that
are named 'user_data' (exact match) and have a 'any (void*) type.
These arguments are marked by setting the 'closure' field of ArgBlob
to the index of themselves.
Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
Diffstat (limited to 'tests/scanner/annotation-1.0-expected.gir')
-rw-r--r-- | tests/scanner/annotation-1.0-expected.gir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/annotation-1.0-expected.gir b/tests/scanner/annotation-1.0-expected.gir index f427345..1af7271 100644 --- a/tests/scanner/annotation-1.0-expected.gir +++ b/tests/scanner/annotation-1.0-expected.gir @@ -34,7 +34,7 @@ and/or use gtk-doc annotations. --> <parameter name="item" transfer-ownership="none"> <type name="utf8" c:type="char*"/> </parameter> - <parameter name="user_data" transfer-ownership="none"> + <parameter name="user_data" transfer-ownership="none" closure="2"> <type name="any" c:type="gpointer"/> </parameter> </parameters> |