|
The mi_fp_setargtype() accessor routine sets the type identifier for the data type of an argument of a user-defined routine in its associated MI_FPARAM structure.
The mi_fp_setargtype() function sets the type identifier of the routine argument at position arg_pos in the MI_FPARAM structure that fparam_ptr references. The type identifier indicates a particular data type. The MI_FPARAM structure stores information about the type identifiers of routine arguments in the zero-based argument-type array. To set information about the nth argument, use an arg_pos value of n-1.
For example, the following call to mi_fp_setargtype() obtains the type identifier for the third argument of the my_func() UDR, with which fparam1 is associated:
None.
See the descriptions of the following functions: mi_fp_argtype(), mi_fp_setargisnull(), mi_fp_setarglen(), mi_fp_setargprec(), mi_fp_setargscale(), mi_fp_rettype(), and mi_fp_setrettype().