R3ObjectIsOfKind

FUNCTION:

R3ObjectIsOfKind

TEMPLATE:

int R3ObjectIsOfKind(R3OBJ *obj, int clid);

PARAMETERS:

obj - object to be checked

RETURN VALUE:

TRUE if the class of the given object matches the given class id.

DESCRIPTION:

Finds whether or not the class id of the given object matches the given id. Class ids match, if the object's class id is the same as the given class id of if the object is inherited from a class with such a class id.