Help index

ParseTypes

***********************************************
** Parse one type declaration
        input -  a C declaration
        flags -  combination of PT_... constants or 0
                 PT_FILE should not be specified in flags (it is ignored)
   returns: typeinfo object or num 0

long ParseType(string input, long flags);

*********************************************** ** Parse many type declarations input - file name or C declarations (depending on the flags) flags - combination of PT_... constants or 0 returns: number of errors

long ParseTypes(string input, long flags);

#define PT_FILE 0x0001 // input if a file name (otherwise contains type declarations) #define PT_SILENT 0x0002 // silent mode #define PT_PAKDEF 0x0000 // default pack value #define PT_PAK1 0x0010 // #pragma pack(1) #define PT_PAK2 0x0020 // #pragma pack(2) #define PT_PAK4 0x0030 // #pragma pack(4) #define PT_PAK8 0x0040 // #pragma pack(8) #define PT_PAK16 0x0050 // #pragma pack(16) #define PT_HIGH 0x0080 // assume high level prototypes // (with hidden args, etc) #define PT_LOWER 0x0100 // lower the function prototypes

Index | Previous topic | Next topic