v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
api.h File Reference
#include "v8.h"
#include "../include/v8-testing.h"
#include "apiutils.h"
#include "contexts.h"
#include "factory.h"
#include "isolate.h"
#include "list-inl.h"
Include dependency graph for api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Consts
 
class  NeanderObject
 
class  NeanderArray
 
class  ApiFunction
 
class  RegisteredExtension
 
class  Utils
 
class  StringTracker
 
class  HandleScopeImplementer
 
class  Testing
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define MAKE_TO_LOCAL(Name, From, To)
 
#define MAKE_OPEN_HANDLE(From, To)
 

Functions

template<typename T >
T ToCData (v8::internal::Object *obj)
 
template<typename T >
v8::internal::Handle
< v8::internal::Object
FromCData (T obj)
 
template<class T >
TToApi (v8::internal::Handle< v8::internal::Object > obj)
 

Variables

const int kHandleBlockSize = v8::internal::KB - 2
 

Macro Definition Documentation

#define MAKE_OPEN_HANDLE (   From,
  To 
)
Value:
const v8::From* that) { \
reinterpret_cast<v8::internal::To**>(const_cast<v8::From*>(that))); \
}

Definition at line 297 of file api.h.

#define MAKE_TO_LOCAL (   Name,
  From,
  To 
)
Value:
Local<v8::To> Utils::Name(v8::internal::Handle<v8::internal::From> obj) { \
ASSERT(obj.is_null() || !obj->IsTheHole()); \
return Local<To>(reinterpret_cast<To*>(obj.location())); \
}
#define ASSERT(condition)
Definition: checks.h:270
T ** location() const
Definition: handles.h:75
bool is_null() const
Definition: handles.h:87

Definition at line 266 of file api.h.