mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
REQUIRE_PROMISE and REQUIRE_NO_PROMISES were macros for some reason, and used all over the place. This patch adds require_promise(Pledge) and require_no_promises() to Process and makes the macros call these on the current process instead of inlining code everywhere.
30 KiB
30 KiB