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/utility-1.0-expected.tgir | |
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/utility-1.0-expected.tgir')
-rw-r--r-- | tests/scanner/utility-1.0-expected.tgir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/utility-1.0-expected.tgir b/tests/scanner/utility-1.0-expected.tgir index 2653584..dfd2aa8 100644 --- a/tests/scanner/utility-1.0-expected.tgir +++ b/tests/scanner/utility-1.0-expected.tgir @@ -24,7 +24,7 @@ <parameter name="path" transfer-ownership="none"> <type name="utf8"/> </parameter> - <parameter name="user_data" transfer-ownership="none"> + <parameter name="user_data" transfer-ownership="none" closure="1"> <type name="any"/> </parameter> </parameters> |