GNOME Bugzilla – Bug 616039
New tests for nullable arguments
Last modified: 2015-02-07 17:03:42 UTC
This adds some extra functions to everything to test with language bindings (pygi) to excercise nullable argument support for various pointer types.
Created attachment 158964 [details] [review] Add a bunch of new tests for nullable args in Everything module
Review of attachment 158964 [details] [review]: ::: gir/everything.c @@ +747,3 @@ + * @in: (allow-none): + * test_array_int_null_in: +/** Arrays without length are bad form; you can get away with this for char * but not for int * I think. So this should be: @in: (array length=1) (allow-none) @len: length void test_array_int_null_in (int *in, int len) { }
Created attachment 158967 [details] [review] Add a bunch of new tests for nullable args in Everything module
Created attachment 158968 [details] [review] Add a bunch of new tests for nullable args in Everything module
Created attachment 158971 [details] [review] Add a bunch of new tests for nullable args in Everything module
Created attachment 158972 [details] [review] Add a bunch of new tests for nullable args in Everything module
Created attachment 158973 [details] [review] Add a bunch of new tests for nullable args in Everything module
Review of attachment 158973 [details] [review]: Looks good to me
Pushed in 7b6656e2f39d88671758dbf0775688fc53660936
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]