mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 13:37:10 +09:00

This has come up several times during code review, so let's just enforce it using a new clang-format 20 option.
17 lines
314 B
Text
17 lines
314 B
Text
/*
|
|
* Copyright (c) 2025, Andrew Kaster <andrew@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibCore/EventLoop.h>
|
|
#include <LibCore/EventSwift.h>
|
|
|
|
namespace Core {
|
|
|
|
void deferred_invoke_block(EventLoop& event_loop, void (^invokee)(void))
|
|
{
|
|
event_loop.deferred_invoke(invokee);
|
|
}
|
|
|
|
}
|