mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
LibDevTools: Add a helper to acquire required message parameters
This is just to help make the message handlers a bit briefer. I had considered adding a TRY-like macro to auto-return when the lookup fails, but since statement expressions cannot return references, that would result in a copy of all e.g. object and array lookups.
This commit is contained in:
parent
4ce10f3bf4
commit
e1ed8722e0
Notes:
github-actions[bot]
2025-03-12 16:49:03 +00:00
Author: https://github.com/trflynn89
Commit: e1ed8722e0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3904
12 changed files with 85 additions and 121 deletions
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/JsonObject.h>
|
||||
#include <LibDevTools/Actor.h>
|
||||
#include <LibDevTools/Connection.h>
|
||||
#include <LibDevTools/DevToolsServer.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue