PythonMonkey   v1.0.1 (dev)
Loading...
Searching...
No Matches
internalBinding.hh
Go to the documentation of this file.
1
11#include <jsapi.h>
12#include <Python.h>
13
14namespace InternalBinding {
15 extern JSFunctionSpec utils[];
16 extern JSFunctionSpec timers[];
17}
18
19JSObject *createInternalBindingsForNamespace(JSContext *cx, JSFunctionSpec *methodSpecs);
20JSObject *getInternalBindingsByNamespace(JSContext *cx, JSLinearString *namespaceStr);
21
22JSFunction *createInternalBinding(JSContext *cx);
23PyObject *getInternalBindingPyFn(JSContext *cx);
PyObject * getInternalBindingPyFn(JSContext *cx)
Convert the internalBinding(namespace) function to a Python function.
Definition internalBinding.cc:57
JSFunction * createInternalBinding(JSContext *cx)
Create the JS internalBinding function.
Definition internalBinding.cc:50
JSObject * createInternalBindingsForNamespace(JSContext *cx, JSFunctionSpec *methodSpecs)
Definition internalBinding.cc:16
JSObject * getInternalBindingsByNamespace(JSContext *cx, JSLinearString *namespaceStr)
Definition internalBinding.cc:23
Definition internalBinding.hh:14
JSFunctionSpec utils[]
Definition utils.cc:108
JSFunctionSpec timers[]
Definition timers.cc:144