PythonMonkey   v0.8.2 (dev)
Loading...
Searching...
No Matches
internalBinding.hh File Reference
#include <jsapi.h>
#include <Python.h>
Include dependency graph for internalBinding.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  InternalBinding
 

Functions

JSObject * createInternalBindingsForNamespace (JSContext *cx, JSFunctionSpec *methodSpecs)
 
JSObject * getInternalBindingsByNamespace (JSContext *cx, JSLinearString *namespaceStr)
 
JSFunction * createInternalBinding (JSContext *cx)
 Create the JS internalBinding function.
 
PyObject * getInternalBindingPyFn (JSContext *cx)
 Convert the internalBinding(namespace) function to a Python function.
 

Variables

JSFunctionSpec InternalBinding::utils []
 
JSFunctionSpec InternalBinding::timers []
 

Detailed Description

Author
Tom Tang (xmade.nosp@m.r@di.nosp@m.strib.nosp@m.utiv.nosp@m.e.net.nosp@m.work)
Date
2023-05-16

Function Documentation

◆ createInternalBinding()

JSFunction * createInternalBinding ( JSContext *  cx)

Create the JS internalBinding function.

◆ createInternalBindingsForNamespace()

JSObject * createInternalBindingsForNamespace ( JSContext *  cx,
JSFunctionSpec *  methodSpecs 
)

◆ getInternalBindingPyFn()

PyObject * getInternalBindingPyFn ( JSContext *  cx)

Convert the internalBinding(namespace) function to a Python function.

◆ getInternalBindingsByNamespace()

JSObject * getInternalBindingsByNamespace ( JSContext *  cx,
JSLinearString *  namespaceStr 
)