#include "flutter/shell/platform/embedder/embedder.h"
Go to the source code of this file.
◆ MOCK_ENGINE_PROC
#define MOCK_ENGINE_PROC |
( |
|
proc, |
|
|
|
mock_impl |
|
) |
| |
Value: ([&]() { \
static std::function< \
std::remove_pointer_t<decltype(FlutterEngineProcTable::proc)>> \
closure; \
closure = mock_impl; \
static auto non_capturing = [](
auto...
args) {
return closure(
args...); }; \
return non_capturing; \
})()
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
Definition at line 19 of file proc_table_replacement.h.
20 { \
21 static std::function< \
22 std::remove_pointer_t<decltype(FlutterEngineProcTable::proc)>> \
23 closure; \
25 static auto non_capturing = [](
auto...
args) {
return closure(
args...); }; \
26 return non_capturing; \
27 })()
std::function< void()> closure