Staging
v0.5.1
https://github.com/python/cpython
Revision 91020fade6ca0f22eef2d338be1380b17385e715 authored by Miss Islington (bot) on 27 August 2019, 04:34:32 UTC, committed by GitHub on 27 August 2019, 04:34:32 UTC
(cherry picked from commit 8bf5fef8737fdd12724b9340d76a4ed391c4ad8a)

Co-authored-by: vrajivk <3413293+vrajivk@users.noreply.github.com>
1 parent 1d4285a
Raw File
Tip revision: 91020fade6ca0f22eef2d338be1380b17385e715 authored by Miss Islington (bot) on 27 August 2019, 04:34:32 UTC
bpo-36205: Fix the rusage implementation of time.process_time() (GH-15538)
Tip revision: 91020fa
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