Download XFaceMaker/UIMS Reference Manual
Transcript
C NAME FACE NAME FmSetFunctionPrototype none SYNOPSIS int FmSetFunctionPrototype( String Myfunction, String MyCfunction, String type1, String type2, ...) DESCRIPTION Equivalent to the cprototype construct. The FmSetFunctionPrototype function takes a variable number of arguments. If the number of C types for the arguments of the FACE function does not match the number of arguments specified in the corresponding call to FmAttachFunction, the behavior is undefined. Myfunction is the name of the function declared in a FACE script. MyCfunction is the name the function should have in the C code. type1 is the type of the return value in the C code. type2 is the type of the first argument in the C code. The types declared for MyCfunction (type1, type2, ...) should correspond to those declared for the FACE function MyFunction. If the number of arguments does not match, the behavior is undefined. SCOPE Application only EXAMPLE SEE ALSO 326