Patch #424335: Implement string_richcompare, remove string_compare.

Use new _PyString_Eq in lookdict_string.
This commit is contained in:
Martin v. Löwis 2001-05-24 16:56:35 +00:00
parent f8a548c23c
commit cd35306a25
3 changed files with 82 additions and 17 deletions

View file

@ -58,6 +58,7 @@ extern DL_IMPORT(char *) PyString_AsString(PyObject *);
extern DL_IMPORT(void) PyString_Concat(PyObject **, PyObject *);
extern DL_IMPORT(void) PyString_ConcatAndDel(PyObject **, PyObject *);
extern DL_IMPORT(int) _PyString_Resize(PyObject **, int);
extern DL_IMPORT(int) _PyString_Eq(PyObject *, PyObject*);
extern DL_IMPORT(PyObject *) PyString_Format(PyObject *, PyObject *);
extern DL_IMPORT(PyObject *) _PyString_FormatLong(PyObject*, int, int,
int, char**, int*);