Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
bootstrap_natives.h File Reference
#include "vm/native_entry.h"

Go to the source code of this file.

Classes

class  dart::BootstrapNatives
 

Namespaces

namespace  dart
 

Macros

#define BOOTSTRAP_NATIVE_LIST(V)
 
#define MIRRORS_BOOTSTRAP_NATIVE_LIST(V)
 
#define BOOTSTRAP_FFI_NATIVE_LIST(V)
 
#define DECLARE_BOOTSTRAP_NATIVE(name, ignored)
 
#define DECLARE_BOOTSTRAP_FFI_NATIVE(name, return_type, argument_types)    static return_type FN_##name argument_types;
 

Macro Definition Documentation

◆ BOOTSTRAP_FFI_NATIVE_LIST

#define BOOTSTRAP_FFI_NATIVE_LIST (   V)
Value:
V(FinalizerEntry_SetExternalSize, void, (Dart_Handle, intptr_t)) \
V(Pointer_asTypedListFinalizerAllocateData, void*, ()) \
V(Pointer_asTypedListFinalizerCallbackPointer, void*, ())
struct _Dart_Handle * Dart_Handle
Definition dart_api.h:258
#define V(name)
Definition raw_object.h:124

Definition at line 376 of file bootstrap_natives.h.

380 : public AllStatic {
381 public:
383 int argument_count,
384 bool* auto_setup_scope);
385
386 // For use with @Native.
387 static void* LookupFfiNative(const char* name, uintptr_t argument_count);
388
389 static const uint8_t* Symbol(Dart_NativeFunction nf);
390
391#define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
392 static ObjectPtr DN_##name(Thread* thread, Zone* zone, \
393 NativeArguments* arguments);
394
396#if !defined(DART_PRECOMPILED_RUNTIME)
398#endif
399#undef DECLARE_BOOTSTRAP_NATIVE
400
401#define DECLARE_BOOTSTRAP_FFI_NATIVE(name, return_type, argument_types) \
402 static return_type FN_##name argument_types;
404#undef DECLARE_BOOTSTRAP_FFI_NATIVE
405};
406
407} // namespace dart
408
409#endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_
#define DECLARE_BOOTSTRAP_FFI_NATIVE(name, return_type, argument_types)
#define BOOTSTRAP_FFI_NATIVE_LIST(V)
#define MIRRORS_BOOTSTRAP_NATIVE_LIST(V)
#define BOOTSTRAP_NATIVE_LIST(V)
#define DECLARE_BOOTSTRAP_NATIVE(name, ignored)
void(* Dart_NativeFunction)(Dart_NativeArguments arguments)
Definition dart_api.h:3198
const char * name
Definition fuchsia.cc:50
int argument_count
Definition fuchsia.cc:52

◆ BOOTSTRAP_NATIVE_LIST

#define BOOTSTRAP_NATIVE_LIST (   V)

Definition at line 16 of file bootstrap_natives.h.

◆ DECLARE_BOOTSTRAP_FFI_NATIVE

#define DECLARE_BOOTSTRAP_FFI_NATIVE (   name,
  return_type,
  argument_types 
)     static return_type FN_##name argument_types;

Definition at line 402 of file bootstrap_natives.h.

◆ DECLARE_BOOTSTRAP_NATIVE

#define DECLARE_BOOTSTRAP_NATIVE (   name,
  ignored 
)
Value:
static ObjectPtr DN_##name(Thread* thread, Zone* zone, \
NativeArguments* arguments);

Definition at line 392 of file bootstrap_natives.h.

◆ MIRRORS_BOOTSTRAP_NATIVE_LIST

#define MIRRORS_BOOTSTRAP_NATIVE_LIST (   V)

Definition at line 326 of file bootstrap_natives.h.