Panda3D
Loading...
Searching...
No Matches
pystub.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file pystub.cxx
10 * @author drose
11 * @date 2000-08-09
12 */
13
14#include "pystub.h"
15
16extern "C" {
17 EXPCL_PYSTUB int PyArg_Parse(...);
18 EXPCL_PYSTUB int PyArg_ParseTuple(...);
19 EXPCL_PYSTUB int PyArg_ParseTupleAndKeywords(...);
20 EXPCL_PYSTUB int PyArg_UnpackTuple(...);
21 EXPCL_PYSTUB int PyBool_FromLong(...);
22 EXPCL_PYSTUB int PyBuffer_Release(...);
23 EXPCL_PYSTUB int PyBytes_AsString(...);
24 EXPCL_PYSTUB int PyBytes_AsStringAndSize(...);
25 EXPCL_PYSTUB int PyBytes_FromStringAndSize(...);
26 EXPCL_PYSTUB int PyBytes_Size(...);
27 EXPCL_PYSTUB int PyCFunction_New(...);
28 EXPCL_PYSTUB int PyCFunction_NewEx(...);
29 EXPCL_PYSTUB int PyCallable_Check(...);
30 EXPCL_PYSTUB int PyCapsule_GetPointer(...);
31 EXPCL_PYSTUB int PyCapsule_New(...);
32 EXPCL_PYSTUB int PyDict_DelItem(...);
33 EXPCL_PYSTUB int PyDict_DelItemString(...);
34 EXPCL_PYSTUB int PyDict_GetItem(...);
35 EXPCL_PYSTUB int PyDict_GetItemString(...);
36 EXPCL_PYSTUB int PyDict_New(...);
37 EXPCL_PYSTUB int PyDict_Next(...);
38 EXPCL_PYSTUB int PyDict_SetItem(...);
39 EXPCL_PYSTUB int PyDict_SetItemString(...);
40 EXPCL_PYSTUB int PyDict_Size(...);
41 EXPCL_PYSTUB int PyErr_Clear(...);
42 EXPCL_PYSTUB int PyErr_ExceptionMatches(...);
43 EXPCL_PYSTUB int PyErr_Fetch(...);
44 EXPCL_PYSTUB int PyErr_Format(...);
45 EXPCL_PYSTUB int PyErr_NoMemory(...);
46 EXPCL_PYSTUB int PyErr_Occurred(...);
47 EXPCL_PYSTUB int PyErr_Print(...);
48 EXPCL_PYSTUB int PyErr_Restore(...);
49 EXPCL_PYSTUB int PyErr_SetString(...);
50 EXPCL_PYSTUB int PyErr_Warn(...);
51 EXPCL_PYSTUB int PyErr_WarnEx(...);
52 EXPCL_PYSTUB int PyEval_CallFunction(...);
53 EXPCL_PYSTUB int PyEval_CallObjectWithKeywords(...);
54 EXPCL_PYSTUB int PyEval_RestoreThread(...);
55 EXPCL_PYSTUB int PyEval_SaveThread(...);
56 EXPCL_PYSTUB int PyFloat_AsDouble(...);
57 EXPCL_PYSTUB int PyFloat_FromDouble(...);
58 EXPCL_PYSTUB int PyGen_Check(...);
59 EXPCL_PYSTUB int PyGILState_Ensure(...);
60 EXPCL_PYSTUB int PyGILState_Release(...);
61 EXPCL_PYSTUB int PyImport_GetModuleDict(...);
62 EXPCL_PYSTUB int PyImport_ImportModule(...);
63 EXPCL_PYSTUB int PyInt_AsLong(...);
64 EXPCL_PYSTUB int PyInt_AsSsize_t(...);
65 EXPCL_PYSTUB int PyInt_FromLong(...);
66 EXPCL_PYSTUB int PyInt_FromSize_t(...);
67 EXPCL_PYSTUB int PyIter_Next(...);
68 EXPCL_PYSTUB int PyList_Append(...);
69 EXPCL_PYSTUB int PyList_AsTuple(...);
70 EXPCL_PYSTUB int PyList_GetItem(...);
71 EXPCL_PYSTUB int PyList_New(...);
72 EXPCL_PYSTUB int PyList_SetItem(...);
73 EXPCL_PYSTUB int PyLong_AsLong(...);
74 EXPCL_PYSTUB int PyLong_AsLongLong(...);
75 EXPCL_PYSTUB int PyLong_AsSsize_t(...);
76 EXPCL_PYSTUB int PyLong_AsUnsignedLong(...);
77 EXPCL_PYSTUB int PyLong_AsUnsignedLongLong(...);
78 EXPCL_PYSTUB int PyLong_FromLong(...);
79 EXPCL_PYSTUB int PyLong_FromLongLong(...);
80 EXPCL_PYSTUB int PyLong_FromSize_t(...);
81 EXPCL_PYSTUB int PyLong_FromUnsignedLong(...);
82 EXPCL_PYSTUB int PyLong_FromUnsignedLongLong(...);
83 EXPCL_PYSTUB int PyMapping_GetItemString(...);
84 EXPCL_PYSTUB int PyMem_Free(...);
85 EXPCL_PYSTUB int PyMemoryView_FromObject(...);
86 EXPCL_PYSTUB int PyModule_AddIntConstant(...);
87 EXPCL_PYSTUB int PyModule_AddObject(...);
88 EXPCL_PYSTUB int PyModule_AddStringConstant(...);
89 EXPCL_PYSTUB int PyModule_Create2(...);
90 EXPCL_PYSTUB int PyModule_Create2TraceRefs(...);
91 EXPCL_PYSTUB int PyModule_GetDict(...);
92 EXPCL_PYSTUB int PyNumber_AsSsize_t(...);
93 EXPCL_PYSTUB int PyNumber_Check(...);
94 EXPCL_PYSTUB int PyNumber_Float(...);
95 EXPCL_PYSTUB int PyNumber_Int(...);
96 EXPCL_PYSTUB int PyNumber_Long(...);
97 EXPCL_PYSTUB int PyObject_ASCII(...);
98 EXPCL_PYSTUB int PyObject_Call(...);
99 EXPCL_PYSTUB int PyObject_CallFunction(...);
100 EXPCL_PYSTUB int PyObject_CallFunctionObjArgs(...);
101 EXPCL_PYSTUB int PyObject_CallMethod(...);
102 EXPCL_PYSTUB int PyObject_CallMethodObjArgs(...);
103 EXPCL_PYSTUB int PyObject_CallObject(...);
104 EXPCL_PYSTUB int PyObject_Cmp(...);
105 EXPCL_PYSTUB int PyObject_Compare(...);
106 EXPCL_PYSTUB int PyObject_Free(...);
107 EXPCL_PYSTUB int PyObject_GC_Del(...);
108 EXPCL_PYSTUB int PyObject_GenericGetAttr(...);
109 EXPCL_PYSTUB int PyObject_GenericSetAttr(...);
110 EXPCL_PYSTUB int PyObject_GetAttrString(...);
111 EXPCL_PYSTUB int PyObject_GetBuffer(...);
112 EXPCL_PYSTUB int PyObject_GetIter(...);
113 EXPCL_PYSTUB int PyObject_HasAttrString(...);
114 EXPCL_PYSTUB int PyObject_IsInstance(...);
115 EXPCL_PYSTUB int PyObject_IsTrue(...);
116 EXPCL_PYSTUB int PyObject_Malloc(...);
117 EXPCL_PYSTUB int PyObject_Repr(...);
118 EXPCL_PYSTUB int PyObject_RichCompareBool(...);
119 EXPCL_PYSTUB int PyObject_SelfIter(...);
120 EXPCL_PYSTUB int PyObject_SetAttr(...);
121 EXPCL_PYSTUB int PyObject_SetAttrString(...);
122 EXPCL_PYSTUB int PyObject_Str(...);
123 EXPCL_PYSTUB int PySeqIter_New(...);
124 EXPCL_PYSTUB int PySequence_Check(...);
125 EXPCL_PYSTUB int PySequence_Fast(...);
126 EXPCL_PYSTUB int PySequence_GetItem(...);
127 EXPCL_PYSTUB int PySequence_Size(...);
128 EXPCL_PYSTUB int PySequence_Tuple(...);
129 EXPCL_PYSTUB int PyString_AsString(...);
130 EXPCL_PYSTUB int PyString_AsStringAndSize(...);
131 EXPCL_PYSTUB int PyString_FromFormat(...);
132 EXPCL_PYSTUB int PyString_FromString(...);
133 EXPCL_PYSTUB int PyString_FromStringAndSize(...);
134 EXPCL_PYSTUB int PyString_InternFromString(...);
135 EXPCL_PYSTUB int PyString_InternInPlace(...);
136 EXPCL_PYSTUB int PyString_Size(...);
137 EXPCL_PYSTUB int PySys_GetObject(...);
138 EXPCL_PYSTUB int PySys_SetObject(...);
139 EXPCL_PYSTUB int PyThreadState_Clear(...);
140 EXPCL_PYSTUB int PyThreadState_Delete(...);
141 EXPCL_PYSTUB int PyThreadState_Get(...);
142 EXPCL_PYSTUB int PyThreadState_New(...);
143 EXPCL_PYSTUB int PyThreadState_Swap(...);
144 EXPCL_PYSTUB int PyTuple_GetItem(...);
145 EXPCL_PYSTUB int PyTuple_New(...);
146 EXPCL_PYSTUB int PyTuple_Pack(...);
147 EXPCL_PYSTUB int PyTuple_Size(...);
148 EXPCL_PYSTUB int PyType_GenericAlloc(...);
149 EXPCL_PYSTUB int PyType_IsSubtype(...);
150 EXPCL_PYSTUB int PyType_Ready(...);
151 EXPCL_PYSTUB int PyUnicodeUCS2_AsWideChar(...);
152 EXPCL_PYSTUB int PyUnicodeUCS2_AsWideCharString(...);
153 EXPCL_PYSTUB int PyUnicodeUCS2_CompareWithASCIIString(...);
154 EXPCL_PYSTUB int PyUnicodeUCS2_FromFormat(...);
155 EXPCL_PYSTUB int PyUnicodeUCS2_FromString(...);
156 EXPCL_PYSTUB int PyUnicodeUCS2_FromStringAndSize(...);
157 EXPCL_PYSTUB int PyUnicodeUCS2_FromWideChar(...);
158 EXPCL_PYSTUB int PyUnicodeUCS2_GetSize(...);
159 EXPCL_PYSTUB int PyUnicodeUCS4_AsWideChar(...);
160 EXPCL_PYSTUB int PyUnicodeUCS4_AsWideCharString(...);
161 EXPCL_PYSTUB int PyUnicodeUCS4_CompareWithASCIIString(...);
162 EXPCL_PYSTUB int PyUnicodeUCS4_FromFormat(...);
163 EXPCL_PYSTUB int PyUnicodeUCS4_FromString(...);
164 EXPCL_PYSTUB int PyUnicodeUCS4_FromStringAndSize(...);
165 EXPCL_PYSTUB int PyUnicodeUCS4_FromWideChar(...);
166 EXPCL_PYSTUB int PyUnicodeUCS4_GetSize(...);
167 EXPCL_PYSTUB int PyUnicode_AsUTF8(...);
168 EXPCL_PYSTUB int PyUnicode_AsUTF8AndSize(...);
169 EXPCL_PYSTUB int PyUnicode_AsWideChar(...);
170 EXPCL_PYSTUB int PyUnicode_AsWideCharString(...);
171 EXPCL_PYSTUB int PyUnicode_CompareWithASCIIString(...);
172 EXPCL_PYSTUB int PyUnicode_FromFormat(...);
173 EXPCL_PYSTUB int PyUnicode_FromString(...);
174 EXPCL_PYSTUB int PyUnicode_FromStringAndSize(...);
175 EXPCL_PYSTUB int PyUnicode_FromWideChar(...);
176 EXPCL_PYSTUB int PyUnicode_GetSize(...);
177 EXPCL_PYSTUB int PyUnicode_InternFromString(...);
178 EXPCL_PYSTUB int PyUnicode_InternInPlace(...);
179 EXPCL_PYSTUB int Py_BuildValue(...);
180 EXPCL_PYSTUB int Py_GetVersion(...);
181 EXPCL_PYSTUB int Py_InitModule4(...);
182 EXPCL_PYSTUB int Py_InitModule4_64(...);
183 EXPCL_PYSTUB int Py_InitModule4TraceRefs(...);
184 EXPCL_PYSTUB int Py_InitModule4TraceRefs_64(...);
185 EXPCL_PYSTUB int _PyArg_ParseTuple_SizeT(...);
186 EXPCL_PYSTUB int _PyArg_ParseTupleAndKeywords_SizeT(...);
187 EXPCL_PYSTUB int _PyArg_Parse_SizeT(...);
188 EXPCL_PYSTUB int _PyErr_BadInternalCall(...);
189 EXPCL_PYSTUB int _PyLong_AsByteArray(...);
190 EXPCL_PYSTUB int _PyLong_Sign(...);
191 EXPCL_PYSTUB int _PyObject_CallFunction_SizeT(...);
192 EXPCL_PYSTUB int _PyObject_CallMethod_SizeT(...);
193 EXPCL_PYSTUB int _PyObject_DebugFree(...);
194 EXPCL_PYSTUB int _PyObject_Del(...);
195 EXPCL_PYSTUB int _PyObject_FastCallDict(...);
196 EXPCL_PYSTUB int _PyUnicode_AsString(...);
197 EXPCL_PYSTUB int _PyUnicode_AsStringAndSize(...);
198 EXPCL_PYSTUB int _PyUnicode_EqualToASCIIString(...);
199 EXPCL_PYSTUB int _Py_AddToAllObjects(...);
200 EXPCL_PYSTUB int _Py_BuildValue_SizeT(...);
201 EXPCL_PYSTUB int _Py_Dealloc(...);
202 EXPCL_PYSTUB int _Py_ForgetReference(...);
203 EXPCL_PYSTUB int _Py_NegativeRefcount(...);
204 EXPCL_PYSTUB int _Py_NewReference(...);
205 EXPCL_PYSTUB int _Py_PrintReferenceAddresses(...);
206 EXPCL_PYSTUB int _Py_PrintReferences(...);
207 EXPCL_PYSTUB int _Py_RefTotal(...);
208
209 EXPCL_PYSTUB void Py_Initialize();
210 EXPCL_PYSTUB int Py_IsInitialized();
211 EXPCL_PYSTUB void PyEval_InitThreads();
212
213 EXPCL_PYSTUB extern void *PyExc_AssertionError;
214 EXPCL_PYSTUB extern void *PyExc_AttributeError;
215 EXPCL_PYSTUB extern void *PyExc_BufferError;
216 EXPCL_PYSTUB extern void *PyExc_ConnectionError;
217 EXPCL_PYSTUB extern void *PyExc_Exception;
218 EXPCL_PYSTUB extern void *PyExc_FutureWarning;
219 EXPCL_PYSTUB extern void *PyExc_ImportError;
220 EXPCL_PYSTUB extern void *PyExc_IndexError;
221 EXPCL_PYSTUB extern void *PyExc_KeyError;
222 EXPCL_PYSTUB extern void *PyExc_NameError;
223 EXPCL_PYSTUB extern void *PyExc_OSError;
224 EXPCL_PYSTUB extern void *PyExc_OverflowError;
225 EXPCL_PYSTUB extern void *PyExc_RuntimeError;
226 EXPCL_PYSTUB extern void *PyExc_StandardError;
227 EXPCL_PYSTUB extern void *PyExc_StopIteration;
228 EXPCL_PYSTUB extern void *PyExc_SystemExit;
229 EXPCL_PYSTUB extern void *PyExc_TypeError;
230 EXPCL_PYSTUB extern void *PyExc_ValueError;
231 EXPCL_PYSTUB extern void *PyDict_Type;
232 EXPCL_PYSTUB extern void *PyFloat_Type;
233 EXPCL_PYSTUB extern void *PyGen_Type;
234 EXPCL_PYSTUB extern void *PyInt_Type;
235 EXPCL_PYSTUB extern void *PyList_Type;
236 EXPCL_PYSTUB extern void *PyLong_Type;
237 EXPCL_PYSTUB extern void *PyObject_Type;
238 EXPCL_PYSTUB extern void *PyString_Type;
239 EXPCL_PYSTUB extern void *PyTuple_Type;
240 EXPCL_PYSTUB extern void *PyType_Type;
241 EXPCL_PYSTUB extern void *PyUnicode_Type;
242 EXPCL_PYSTUB extern void *_PyThreadState_Current;
243 EXPCL_PYSTUB extern void *_Py_FalseStruct;
244 EXPCL_PYSTUB extern void *_Py_NoneStruct;
245 EXPCL_PYSTUB extern void *_Py_NotImplementedStruct;
246 EXPCL_PYSTUB extern void *_Py_TrueStruct;
247 EXPCL_PYSTUB extern void *_Py_ZeroStruct;
248};
249
250
251int PyArg_Parse(...) { return 0; };
252int PyArg_ParseTuple(...) { return 0; }
253int PyArg_ParseTupleAndKeywords(...) { return 0; }
254int PyArg_UnpackTuple(...) { return 0; };
255int PyBool_FromLong(...) { return 0; }
256int PyBuffer_Release(...) { return 0; }
257int PyBytes_AsString(...) { return 0; }
258int PyBytes_AsStringAndSize(...) { return 0; }
259int PyBytes_FromStringAndSize(...) { return 0; }
260int PyBytes_Size(...) { return 0; }
261int PyCFunction_New(...) { return 0; };
262int PyCFunction_NewEx(...) { return 0; };
263int PyCallable_Check(...) { return 0; }
264int PyCapsule_GetPointer(...) { return 0; }
265int PyCapsule_New(...) { return 0; }
266int PyDict_DelItem(...) { return 0; }
267int PyDict_DelItemString(...) { return 0; }
268int PyDict_GetItem(...) { return 0; }
269int PyDict_GetItemString(...) { return 0; }
270int PyDict_New(...) { return 0; };
271int PyDict_Next(...) { return 0; };
272int PyDict_SetItem(...) { return 0; };
273int PyDict_SetItemString(...) { return 0; };
274int PyDict_Size(...){ return 0; }
275int PyErr_Clear(...) { return 0; };
276int PyErr_ExceptionMatches(...) { return 0; };
277int PyErr_Fetch(...) { return 0; }
278int PyErr_Format(...) { return 0; };
279int PyErr_NoMemory(...) { return 0; }
280int PyErr_Occurred(...) { return 0; }
281int PyErr_Print(...) { return 0; }
282int PyErr_Restore(...) { return 0; }
283int PyErr_SetString(...) { return 0; }
284int PyErr_Warn(...) { return 0; }
285int PyErr_WarnEx(...) { return 0; }
286int PyEval_CallFunction(...) { return 0; }
287int PyEval_CallObjectWithKeywords(...) { return 0; }
288int PyEval_InitThreads(...) { return 0; }
289int PyEval_RestoreThread(...) { return 0; }
290int PyEval_SaveThread(...) { return 0; }
291int PyFloat_AsDouble(...) { return 0; }
292int PyFloat_FromDouble(...) { return 0; }
293int PyGen_Check(...) { return 0; }
294int PyGILState_Ensure(...) { return 0; }
295int PyGILState_Release(...) { return 0; }
296int PyImport_GetModuleDict(...) { return 0; }
297int PyImport_ImportModule(...) { return 0; }
298int PyInt_AsLong(...) { return 0; }
299int PyInt_AsSsize_t(...) { return 0; }
300int PyInt_FromLong(...) { return 0; }
301int PyInt_FromSize_t(...) { return 0; }
302int PyIter_Next(...) { return 0; }
303int PyList_Append(...) { return 0; }
304int PyList_AsTuple(...) { return 0; }
305int PyList_GetItem(...) { return 0; }
306int PyList_New(...) { return 0; }
307int PyList_SetItem(...) { return 0; }
308int PyLong_AsLong(...) { return 0; }
309int PyLong_AsLongLong(...) { return 0; }
310int PyLong_AsSsize_t(...) { return 0; }
311int PyLong_AsUnsignedLong(...) { return 0; }
312int PyLong_AsUnsignedLongLong(...) { return 0; }
313int PyLong_FromLong(...) { return 0; }
314int PyLong_FromLongLong(...) { return 0; }
315int PyLong_FromSize_t(...) { return 0; }
316int PyLong_FromUnsignedLong(...) { return 0; }
317int PyLong_FromUnsignedLongLong(...) { return 0; }
318int PyMapping_GetItemString(...) { return 0; }
319int PyMem_Free(...) { return 0; }
320int PyMemoryView_FromObject(...) { return 0; }
321int PyModule_AddIntConstant(...) { return 0; };
322int PyModule_AddObject(...) { return 0; };
323int PyModule_AddStringConstant(...) { return 0; };
324int PyModule_Create2(...) { return 0; };
325int PyModule_Create2TraceRefs(...) { return 0; };
326int PyModule_GetDict(...) { return 0; };
327int PyNumber_AsSsize_t(...) { return 0; }
328int PyNumber_Check(...) { return 0; }
329int PyNumber_Float(...) { return 0; }
330int PyNumber_Int(...) { return 0; }
331int PyNumber_Long(...) { return 0; }
332int PyObject_ASCII(...) { return 0; }
333int PyObject_Call(...) { return 0; }
334int PyObject_CallFunction(...) { return 0; }
335int PyObject_CallFunctionObjArgs(...) { return 0; }
336int PyObject_CallMethod(...) { return 0; }
337int PyObject_CallMethodObjArgs(...) { return 0; }
338int PyObject_CallObject(...) { return 0; }
339int PyObject_Cmp(...) { return 0; }
340int PyObject_Compare(...) { return 0; }
341int PyObject_Free(...) { return 0; }
342int PyObject_GC_Del(...) { return 0; }
343int PyObject_GenericGetAttr(...) { return 0; };
344int PyObject_GenericSetAttr(...) { return 0; };
345int PyObject_GetAttrString(...) { return 0; }
346int PyObject_GetBuffer(...) { return 0; }
347int PyObject_GetIter(...) { return 0; }
348int PyObject_HasAttrString(...) { return 0; }
349int PyObject_IsInstance(...) { return 0; }
350int PyObject_IsTrue(...) { return 0; }
351int PyObject_Malloc(...) { return 0; }
352int PyObject_Repr(...) { return 0; }
353int PyObject_RichCompareBool(...) { return 0; }
354int PyObject_SelfIter(...) { return 0; }
355int PyObject_SetAttr(...) { return 0; }
356int PyObject_SetAttrString(...) { return 0; }
357int PyObject_Str(...) { return 0; }
358int PySeqIter_New(...) { return 0; }
359int PySequence_Check(...) { return 0; }
360int PySequence_Fast(...) { return 0; }
361int PySequence_GetItem(...) { return 0; }
362int PySequence_Size(...) { return 0; }
363int PySequence_Tuple(...) { return 0; }
364int PyString_AsString(...) { return 0; }
365int PyString_AsStringAndSize(...) { return 0; }
366int PyString_FromFormat(...) { return 0; }
367int PyString_FromString(...) { return 0; }
368int PyString_FromStringAndSize(...) { return 0; }
369int PyString_InternFromString(...) { return 0; }
370int PyString_InternInPlace(...) { return 0; }
371int PySys_GetObject(...) { return 0; }
372int PySys_SetObject(...) { return 0; }
373int PyThreadState_Clear(...) { return 0; }
374int PyThreadState_Delete(...) { return 0; }
375int PyThreadState_Get(...) { return 0; }
376int PyThreadState_New(...) { return 0; }
377int PyThreadState_Swap(...) { return 0; }
378int PyTuple_GetItem(...) { return 0; }
379int PyTuple_New(...) { return 0; }
380int PyTuple_Pack(...) { return 0; }
381int PyTuple_Size(...) { return 0; };
382int PyType_GenericAlloc(...) { return 0; };
383int PyType_IsSubtype(...) { return 0; }
384int PyType_Ready(...) { return 0; };
385int PyUnicodeUCS2_AsWideChar(...) { return 0; }
386int PyUnicodeUCS2_AsWideCharString(...) { return 0; }
387int PyUnicodeUCS2_CompareWithASCIIString(...) { return 0; }
388int PyUnicodeUCS2_FromFormat(...) { return 0; }
389int PyUnicodeUCS2_FromString(...) { return 0; }
390int PyUnicodeUCS2_FromStringAndSize(...) { return 0; }
391int PyUnicodeUCS2_FromWideChar(...) { return 0; }
392int PyUnicodeUCS2_GetSize(...) { return 0; }
393int PyUnicodeUCS4_AsWideChar(...) { return 0; }
394int PyUnicodeUCS4_AsWideCharString(...) { return 0; }
395int PyUnicodeUCS4_CompareWithASCIIString(...) { return 0; }
396int PyUnicodeUCS4_FromFormat(...) { return 0; }
397int PyUnicodeUCS4_FromString(...) { return 0; }
398int PyUnicodeUCS4_FromStringAndSize(...) { return 0; }
399int PyUnicodeUCS4_FromWideChar(...) { return 0; }
400int PyUnicodeUCS4_GetSize(...) { return 0; }
401int PyUnicode_AsUTF8(...) { return 0; }
402int PyUnicode_AsUTF8AndSize(...) { return 0; }
403int PyUnicode_AsWideChar(...) { return 0; }
404int PyUnicode_AsWideCharString(...) { return 0; }
405int PyUnicode_CompareWithASCIIString(...) { return 0; }
406int PyUnicode_FromFormat(...) { return 0; }
407int PyUnicode_FromString(...) { return 0; }
408int PyUnicode_FromStringAndSize(...) { return 0; }
409int PyUnicode_FromWideChar(...) { return 0; }
410int PyUnicode_GetSize(...) { return 0; }
411int PyUnicode_InternFromString(...) { return 0; }
412int PyUnicode_InternInPlace(...) { return 0; }
413int Py_GetVersion(...) { return 0; }
414int Py_BuildValue(...) { return 0; }
415int Py_InitModule4(...) { return 0; }
416int Py_InitModule4_64(...) { return 0; }
417int Py_InitModule4TraceRefs(...) { return 0; };
418int Py_InitModule4TraceRefs_64(...) { return 0; };
419int _PyArg_ParseTuple_SizeT(...) { return 0; };
420int _PyArg_ParseTupleAndKeywords_SizeT(...) { return 0; };
421int _PyArg_Parse_SizeT(...) { return 0; };
422int _PyErr_BadInternalCall(...) { return 0; };
423int _PyLong_AsByteArray(...) { return 0; };
424int _PyLong_Sign(...) { return 0; };
425int _PyObject_CallFunction_SizeT(...) { return 0; };
426int _PyObject_CallMethod_SizeT(...) { return 0; };
427int _PyObject_DebugFree(...) { return 0; };
428int _PyObject_Del(...) { return 0; };
429int _PyObject_FastCallDict(...) { return 0; };
430int _PyUnicode_AsString(...) { return 0; };
431int _PyUnicode_AsStringAndSize(...) { return 0; };
432int _PyUnicode_EqualToASCIIString(...) { return 0; };
433int _Py_AddToAllObjects(...) { return 0; };
434int _Py_BuildValue_SizeT(...) { return 0; };
435int _Py_Dealloc(...) { return 0; };
436int _Py_ForgetReference(...) { return 0; };
437int _Py_NegativeRefcount(...) { return 0; };
438int _Py_NewReference(...) { return 0; };
439int _Py_PrintReferenceAddresses(...) { return 0; };
440int _Py_PrintReferences(...) { return 0; };
441int _Py_RefTotal(...) { return 0; };
442
443// We actually might call this one.
444void Py_Initialize() {
445}
446int Py_IsInitialized() {
447 return 0;
448}
449void PyEval_InitThreads() {
450}
451
452
453void *PyExc_AssertionError = nullptr;
454void *PyExc_AttributeError = nullptr;
455void *PyExc_BufferError = nullptr;
456void *PyExc_ConnectionError = nullptr;
457void *PyExc_Exception = nullptr;
458void *PyExc_FutureWarning = nullptr;
459void *PyExc_ImportError = nullptr;
460void *PyExc_IndexError = nullptr;
461void *PyExc_KeyError = nullptr;
462void *PyExc_NameError = nullptr;
463void *PyExc_OSError = nullptr;
464void *PyExc_OverflowError = nullptr;
465void *PyExc_RuntimeError = nullptr;
466void *PyExc_StandardError = nullptr;
467void *PyExc_StopIteration = nullptr;
468void *PyExc_SystemExit = nullptr;
469void *PyExc_TypeError = nullptr;
470void *PyExc_ValueError = nullptr;
471void *PyDict_Type = nullptr;
472void *PyFloat_Type = nullptr;
473void *PyGen_Type = nullptr;
474void *PyInt_Type = nullptr;
475void *PyList_Type = nullptr;
476void *PyLong_Type = nullptr;
477void *PyObject_Type = nullptr;
478void *PyString_Type = nullptr;
479void *PyTuple_Type = nullptr;
480void *PyType_Type = nullptr;
481void *PyUnicode_Type = nullptr;
482void *_PyThreadState_Current = nullptr;
483void *_Py_FalseStruct = nullptr;
484void *_Py_NoneStruct = nullptr;
485void *_Py_NotImplementedStruct = nullptr;
486void *_Py_TrueStruct = nullptr;
487void *_Py_ZeroStruct = nullptr;
488
489
490void
491pystub() {
492}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.