print_decls
Print types in a format suitable for use in a header file
ordinals - comma-separated list of type ordinals
flags - combination of PDF_... constants or 0
returns: string containing the type definitions
string print_decls(string ordinals, long flags);
#define PDF_INCL_DEPS 0x1 // include dependencies
#define PDF_DEF_FWD 0x2 // allow forward declarations
#define PDF_DEF_BASE 0x4 // include base types: __int8, __int16, etc..
#define PDF_HEADER_CMT 0x8 // prepend output with a descriptive comment
Last updated