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

Method JSObjectItemsProxy_clear

src/JSObjectItemsProxy.cc:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48int JSObjectItemsProxyMethodDefinitions::JSObjectItemsProxy_clear(JSObjectItemsProxy *self) {
49 Py_CLEAR(self->dv.dv_dict);
50 return 0;
51}
52
53PyObject *JSObjectItemsProxyMethodDefinitions::JSObjectItemsProxy_iter(JSObjectItemsProxy *self) {
54 JSObjectIterProxy *iterator = PyObject_GC_New(JSObjectIterProxy, &JSObjectIterProxyType);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected