The mi_type_constructor_typedesc() function

The mi_type_constructor_typedesc() function obtains a type descriptor for a constructed data type.

Syntax

MI_TYPE_DESC *mi_type_constructor_typedesc(type_desc)
   MI_TYPE_DESC *type_desc;
type_desc
A pointer to the type descriptor from which to determine the passing mechanism of a data type.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Usage

If the type descriptor that type_desc references is a constructor, mi_type_constructor_typedesc() returns a pointer to the type_desc type descriptor. If the type_desc type descriptor is a constructed type, this function returns a pointer to the type descriptor for the constructed type. If the type_desc type descriptor is not a constructed data type, mi_type_constructor_typedesc() returns a NULL-valued pointer.