#include "src/d8/d8.h"
#include "include/v8-fast-api-calls.h"
#include "include/v8-template.h"
#include "src/api/api-inl.h"
namespace v8 {
namespace {
#define CHECK_SELF_OR_THROW_FAST_OPTIONS …
#define CHECK_SELF_OR_THROW_FAST …
#define CHECK_SELF_OR_THROW_SLOW …
class FastCApiObject { … };
#undef CHECK_SELF_OR_THROW_SLOW
#undef CHECK_SELF_OR_THROW_FAST
#undef CHECK_SELF_OR_THROW_FAST_OPTIONS
thread_local FastCApiObject kFastCApiObject;
}
FastCApiObject& FastCApiObject::instance() { … }
void CreateFastCAPIObject(const FunctionCallbackInfo<Value>& info) { … }
Local<FunctionTemplate> Shell::CreateTestFastCApiTemplate(Isolate* isolate) { … }
void CreateLeafInterfaceObject(const FunctionCallbackInfo<Value>& info) { … }
Local<FunctionTemplate> Shell::CreateLeafInterfaceTypeTemplate(
Isolate* isolate) { … }
}