INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_td_cast_get()

The mi_td_cast_get() function looks up a registered cast user-defined routine and gets its function descriptor.

Syntax

Usage

The mi_td_cast_get() function is similar to the mi_cast_get() function. Instead of taking type IDs such as mi_cast_get(), however, mi_td_cast_get() takes type descriptors, which include length and precision. Type IDs do not include length and precision.

Return Values

If cast_status is MI_ERROR_CAST, MI_NO_CAST, or MI_NOP_CAST, returns NULL. Otherwise, returns a function descriptor for the casting routine.

Related Topics

For additional information, see the description of the mi_cast_get() function.




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.