Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
fuchsia.cc File Reference
#include "dart-pkg/fuchsia/sdk_ext/fuchsia.h"
#include <zircon/syscalls.h>
#include <cstdio>
#include <cstring>
#include <memory>
#include <vector>
#include "dart-pkg/zircon/sdk_ext/handle.h"
#include "dart-pkg/zircon/sdk_ext/natives.h"
#include "dart-pkg/zircon/sdk_ext/system.h"
#include "flutter/fml/size.h"
#include "third_party/dart/runtime/include/dart_api.h"
#include "third_party/tonic/dart_binding_macros.h"
#include "third_party/tonic/dart_class_library.h"
#include "third_party/tonic/dart_class_provider.h"
#include "third_party/tonic/dart_library_natives.h"
#include "third_party/tonic/dart_state.h"
#include "third_party/tonic/logging/dart_invoke.h"
#include "third_party/tonic/typed_data/typed_list.h"

Go to the source code of this file.

Namespaces

namespace  fuchsia
 
namespace  fuchsia::dart
 

Macros

#define REGISTER_FUNCTION(name, count)   {"" #name, name, count},
 
#define DECLARE_FUNCTION(name, count)    extern void name(Dart_NativeArguments args);
 
#define FIDL_NATIVE_LIST(V)   V(SetReturnCode, 1)
 

Functions

void fuchsia::dart::Initialize (zx::channel directory_request, std::optional< zx::eventpair > view_ref)
 Initializes Dart bindings for the Fuchsia application model. More...
 

Macro Definition Documentation

◆ DECLARE_FUNCTION

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

Definition at line 42 of file fuchsia.cc.

◆ FIDL_NATIVE_LIST

#define FIDL_NATIVE_LIST (   V)    V(SetReturnCode, 1)

Definition at line 45 of file fuchsia.cc.

◆ REGISTER_FUNCTION

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

Definition at line 41 of file fuchsia.cc.

Variable Documentation

◆ argument_count

int argument_count

Definition at line 52 of file fuchsia.cc.

◆ function

Definition at line 51 of file fuchsia.cc.

◆ name

const char* name

Definition at line 50 of file fuchsia.cc.