blob: 5971f72bf58611a996d29497c2792b2a2be13ccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* Definitions of missing symbols go here */
#include "Python.h"
PyTypeObject PyFunction_Type;
PyTypeObject PyMethod_Type;
PyTypeObject PyRange_Type;
PyTypeObject PyTraceBack_Type;
int Py_DebugFlag = 1;
int Py_VerboseFlag = 0;
int Py_InteractiveFlag = 0;
int Py_InspectFlag = 0;
/* intentionally set to -1 for test, should be reset at startup */
int Py_OptimizeFlag = -1;
int Py_NoSiteFlag = 0;
int Py_BytesWarningFlag = 0;
int Py_UseClassExceptionsFlag = 0;
int Py_FrozenFlag = 0;
int Py_TabcheckFlag = 0;
int Py_UnicodeFlag = 0;
int Py_IgnoreEnvironmentFlag = 0;
int Py_DivisionWarningFlag = 0;
int Py_DontWriteBytecodeFlag = 0;
int Py_NoUserSiteDirectory = 0;
int _Py_QnewFlag = 0;
int Py_Py3kWarningFlag = 0;
int Py_HashRandomizationFlag = 0;
const char *Py_FileSystemDefaultEncoding; /* filled when cpyext is imported */
void _Py_setfilesystemdefaultencoding(const char *enc) {
Py_FileSystemDefaultEncoding = enc;
}
int (*PyOS_InputHook)(void) = 0; /* only ever filled in by C extensions */
PyAPI_FUNC(_pypy_pyos_inputhook) _PyPy_get_PyOS_InputHook(void) {
return PyOS_InputHook;
}
|