| 19 | }; |
| 20 | |
| 21 | int gc_func_tp_traverse(PyObject* self, visitproc visit, void* arg) { |
| 22 | Py_VISIT(Py_TYPE(self)); |
| 23 | gc_func* w = (gc_func*)self; |
| 24 | Py_VISIT(w->func); |
| 25 | for (auto d : w->deps) { |
| 26 | Py_VISIT(d); |
| 27 | } |
| 28 | return 0; |
| 29 | }; |
| 30 | |
| 31 | int gc_func_tp_clear(PyObject* self) { |
| 32 | gc_func* w = (gc_func*)self; |
nothing calls this directly
no outgoing calls
no test coverage detected