#include <dart_runtime_hooks.h>
Definition at line 14 of file dart_runtime_hooks.h.
◆ GetCallbackFromHandle()
Dart_Handle flutter::DartRuntimeHooks::GetCallbackFromHandle |
( |
int64_t |
handle | ) |
|
|
static |
Definition at line 263 of file dart_runtime_hooks.cc.
263 {
267}
static Dart_Handle GetCallback(int64_t handle)
struct _Dart_Handle * Dart_Handle
static void PropagateIfError(Dart_Handle result)
◆ GetCallbackHandle()
Definition at line 247 of file dart_runtime_hooks.cc.
247 {
251
252
253
254
255
258 }
261}
static int64_t GetCallbackHandle(const std::string &name, const std::string &class_name, const std::string &library_path)
DART_EXPORT Dart_Handle Dart_Null(void)
DART_EXPORT bool Dart_IsTearOff(Dart_Handle object)
const char *const class_name
static std::string GetFunctionClassName(Dart_Handle closure)
static std::string GetFunctionName(Dart_Handle func)
DEF_SWITCHES_START aot vmservice shared library name
static std::string GetFunctionLibraryUrl(Dart_Handle closure)
Dart_Handle ToDart(const T &object)
◆ Install()
void flutter::DartRuntimeHooks::Install |
( |
bool |
is_ui_isolate, |
|
|
const std::string & |
script_uri |
|
) |
| |
|
static |
Definition at line 134 of file dart_runtime_hooks.cc.
135 {
141}
DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url)
static void InitDartIO(Dart_Handle builtin_library, const std::string &script_uri)
static void InitDartInternal(Dart_Handle builtin_library, bool is_ui_isolate)
static void InitDartCore(Dart_Handle builtin, const std::string &script_uri)
static void InitDartAsync(Dart_Handle builtin_library, bool is_ui_isolate)
◆ Logger_PrintDebugString()
void flutter::DartRuntimeHooks::Logger_PrintDebugString |
( |
const std::string & |
message | ) |
|
|
static |
Definition at line 143 of file dart_runtime_hooks.cc.
143 {
144#ifndef NDEBUG
146#endif
147}
static void Logger_PrintString(const std::string &message)
◆ Logger_PrintString()
void flutter::DartRuntimeHooks::Logger_PrintString |
( |
const std::string & |
message | ) |
|
|
static |
Definition at line 149 of file dart_runtime_hooks.cc.
149 {
152
155 if (!tag.empty()) {
157 }
160
161
162 uint8_t newline[] = {'\n'};
164 reinterpret_cast<const uint8_t*
>(
log.c_str()),
167 }
168}
const std::string & logger_prefix() const
void LogMessage(const std::string &tag, const std::string &message) const
static UIDartState * Current()
bool ShouldCaptureStdout()
◆ ScheduleMicrotask()
void flutter::DartRuntimeHooks::ScheduleMicrotask |
( |
Dart_Handle |
closure | ) |
|
|
static |
Definition at line 170 of file dart_runtime_hooks.cc.
170 {
172}
void ScheduleMicrotask(Dart_Handle handle)
std::function< void()> closure
The documentation for this class was generated from the following files: