Staging
v0.5.1
https://github.com/python/cpython
Revision 54b6903a08a14252bc7f4fd0c42a4a5b7fac7e43 authored by Hirokazu Yamamoto on 02 November 2010, 15:11:47 UTC, committed by Hirokazu Yamamoto on 02 November 2010, 15:11:47 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86113 | hirokazu.yamamoto | 2010-11-02 22:21:31 +0900 | 1 line

  Defined Py_BUILD_CORE_MODULE also on VC6.
........
1 parent b36f832
Raw File
Tip revision: 54b6903a08a14252bc7f4fd0c42a4a5b7fac7e43 authored by Hirokazu Yamamoto on 02 November 2010, 15:11:47 UTC
Recorded merge of revisions 86113 via svnmerge from
Tip revision: 54b6903
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