next up previous contents
Next: (X86) Processor-specific Fluke Interface Up: 11 References Previous: 11.10 fluke_ref_move: move a

11.11 fluke_ref_type: return the type of an object associated with a reference

SYNOPSIS

fluke_type_t fluke_ref_type(fluke_ref_t *ref);

DESCRIPTION

This operation can be used to determine the type of the object associated with a reference. Returns the appropriate Fluke object type or FLUKE_NULL if no object is associated with the reference object.

PARAMETERS

ref
The reference to look up.

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.



Utah Flux Research Group