The TS_ELEM_NULL macro

The TS_ELEM_NULL macro determines whether the STATUS indicator returned by ts_elem(), ts_nth_elem(), ts_first_elem(), or a similar function is NULL because the associated element is NULL.

Syntax

TS_ELEM_NULL((mi_integer) STATUS)
STATUS
The mi_integer argument previously passed to ts_elem(), ts_nth_elem(), ts_first_elem(), or a similar function.

Description

This macro returns a nonzero value if the associated element is NULL. This macro is often used in concert with TS_ELEM_HIDDEN.

Returns

A nonzero value if the element returned by ts_elem(), ts_nth_elem(), ts_first_elem(), or similar function was NULL.