LibIPC+IPCCompiler: Add IPC::Decoder, let classes decode themselves

This shaves ~5 seconds off of a full build, not too bad. Also it just
seems nicer to push this logic out to classes. It could be better but
it's a start. :^)
This commit is contained in:
Andreas Kling 2020-02-15 12:04:35 +01:00
commit a4d857e3c5
Notes: sideshowbarker 2024-07-19 09:19:03 +09:00
12 changed files with 272 additions and 61 deletions

View file

@ -334,3 +334,7 @@ inline void Point::constrain(const Rect& rect)
const LogStream& operator<<(const LogStream&, const Rect&);
}
namespace IPC {
bool decode(BufferStream&, Gfx::Rect&);
}