Closed
Description
Generating bindings for /usr/include/uv.h
gives lots of errors and does not output Scala code:
Failed to get declaration for struct __fsid_t
Failed to get declaration for struct _IO_FILE
Failed to get declaration for struct __va_list_tag
...
The problem is that typedef for struct can be located above struct declaration:
typedef struct myStruct mystruct;
struct myStruct {
int a;
};
So when TreeVisitor
visits typedef it is unable to translate struct myStruct
because type is not yet in TypeTranslator::aliasesMap