Previous: , Up: Miscellaneous Functions   [Index]


3.21.5.7 x1f4_vprint_xtfunction

extern int x1f4_vprint_xtfunction
    (void *data, int (*this)(void *, const char *, unsigned), void *text,
     int (*type_name)(void *, const char *, unsigned),
     const struct x1f4_function_type *function_data,
     const struct x1f4_eelookup_type *eelookup);

The x1f4_vprint_xtfunction function formats the function_data function definition signature. It formats each non name string that is part of the function signature by calling the this method with data as its first argument and the address and the length of the string as its second and third arguments, and each name string by calling the type_name method with text as its first argument and the address and the length of the string as its second and third arguments. The struct x1f4_eelookup_type record at the eelookup address is used in looking up non intrinsic types.

See Symbolic Types.

See struct x1f4_eelookup_type.

The this and type_name methods are expected to return 0 for success, non zero for failure.

The x1f4_vprint_xtfunction function returns 0 for success, non zero for failure.