mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 21:45:20 +00:00
LibCore's list of ignored header files for Swift was missing the Apple only files on non-Apple platforms. Additionally, any generic glue code cannot use -fobjc-arc, so we need to rely on -fblocks only.
16 lines
313 B
Text
16 lines
313 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);
|
|
}
|
|
|
|
}
|