Make it return a _const_ char*.
This commit is contained in:
parent
f6ca6aa869
commit
8fb26ede51
|
@ -51,7 +51,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#endif /* !COMPILER */
|
#endif /* !COMPILER */
|
||||||
|
|
||||||
char *
|
const char *
|
||||||
Py_GetCompiler()
|
Py_GetCompiler()
|
||||||
{
|
{
|
||||||
return COMPILER;
|
return COMPILER;
|
||||||
|
|
|
@ -35,7 +35,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
#define PLATFORM "unknown"
|
#define PLATFORM "unknown"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *
|
const char *
|
||||||
Py_GetPlatform()
|
Py_GetPlatform()
|
||||||
{
|
{
|
||||||
return PLATFORM;
|
return PLATFORM;
|
||||||
|
|
|
@ -35,9 +35,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "patchlevel.h"
|
#include "patchlevel.h"
|
||||||
|
|
||||||
extern const char *Py_GetCompiler();
|
|
||||||
extern const char *Py_GetBuildInfo();
|
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
Py_GetVersion()
|
Py_GetVersion()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue