Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
dart_dl.h
Go to the documentation of this file.
1#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_DART_DL_H_
2#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_DART_DL_H_
3
4#include "macros.h"
5
6#include <stdint.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12// Initialize Dart API with dynamic linking.
13//
14// Must be called with `NativeApi.initializeApiDLData` from `dart:ffi`, before
15// using other functions.
16//
17// Returns 1 on success.
18ZIRCON_FFI_EXPORT int zircon_dart_dl_initialize(void* initialize_api_dl_data);
19
20#ifdef __cplusplus
21} // extern "C"
22#endif
23
24#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_DART_DL_H_
ZIRCON_FFI_EXPORT int zircon_dart_dl_initialize(void *initialize_api_dl_data)
Definition dart_dl.cc:6
#define ZIRCON_FFI_EXPORT
Definition macros.h:8