AST_ANNUL

Annul a pointer to an Object

Description:

This routine annuls a pointer to an Object so that it is no longer recognised as a valid pointer by the AST library. Any resources associated with the pointer are released and made available for re-use.

This routine also decrements the Object s RefCount attribute by one. If this attribute reaches zero (which happens when the last pointer to the Object is annulled), then the Object is deleted.

Invocation

CALL AST_ANNUL( THIS, STATUS )

Arguments

THIS = INTEGER (Given and Returned)
The Object pointer to be annulled. A null pointer value (AST__NULL) is always returned.
STATUS = INTEGER (Given and Returned)
The global status.

Applicability

Object
This routine applies to all Objects.

Notes: