![]() |
![]() |
![]() |
![]() |
NULL is OK, both for passing and for returning.
Generics and defining elements of containers and arrays.
Parameter for input. Default is transfer none.
NULL may be passed as the value in, out, in-out; or as a return value.
Parameter for returning results. Default is transfer full.
Out parameter, where callee must allocate storage.
The callback is valid until first called.
The caller owns the data, and is responsible for free it.
The data is owned by the callee, which is responsible of freeing it.