Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions | Variables
exceptions_test.cc File Reference
#include "include/dart_api.h"
#include "platform/assert.h"
#include "vm/dart_api_impl.h"
#include "vm/unit_test.h"

Go to the source code of this file.

Classes

struct  dart::NativeEntries
 

Namespaces

namespace  dart
 

Macros

#define FUNCTION_NAME(name)   UnhandledExcp_##name
 
#define REGISTER_FUNCTION(name, count)   {"" #name, FUNCTION_NAME(name), count},
 
#define UNHANDLED_NATIVE_LIST(V)
 

Functions

void FUNCTION_NAME() dart::Unhandled_equals (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::Unhandled_invoke (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::Unhandled_invoke2 (Dart_NativeArguments args)
 
static Dart_NativeFunction dart::native_lookup (Dart_Handle name, int argument_count, bool *auto_setup_scope)
 
 dart::TEST_CASE (UnhandledExceptions)
 

Variables

static struct dart::NativeEntries dart::BuiltinEntries [] = {UNHANDLED_NATIVE_LIST(REGISTER_FUNCTION)}
 

Macro Definition Documentation

◆ FUNCTION_NAME

#define FUNCTION_NAME (   name)    UnhandledExcp_##name

Definition at line 12 of file exceptions_test.cc.

◆ REGISTER_FUNCTION

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

Definition at line 13 of file exceptions_test.cc.

◆ UNHANDLED_NATIVE_LIST

#define UNHANDLED_NATIVE_LIST (   V)
Value:
void FUNCTION_NAME() Unhandled_equals(Dart_NativeArguments args)
void FUNCTION_NAME() Unhandled_invoke(Dart_NativeArguments args)
void FUNCTION_NAME() Unhandled_invoke2(Dart_NativeArguments args)
#define V(name)
Definition: raw_object.h:125

Definition at line 55 of file exceptions_test.cc.