Pyrogenesis  trunk
Classes | Namespaces | Macros | Functions | Variables
ScriptInterface.cpp File Reference

Abstractions of various SpiderMonkey features. More...

#include "precompiled.h"
#include "ScriptInterface.h"
#include "ScriptRuntime.h"
#include "ScriptStats.h"
#include "lib/debug.h"
#include "lib/utf8.h"
#include "ps/CLogger.h"
#include "ps/Filesystem.h"
#include "ps/Profile.h"
#include "ps/utf16string.h"
#include <cassert>
#include <map>
#include <boost/preprocessor/punctuation/comma_if.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
#include <boost/random/linear_congruential.hpp>
#include <boost/flyweight.hpp>
#include <boost/flyweight/key_value.hpp>
#include <boost/flyweight/no_locking.hpp>
#include <boost/flyweight/no_tracking.hpp>
#include "valgrind.h"
#include "scriptinterface/ScriptExtraHeaders.h"
Include dependency graph for ScriptInterface.cpp:

Classes

struct  ScriptInterface_impl
 
struct  Stringifier
 

Namespaces

 anonymous_namespace{ScriptInterface.cpp}
 

Macros

#define BOOST_MULTI_INDEX_DISABLE_SERIALIZATION
 

Functions

void anonymous_namespace{ScriptInterface.cpp}::ErrorReporter (JSContext *cx, const char *message, JSErrorReport *report)
 
bool anonymous_namespace{ScriptInterface.cpp}::print (JSContext *cx, uint argc, jsval *vp)
 
bool anonymous_namespace{ScriptInterface.cpp}::logmsg (JSContext *cx, uint argc, jsval *vp)
 
bool anonymous_namespace{ScriptInterface.cpp}::warn (JSContext *cx, uint argc, jsval *vp)
 
bool anonymous_namespace{ScriptInterface.cpp}::error (JSContext *cx, uint argc, jsval *vp)
 
bool anonymous_namespace{ScriptInterface.cpp}::deepcopy (JSContext *cx, uint argc, jsval *vp)
 
bool anonymous_namespace{ScriptInterface.cpp}::ProfileStart (JSContext *cx, uint argc, jsval *vp)
 
bool anonymous_namespace{ScriptInterface.cpp}::ProfileStop (JSContext *cx, uint argc, jsval *vp)
 
bool anonymous_namespace{ScriptInterface.cpp}::ProfileAttribute (JSContext *cx, uint argc, jsval *vp)
 
static double anonymous_namespace{ScriptInterface.cpp}::generate_uniform_real (boost::rand48 &rng, double min, double max)
 
bool anonymous_namespace{ScriptInterface.cpp}::Math_random (JSContext *cx, uint argc, jsval *vp)
 

Variables

JSClass anonymous_namespace{ScriptInterface.cpp}::global_class
 

Detailed Description

Abstractions of various SpiderMonkey features.

Engine code should be using functions of these interfaces rather than directly accessing the underlying JS api.

Macro Definition Documentation

#define BOOST_MULTI_INDEX_DISABLE_SERIALIZATION