Flutter Engine
 
Loading...
Searching...
No Matches
dart_dl.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_DART_DL_H_
5#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_DART_DL_H_
6
7#include "macros.h"
8
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15// Initialize Dart API with dynamic linking.
16//
17// Must be called with `NativeApi.initializeApiDLData` from `dart:ffi`, before
18// using other functions.
19//
20// Returns 1 on success.
21ZIRCON_FFI_EXPORT int zircon_dart_dl_initialize(void* initialize_api_dl_data);
22
23#ifdef __cplusplus
24} // extern "C"
25#endif
26
27#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:9
#define ZIRCON_FFI_EXPORT
Definition macros.h:8