4 #include "../pico/pico_int.h"
6 #define DUMP(f, field) \
7 fprintf(f, "#define %-20s 0x%02x\n", \
9 (int)offsetof(struct PicoEState, field))
11 int main(int argc, char *argv[])
16 snprintf(buf, sizeof(buf), "pico/pico_int_o%d.h", sizeof(void *) * 8);
23 fprintf(f, "/* autogenerated by %s, do not edit */\n", argv[0]);
24 DUMP(f, DrawScanline);
26 DUMP(f, DrawLineDest);