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 */
|
||||
|
||||
char *
|
||||
const char *
|
||||
Py_GetCompiler()
|
||||
{
|
||||
return COMPILER;
|
||||
|
|
|
@ -35,7 +35,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#define PLATFORM "unknown"
|
||||
#endif
|
||||
|
||||
char *
|
||||
const char *
|
||||
Py_GetPlatform()
|
||||
{
|
||||
return PLATFORM;
|
||||
|
|
|
@ -35,9 +35,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#include "patchlevel.h"
|
||||
|
||||
extern const char *Py_GetCompiler();
|
||||
extern const char *Py_GetBuildInfo();
|
||||
|
||||
const char *
|
||||
Py_GetVersion()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue