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

Method JSObjectIterProxy_clear

src/JSObjectIterProxy.cc:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_clear(JSObjectIterProxy *self) {
43 Py_CLEAR(self->it.di_dict);
44 return 0;
45}
46
47PyObject *JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_iter(JSObjectIterProxy *self) {
48 Py_INCREF(&self->it);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected