9#include "third_party/dart/runtime/include/dart_api.h"
17 zx::channel directory_request,
18 zx::eventpair view_ref)
19 : fdio_ns_(
std::move(fdio_ns)),
20 directory_request_(
std::move(directory_request)),
42void IsolateConfigurator::BindFuchsia() {
44 std::move(view_ref_));
47void IsolateConfigurator::BindZircon() {
63void IsolateConfigurator::BindDartIO() {
IsolateConfigurator(UniqueFDIONS fdio_ns, zx::channel directory_request, zx::eventpair view_ref)
bool ConfigureCurrentIsolate()
DART_EXPORT Dart_Handle Dart_GetNonNullableType(Dart_Handle library, Dart_Handle class_name, intptr_t number_of_type_arguments, Dart_Handle *type_arguments)
struct _Dart_Handle * Dart_Handle
DART_EXPORT DART_WARN_UNUSED_RESULT Dart_Handle Dart_Invoke(Dart_Handle target, Dart_Handle name, int number_of_arguments, Dart_Handle *arguments)
DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url)
DART_EXPORT DART_WARN_UNUSED_RESULT Dart_Handle Dart_SetField(Dart_Handle container, Dart_Handle name, Dart_Handle value)
DART_EXPORT Dart_Handle Dart_False(void)
DART_EXPORT Dart_Handle Dart_NewInteger(int64_t value)
#define FML_CHECK(condition)
void Initialize(zx::channel directory_request, std::optional< zx::eventpair > view_ref)
Initializes Dart bindings for the Fuchsia application model.
Dart_Handle ToDart(const T &object)
bool CheckAndHandleError(Dart_Handle handle)