#include "dart_dl.h"
#include "flutter/fml/logging.h"
#include "include/dart_api_dl.h"
Go to the source code of this file.
◆ zircon_dart_dl_initialize()
| int zircon_dart_dl_initialize |
( |
void * |
initialize_api_dl_data | ) |
|
Definition at line 9 of file dart_dl.cc.
9 {
10 if (Dart_InitializeApiDL(initialize_api_dl_data) != 0) {
11 FML_LOG(ERROR) <<
"Failed to initialise Dart VM API";
12 return -1;
13 }
14
15 if (Dart_NewFinalizableHandle_DL == NULL) {
16 FML_LOG(ERROR) <<
"Unable to find Dart API finalizer symbols.";
17 return -1;
18 }
19 return 1;
20}
#define FML_LOG(severity)
References FML_LOG.