GNOME Bugzilla – Bug 616358
Negative test case for bad (out) case, not setting the *out_val in a (transfer full) case
Last modified: 2015-02-07 17:03:28 UTC
Used by PyGi for bug #616043
Created attachment 159229 [details] [review] Negative test case for bad (out) case, not setting the *out_val in a (transfer full) case
Review of attachment 159229 [details] [review]: It seems a bit dangerous to me to have invalid C code in the test suite; e.g. if someone were to write an automated script that generated different kinds of calls, this could be a potential trap. But on the other hand hopefully they'd quickly realize what was wrong. You might note in the test case that to be robust against broken C functions, bindings can initialize even OUT values to NULL.
pushed with an updated comment.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]