Annotation Glossary

A

allow-none

NULL is OK, both for passing and for returning.

array

Parameter points to an array of items.

D

default

Default parameter value (for in case the shadows-to function has less parameters).

E

element-type

Generics and defining elements of containers and arrays.

O

out

Parameter for returning results. Default is transfer full.

out callee-allocates

Out parameter, where caller must allocate storage.

T

transfer full

Free data after the code is done.

transfer none

Don't free data after the code is done.