#include <assert.h>
#include <memory>
#include "cocos2d.h"
#include "js_bindings_config.h"
#include "js_bindings_core.h"
#include "jsapi.h"
#include "jsfriendapi.h"
#include "spidermonkey_specifics.h"
#include "js_manual_conversions.h"
Classes | |
class | SimpleRunLoop |
class | ScriptingCore |
Typedefs | |
typedef void(* | sc_register_sth )(JSContext *cx, JSObject *global) |
Functions | |
void | (const char *format,...) |
void | (JSContext *cx, JSObject *global) |
JSObject * | (JSContext *cx, bool debug=false) |
JSBool | (JSObject *obj, uint32_t idx, jsval value) |
JSBool | (JSObject *obj, uint32_t idx, jsval &ret) |
js_proxy_t * | (void *nativeObj, JSObject *jsObj) |
js_proxy_t * | (void *nativeObj) |
js_proxy_t * | (JSObject *jsObj) |
void | (js_proxy_t *nativeProxy, js_proxy_t *jsProxy) |
typedef void(* sc_register_sth)(JSContext *cx, JSObject *global) |
typedef void(* sc_register_sth)(JSContext *cx, JSObject *global) |
typedef void(* sc_register_sth)(JSContext *cx, JSObject *global) |
void js_log | ( | const char * | format, |
... | |||
) |
var js_log | ( | var | format, |
... | |||
) |
local js_log | ( | local | format, |
... | |||
) |
void registerDefaultClasses | ( | JSContext * | cx, |
JSObject * | global | ||
) |
var registerDefaultClasses | ( | var | cx, |
var | global | ||
) |
local registerDefaultClasses | ( | local | cx, |
local | global | ||
) |
JSObject* NewGlobalObject | ( | JSContext * | cx, |
bool | debug = false |
||
) |
var NewGlobalObject | ( | var | cx, |
var | debug = false |
||
) |
local NewGlobalObject | ( | local | cx, |
local | debug = false |
||
) |
JSBool jsb_set_reserved_slot | ( | JSObject * | obj, |
uint32_t | idx, | ||
jsval | value | ||
) |
var jsb_set_reserved_slot | ( | var | obj, |
var | idx, | ||
var | value | ||
) |
local jsb_set_reserved_slot | ( | local | obj, |
local | idx, | ||
local | value | ||
) |
JSBool jsb_get_reserved_slot | ( | JSObject * | obj, |
uint32_t | idx, | ||
jsval & | ret | ||
) |
var jsb_get_reserved_slot | ( | var | obj, |
var | idx, | ||
var | ret | ||
) |
local jsb_get_reserved_slot | ( | local | obj, |
local | idx, | ||
local | ret | ||
) |
js_proxy_t* jsb_new_proxy | ( | void * | nativeObj, |
JSObject * | jsObj | ||
) |
var jsb_new_proxy | ( | var | nativeObj, |
var | jsObj | ||
) |
local jsb_new_proxy | ( | local | nativeObj, |
local | jsObj | ||
) |
js_proxy_t* jsb_get_native_proxy | ( | void * | nativeObj) |
var jsb_get_native_proxy | ( | var | nativeObj) |
local jsb_get_native_proxy | ( | local | nativeObj) |
js_proxy_t* jsb_get_js_proxy | ( | JSObject * | jsObj) |
var jsb_get_js_proxy | ( | var | jsObj) |
local jsb_get_js_proxy | ( | local | jsObj) |
void jsb_remove_proxy | ( | js_proxy_t * | nativeProxy, |
js_proxy_t * | jsProxy | ||
) |
var jsb_remove_proxy | ( | var | nativeProxy, |
var | jsProxy | ||
) |
local jsb_remove_proxy | ( | local | nativeProxy, |
local | jsProxy | ||
) |