MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / createInternalBinding

Function createInternalBinding

src/internalBinding.cc:50–52  ·  view source on GitHub ↗

* @brief Create the JS `internalBinding` function */

Source from the content-addressed store, hash-verified

48 * @brief Create the JS `internalBinding` function
49 */
50JSFunction *createInternalBinding(JSContext *cx) {
51 return JS_NewFunction(cx, internalBindingFn, 1, 0, "internalBinding");
52}
53
54/**
55 * @brief Convert the `internalBinding(namespace)` function to a Python function

Callers 1

getInternalBindingPyFnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected