| 5945 | } |
| 5946 | |
| 5947 | static PyObject *Hasher_reset(PyObject *self_obj, PyObject *noargs) { |
| 5948 | sz_unused_(noargs); |
| 5949 | Hasher *self = (Hasher *)self_obj; |
| 5950 | sz_hash_state_init(&self->state, self->seed); |
| 5951 | Py_INCREF(self_obj); |
| 5952 | return self_obj; |
| 5953 | } |
| 5954 | |
| 5955 | static PyMethodDef Hasher_methods[] = { |
| 5956 | {"update", (PyCFunction)Hasher_update, METH_O, "Update with more data; returns self."}, |
nothing calls this directly
no test coverage detected
searching dependent graphs…