OMis_null_obj


Synopsis


int  OMis_null_obj(
OMobj_id  object_id  );

Description

OMis_null_obj is a C macro which tests whether an object id is NULL.

Arguments

object_id

The id of an object.

Returned value

The returned value indicates whether the object id is NULL:

Returned value

 

Meaning

 

1

The object id is NULL.

0

The object id is not NULL.

OM_STAT_ERROR

OM_null_obj has failed. See Return Status

 

Example


/* Test whether val1_id is null. */
OMobj_id val1_id;
...
if (OMis_null_obj(val1_id))
printf("Object id is NULL\n");