Hi, > typedefs.h is useful to avoid rebuilding the world too often if a type > is used many times as a pointer, but rarely as a struct and rarely has > functions called on its instances.
Related: Can also be used to keep struct content private. struct QemuConsole for example is private to ui/console.c, but pointers to QemuConsole are passed around alot in ui/* and hw/display/* code. cheers, Gerd