Flutter Engine
service_isolate.cc File Reference

Go to the source code of this file.

Namespaces

 dart_runner
 

Macros

#define SHUTDOWN_ON_ERROR(handle)
 

Functions

Dart_Isolate dart_runner::CreateServiceIsolate (const char *uri, Dart_IsolateFlags *flags, char **error)
 
Dart_Handle dart_runner::GetVMServiceAssetsArchiveCallback ()
 

Macro Definition Documentation

◆ SHUTDOWN_ON_ERROR

#define SHUTDOWN_ON_ERROR (   handle)
Value:
if (Dart_IsError(handle)) { \
*error = strdup(Dart_GetError(handle)); \
FX_LOG(ERROR, LOG_TAG, *error); \
Dart_ExitScope(); \
Dart_ShutdownIsolate(); \
return nullptr; \
}
FlMethodResponse GError ** error
#define LOG_TAG
Definition: logging.h:11
char * strdup(const char *str1)

Definition at line 41 of file service_isolate.cc.

Referenced by dart_runner::CreateServiceIsolate().