PythonMonkey v1.1.1 (dev)
|
Struct for creating JS proxy objects. More...
Functions | |
PyObject * | idToKey (JSContext *cx, JS::HandleId id) |
Convert jsid to a PyObject to be used as dict keys. | |
bool | idToIndex (JSContext *cx, JS::HandleId id, Py_ssize_t *index) |
Struct for creating JS proxy objects.
bool idToIndex | ( | JSContext * | cx, |
JS::HandleId | id, | ||
Py_ssize_t * | index | ||
) |
PyObject * idToKey | ( | JSContext * | cx, |
JS::HandleId | id | ||
) |
Convert jsid to a PyObject to be used as dict keys.