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

Method JSObjectValuesProxy_contains

src/JSObjectValuesProxy.cc:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int JSObjectValuesProxyMethodDefinitions::JSObjectValuesProxy_contains(JSObjectValuesProxy *self, PyObject *key)
43{
44 if (self->dv.dv_dict == NULL) {
45 return 0;
46 }
47 return JSObjectProxyMethodDefinitions::JSObjectProxy_contains((JSObjectProxy *)self->dv.dv_dict, key);
48}
49
50int JSObjectValuesProxyMethodDefinitions::JSObjectValuesProxy_traverse(JSObjectValuesProxy *self, visitproc visit, void *arg) {
51 Py_VISIT(self->dv.dv_dict);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected