Flutter Engine
builtin_libraries.cc File Reference
#include "builtin_libraries.h"
#include <lib/fdio/namespace.h>
#include <lib/zx/channel.h>
#include <optional>
#include "dart-pkg/fuchsia/sdk_ext/fuchsia.h"
#include "flutter/fml/logging.h"
#include "runtime/dart/utils/inlines.h"
#include "third_party/dart/runtime/bin/io_natives.h"
#include "third_party/dart/runtime/include/dart_api.h"
#include "third_party/tonic/converter/dart_converter.h"
#include "third_party/tonic/dart_microtask_queue.h"
#include "third_party/tonic/logging/dart_error.h"
#include "logging.h"

Go to the source code of this file.

Namespaces

 dart_runner
 

Macros

#define REGISTER_FUNCTION(name, count)   {#name, name, count},
 
#define DECLARE_FUNCTION(name, count)   extern void name(Dart_NativeArguments args);
 
#define BUILTIN_NATIVE_LIST(V)
 

Functions

void dart_runner::InitBuiltinLibrariesForIsolate (const std::string &script_uri, fdio_ns_t *namespc, int stdoutfd, int stderrfd, fidl::InterfaceHandle< fuchsia::sys::Environment > environment, zx::channel directory_request, bool service_isolate)
 

Macro Definition Documentation

◆ BUILTIN_NATIVE_LIST

#define BUILTIN_NATIVE_LIST (   V)
Value:
void Logger_PrintString(Dart_NativeArguments args)
void ScheduleMicrotask(Dart_NativeArguments args)

Definition at line 32 of file builtin_libraries.cc.

◆ DECLARE_FUNCTION

#define DECLARE_FUNCTION (   name,
  count 
)    extern void name(Dart_NativeArguments args);

Definition at line 29 of file builtin_libraries.cc.

◆ REGISTER_FUNCTION

#define REGISTER_FUNCTION (   name,
  count 
)    {#name, name, count},

Definition at line 28 of file builtin_libraries.cc.

Variable Documentation

◆ argument_count

int argument_count

Definition at line 41 of file builtin_libraries.cc.

◆ function

Dart_NativeFunction function

Definition at line 40 of file builtin_libraries.cc.

◆ name

const char* name

Definition at line 39 of file builtin_libraries.cc.