Staging
v0.8.1
https://github.com/python/cpython
Revision cd3b74d4e860b75bc45658ade0d412274054648f authored by Hirokazu Yamamoto on 20 August 2008, 16:15:28 UTC, committed by Hirokazu Yamamoto on 20 August 2008, 16:15:28 UTC
1 parent f840296
Raw File
Tip revision: cd3b74d4e860b75bc45658ade0d412274054648f authored by Hirokazu Yamamoto on 20 August 2008, 16:15:28 UTC
Reverted r65900. See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
Tip revision: cd3b74d
pystrcmp.h
#ifndef Py_STRCMP_H
#define Py_STRCMP_H

#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);

#ifdef MS_WINDOWS
#define PyOS_strnicmp strnicmp
#define PyOS_stricmp stricmp
#else
#define PyOS_strnicmp PyOS_mystrnicmp
#define PyOS_stricmp PyOS_mystricmp
#endif

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRCMP_H */
back to top