ยปCore Development>Code coverage>Python/getcompiler.c

Python code coverage for Python/getcompiler.c

#countcontent
1n/a
2n/a/* Return the compiler identification, if possible. */
3n/a
4n/a#include "Python.h"
5n/a
6n/a#ifndef COMPILER
7n/a
8n/a#ifdef __GNUC__
9n/a#define COMPILER "\n[GCC " __VERSION__ "]"
10n/a#endif
11n/a
12n/a#endif /* !COMPILER */
13n/a
14n/a#ifndef COMPILER
15n/a
16n/a#ifdef __cplusplus
17n/a#define COMPILER "[C++]"
18n/a#else
19n/a#define COMPILER "[C]"
20n/a#endif
21n/a
22n/a#endif /* !COMPILER */
23n/a
24n/aconst char *
25n/aPy_GetCompiler(void)
26n/a{
27n/a return COMPILER;
28n/a}