transfer full


An introspection annotation saying that the memory pointed to by a function argument now belongs to the called function, meaning that that function is now responsible for freeing it. Similarly, if a function's return value is annotated as "transfer full" then the caller becomes responsibile for freeing the memory pointed to by the returned value.

The opposite is transfer none.

Last updated: 2018-08-26

Nearby terms:

transducertransfertransfer fulltransfer nonetransfer of control

Try this search on Wikipedia, Wiktionary, Google, OneLook.