mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
LibIPC+IPCCompiler+AK: Make IPC value decoders return ErrorOr<void>
This allows us to use TRY() in decoding helpers, leading to a nice reduction in line count.
This commit is contained in:
parent
8d76eb773f
commit
cb9cac4e40
Notes:
sideshowbarker
2024-07-18 00:33:35 +09:00
Author: https://github.com/awesomekling
Commit: cb9cac4e40
21 changed files with 207 additions and 296 deletions
|
@ -35,6 +35,6 @@ private:
|
|||
namespace IPC {
|
||||
|
||||
bool encode(Encoder&, const Gfx::ShareableBitmap&);
|
||||
bool decode(Decoder&, Gfx::ShareableBitmap&);
|
||||
ErrorOr<void> decode(Decoder&, Gfx::ShareableBitmap&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue