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

Method JSArrayIterProxy_clear

src/JSArrayIterProxy.cc:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37int JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_clear(JSArrayIterProxy *self) {
38 Py_CLEAR(self->it.it_seq);
39 return 0;
40}
41
42PyObject *JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_iter(JSArrayIterProxy *self) {
43 Py_INCREF(&self->it);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected