Contents

OSCheckTypeInst

Checks whether two objects are type-compatible.

Declaration

#define OSCheckTypeInst(typeinst, inst)

Parameters

  • typeinst:

    The reference object.

  • inst:

    The object to check for type compatibility.

Return Value

true if both inst and typeinst are non-NULL and inst is derived from the class of typeinst; otherwise false.

See Also

Miscellaneous