Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Variables
bootstrap_natives.cc File Reference
#include "vm/bootstrap.h"
#include "include/dart_api.h"
#include "vm/bootstrap_natives.h"
#include "vm/dart_api_impl.h"
#include "vm/object.h"
#include "vm/object_store.h"
#include "vm/service_isolate.h"

Go to the source code of this file.

Classes

struct  dart::NativeEntries
 
struct  dart::FfiNativeEntries
 

Namespaces

namespace  dart
 

Macros

#define REGISTER_NATIVE_ENTRY(name, count)    {"" #name, reinterpret_cast<void*>(BootstrapNatives::DN_##name), count},
 
#define REGISTER_FFI_NATIVE_ENTRY(name, return_type, argument_types)    {"" #name, reinterpret_cast<void*>(BootstrapNatives::FN_##name)},
 

Variables

static const struct dart::NativeEntries dart::BootStrapEntries []
 
static const struct dart::FfiNativeEntries dart::BootStrapFfiEntries []
 

Macro Definition Documentation

◆ REGISTER_FFI_NATIVE_ENTRY

#define REGISTER_FFI_NATIVE_ENTRY (   name,
  return_type,
  argument_types 
)     {"" #name, reinterpret_cast<void*>(BootstrapNatives::FN_##name)},

Definition at line 34 of file bootstrap_natives.cc.

◆ REGISTER_NATIVE_ENTRY

#define REGISTER_NATIVE_ENTRY (   name,
  count 
)     {"" #name, reinterpret_cast<void*>(BootstrapNatives::DN_##name), count},

Definition at line 18 of file bootstrap_natives.cc.