Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros
builtin.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include "include/dart_api.h"
#include "platform/assert.h"
#include "platform/globals.h"

Go to the source code of this file.

Classes

class  dart::bin::Builtin
 

Namespaces

namespace  dart
 
namespace  dart::bin
 

Macros

#define FUNCTION_NAME(name)   Builtin_##name
 
#define REGISTER_FUNCTION(name, count)   {"" #name, FUNCTION_NAME(name), count},
 
#define DECLARE_FUNCTION(name, count)    extern void FUNCTION_NAME(name)(Dart_NativeArguments args);
 

Macro Definition Documentation

◆ DECLARE_FUNCTION

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

Definition at line 21 of file builtin.h.

◆ FUNCTION_NAME

#define FUNCTION_NAME (   name)    Builtin_##name

Definition at line 19 of file builtin.h.

◆ REGISTER_FUNCTION

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

Definition at line 20 of file builtin.h.