Flutter Engine
The Flutter Engine
native_assets_api.h
Go to the documentation of this file.
1// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_INCLUDE_BIN_NATIVE_ASSETS_API_H_
6#define RUNTIME_INCLUDE_BIN_NATIVE_ASSETS_API_H_
7
8namespace dart {
9namespace bin {
10
12 public:
13 static void* DlopenAbsolute(const char* path, char** error);
14 static void* DlopenRelative(const char* path,
15 const char* script_uri,
16 char** error);
17 static void* DlopenSystem(const char* path, char** error);
18 static void* DlopenProcess(char** error);
19 static void* DlopenExecutable(char** error);
20 static void* Dlsym(void* handle, const char* symbol, char** error);
21};
22
23} // namespace bin
24} // namespace dart
25
26#endif // RUNTIME_INCLUDE_BIN_NATIVE_ASSETS_API_H_
static void * DlopenSystem(const char *path, char **error)
static void * DlopenExecutable(char **error)
static void * DlopenProcess(char **error)
static void * DlopenRelative(const char *path, const char *script_uri, char **error)
static void * Dlsym(void *handle, const char *symbol, char **error)
static void * DlopenAbsolute(const char *path, char **error)
const uint8_t uint32_t uint32_t GError ** error
Definition: dart_vm.cc:33
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
Definition: switches.h:57