diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-05-24 16:56:35 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-05-24 16:56:35 (GMT) |
commit | cd35306a25ef4a7c67edc50f0cec0af5a4b7ea41 (patch) | |
tree | b1a5ec63de12626b5597d786d247b21854a32f5c /Include/stringobject.h | |
parent | f8a548c23c13762ce739380c4d6f530b3297e16a (diff) | |
download | cpython-cd35306a25ef4a7c67edc50f0cec0af5a4b7ea41.zip cpython-cd35306a25ef4a7c67edc50f0cec0af5a4b7ea41.tar.gz cpython-cd35306a25ef4a7c67edc50f0cec0af5a4b7ea41.tar.bz2 |
Patch #424335: Implement string_richcompare, remove string_compare.
Use new _PyString_Eq in lookdict_string.
Diffstat (limited to 'Include/stringobject.h')
-rw-r--r-- | Include/stringobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/stringobject.h b/Include/stringobject.h index 12df75a..fbcff31 100644 --- a/Include/stringobject.h +++ b/Include/stringobject.h @@ -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*); |