Hello,
I really find the type_t's quite handy. But when coming across an API, this isn't quite any more...
I'd like to get the parameters an API accepts and returns.
For instance,
print_type (..., buf, sizeof(buf)); << can't remember the syntax
type_t *retType = new type_t;
retType = extract_func_ret_type(type, retType, sizeof(retType));
then I compare it with
switch (*retType[k])
case BT_INT8:
....
the value in retType is always 0....
Any comments are welcome!
Thanks
Jack







