PythonMonkey v1.1.1 (dev)
|
JSObjectProxy is a custom C-implemented python type that derives from dict. It acts as a proxy for JSObjects from Spidermonkey, and behaves like a dict would. More...
#include "include/JSObjectProxy.hh"
#include "include/JSObjectIterProxy.hh"
#include "include/JSObjectKeysProxy.hh"
#include "include/JSObjectValuesProxy.hh"
#include "include/JSObjectItemsProxy.hh"
#include "include/modules/pythonmonkey/pythonmonkey.hh"
#include "include/jsTypeFactory.hh"
#include "include/pyTypeFactory.hh"
#include "include/PyBaseProxyHandler.hh"
#include "include/JSFunctionProxy.hh"
#include <jsapi.h>
#include <jsfriendapi.h>
#include <Python.h>
#include "include/pyshim.hh"
#include <object.h>
Functions | |
bool | keyToId (PyObject *key, JS::MutableHandleId idp) |
Convert Python dict key to jsid. | |
Variables | |
JSContext * | GLOBAL_CX |
JSObjectProxy is a custom C-implemented python type that derives from dict. It acts as a proxy for JSObjects from Spidermonkey, and behaves like a dict would.
bool keyToId | ( | PyObject * | key, |
JS::MutableHandleId | idp | ||
) |
Convert Python dict key to jsid.
JSContext* GLOBAL_CX |
pointer to PythonMonkey's JSContext