NULL is OK, both for passing and for returning.
Parameter points to an array of items.
Generics and defining elements of containers and arrays.
Parameter for input and for returning results. Default is transfer full.
NULL may be passed as the value in, out, in-out; or as a return value.
Free data after the code is done.
Don't free data after the code is done.