Annotation Glossary: CTPL Reference Manual

# 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 (in case a function which shadows this one via rename-to has fewer 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 callee must allocate storage.

### T

transfer full

  The caller owns the data, and is responsible for free it.

transfer none

  The data is owned by the callee, which is responsible of freeing it.