next up previous contents
Next: 11.9 fluke_ref_hash: return the Up: 11 References Previous: 11.7 fluke_ref_create: create a

11.8 fluke_ref_destroy: destroy a reference

SYNOPSIS

void fluke_ref_destroy(fluke_ref_t *ref);

DESCRIPTION

Destroys an active reference created with fluke_ref_create. Destruction of the reference does not affect the object referenced.

PARAMETERS

ref
The reference to destroy.

ERRORS

If any of the following errors is detected by the Fluke implementation, it causes the current thread to take a synchronous exception with one of the following codes. All of these have an implicit FLUKE_INSANITY_ prefix.
NO_OBJECT
ref does not point to an active object.
NOT_REF
The object pointed to by ref is not a reference object.
INVALID_OBJECT
The state of the reference object has become invalid.

RELATED INFORMATION

fluke_ref_create



Utah Flux Research Group