fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Home > api > name > gb.unrefkeep
 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
Documentation
History
 
GB.UnRefKeep
Syntax
void GB.UnRefKeep ( void **object )

Decrements the reference counter of an object. If the reference counter becomes nil, the object is NOT freed.

You must use this function each time you finish keeping an object reference and so must release it, but without freeing it.

If the reference counter is nil, a subsequent call to GB.Unref will free it anyway.

See also

Object Management