The mi_typeid_equals() function

The mi_typeid_equals() function determines whether two type identifiers represent the same data type.

Syntax

mi_boolean mi_typeid_equals(typeid1_ptr, typeid2_ptr)
   MI_TYPEID *typeid1_ptr;
   MI_TYPEID *typeid2_ptr;
typeid1_ptr
A pointer to the type identifier of the first data type.
typeid2_ptr
A pointer to the type identifier of the second data type.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Usage

The mi_typeid_equals() function determines if the data types in the type identifiers that are specified by typeid1_ptr and typeid2_ptr are the same.
Important: The type identifier is an opaque structure. Do not compare two type identifiers directly. Instead, use mi_typeid_equals() to determine if two type identifiers are equal.

Return values

MI_TRUE
The two type identifiers are for the same data type.
MI_FALSE
The two type identifiers are not for the same data type.