CVS patchset: 5780
CVS date: 2002/10/15 18:52:50
return rpmVersionCompare(a->h, b->h);
}
+static long hdr_hash(hdrObject *h)
+{
+ return h;
+}
+
/** \ingroup python
*/
/*@unchecked@*/ /*@observer@*/
0, /* tp_as_number */
0, /* tp_as_sequence */
&hdr_as_mapping, /* tp_as_mapping */
- 0, /* tp_hash */
+ hdr_hash, /* tp_hash */
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
return res;
}
+static long hdr_hash(hdrObject *h)
+{
+ return h;
+}
+
/** \ingroup python
*/
static PyObject *