Staging
v0.8.1
Revision 72227035fe52ae825dac8760d8505dde64f041bf authored by Benjamin Peterson on 28 May 2009, 03:32:08 UTC, committed by Benjamin Peterson on 28 May 2009, 03:32:08 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r72977 | benjamin.peterson | 2009-05-27 22:30:13 -0500 (Wed, 27 May 2009) | 9 lines

  Merged revisions 72971 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r72971 | benjamin.peterson | 2009-05-27 22:02:13 -0500 (Wed, 27 May 2009) | 1 line

    switch library reference and language reference
  ........
................
1 parent dc020b1
Raw File
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