COOPY » Guide  version 0.6.5
Namespaces | Functions | Variables
/home/paulfitz/cvs/coopy_scm/coopy/src/libjs/JsWrap.cpp File Reference
#include "jsapi.h"
#include <coopy/JsWrap.h>

Go to the source code of this file.

Namespaces

namespace  coopy
 

All COOPY toolbox classes.


namespace  coopy::js

Functions

void reportError (JSContext *cx, const char *message, JSErrorReport *report)

Variables

static JSClass global_class
static int js_instance_count = 0
static JsWrapGlobal * js_global = NULL

Function Documentation

void reportError ( JSContext *  cx,
const char *  message,
JSErrorReport *  report 
)

Definition at line 15 of file JsWrap.cpp.


Variable Documentation

JSClass global_class [static]
Initial value:
 {
  "global", JSCLASS_GLOBAL_FLAGS,
  JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_StrictPropertyStub,
  JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub,
  JSCLASS_NO_OPTIONAL_MEMBERS
}

Definition at line 8 of file JsWrap.cpp.

JsWrapGlobal* js_global = NULL [static]
int js_instance_count = 0 [static]

Definition at line 167 of file JsWrap.cpp.

Referenced by coopy::js::JsWrap::JsWrap(), and coopy::js::JsWrap::~JsWrap().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines