mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
Fix the --with-cxx-main build.
This commit is contained in:
parent
28a691b7fd
commit
dfa66c1dda
2 changed files with 7 additions and 1 deletions
|
@ -120,11 +120,17 @@
|
|||
#include "pystrcmp.h"
|
||||
#include "dtoa.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* _Py_Mangle is defined in compile.c */
|
||||
PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
|
||||
|
||||
/* _Py_char2wchar lives in python.c */
|
||||
PyAPI_FUNC(wchar_t *) _Py_char2wchar(char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Convert a possibly signed character to a nonnegative int */
|
||||
/* XXX This assumes characters are 8 bits wide */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue