Panda3D
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 
16 extern "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 
251 int PyArg_Parse(...) { return 0; };
252 int PyArg_ParseTuple(...) { return 0; }
253 int PyArg_ParseTupleAndKeywords(...) { return 0; }
254 int PyArg_UnpackTuple(...) { return 0; };
255 int PyBool_FromLong(...) { return 0; }
256 int PyBuffer_Release(...) { return 0; }
257 int PyBytes_AsString(...) { return 0; }
258 int PyBytes_AsStringAndSize(...) { return 0; }
259 int PyBytes_FromStringAndSize(...) { return 0; }
260 int PyBytes_Size(...) { return 0; }
261 int PyCFunction_New(...) { return 0; };
262 int PyCFunction_NewEx(...) { return 0; };
263 int PyCallable_Check(...) { return 0; }
264 int PyCapsule_GetPointer(...) { return 0; }
265 int PyCapsule_New(...) { return 0; }
266 int PyDict_DelItem(...) { return 0; }
267 int PyDict_DelItemString(...) { return 0; }
268 int PyDict_GetItem(...) { return 0; }
269 int PyDict_GetItemString(...) { return 0; }
270 int PyDict_New(...) { return 0; };
271 int PyDict_Next(...) { return 0; };
272 int PyDict_SetItem(...) { return 0; };
273 int PyDict_SetItemString(...) { return 0; };
274 int PyDict_Size(...){ return 0; }
275 int PyErr_Clear(...) { return 0; };
276 int PyErr_ExceptionMatches(...) { return 0; };
277 int PyErr_Fetch(...) { return 0; }
278 int PyErr_Format(...) { return 0; };
279 int PyErr_NoMemory(...) { return 0; }
280 int PyErr_Occurred(...) { return 0; }
281 int PyErr_Print(...) { return 0; }
282 int PyErr_Restore(...) { return 0; }
283 int PyErr_SetString(...) { return 0; }
284 int PyErr_Warn(...) { return 0; }
285 int PyErr_WarnEx(...) { return 0; }
286 int PyEval_CallFunction(...) { return 0; }
287 int PyEval_CallObjectWithKeywords(...) { return 0; }
288 int PyEval_InitThreads(...) { return 0; }
289 int PyEval_RestoreThread(...) { return 0; }
290 int PyEval_SaveThread(...) { return 0; }
291 int PyFloat_AsDouble(...) { return 0; }
292 int PyFloat_FromDouble(...) { return 0; }
293 int PyGen_Check(...) { return 0; }
294 int PyGILState_Ensure(...) { return 0; }
295 int PyGILState_Release(...) { return 0; }
296 int PyImport_GetModuleDict(...) { return 0; }
297 int PyImport_ImportModule(...) { return 0; }
298 int PyInt_AsLong(...) { return 0; }
299 int PyInt_AsSsize_t(...) { return 0; }
300 int PyInt_FromLong(...) { return 0; }
301 int PyInt_FromSize_t(...) { return 0; }
302 int PyIter_Next(...) { return 0; }
303 int PyList_Append(...) { return 0; }
304 int PyList_AsTuple(...) { return 0; }
305 int PyList_GetItem(...) { return 0; }
306 int PyList_New(...) { return 0; }
307 int PyList_SetItem(...) { return 0; }
308 int PyLong_AsLong(...) { return 0; }
309 int PyLong_AsLongLong(...) { return 0; }
310 int PyLong_AsSsize_t(...) { return 0; }
311 int PyLong_AsUnsignedLong(...) { return 0; }
312 int PyLong_AsUnsignedLongLong(...) { return 0; }
313 int PyLong_FromLong(...) { return 0; }
314 int PyLong_FromLongLong(...) { return 0; }
315 int PyLong_FromSize_t(...) { return 0; }
316 int PyLong_FromUnsignedLong(...) { return 0; }
317 int PyLong_FromUnsignedLongLong(...) { return 0; }
318 int PyMapping_GetItemString(...) { return 0; }
319 int PyMem_Free(...) { return 0; }
320 int PyMemoryView_FromObject(...) { return 0; }
321 int PyModule_AddIntConstant(...) { return 0; };
322 int PyModule_AddObject(...) { return 0; };
323 int PyModule_AddStringConstant(...) { return 0; };
324 int PyModule_Create2(...) { return 0; };
325 int PyModule_Create2TraceRefs(...) { return 0; };
326 int PyModule_GetDict(...) { return 0; };
327 int PyNumber_AsSsize_t(...) { return 0; }
328 int PyNumber_Check(...) { return 0; }
329 int PyNumber_Float(...) { return 0; }
330 int PyNumber_Int(...) { return 0; }
331 int PyNumber_Long(...) { return 0; }
332 int PyObject_ASCII(...) { return 0; }
333 int PyObject_Call(...) { return 0; }
334 int PyObject_CallFunction(...) { return 0; }
335 int PyObject_CallFunctionObjArgs(...) { return 0; }
336 int PyObject_CallMethod(...) { return 0; }
337 int PyObject_CallMethodObjArgs(...) { return 0; }
338 int PyObject_CallObject(...) { return 0; }
339 int PyObject_Cmp(...) { return 0; }
340 int PyObject_Compare(...) { return 0; }
341 int PyObject_Free(...) { return 0; }
342 int PyObject_GC_Del(...) { return 0; }
343 int PyObject_GenericGetAttr(...) { return 0; };
344 int PyObject_GenericSetAttr(...) { return 0; };
345 int PyObject_GetAttrString(...) { return 0; }
346 int PyObject_GetBuffer(...) { return 0; }
347 int PyObject_GetIter(...) { return 0; }
348 int PyObject_HasAttrString(...) { return 0; }
349 int PyObject_IsInstance(...) { return 0; }
350 int PyObject_IsTrue(...) { return 0; }
351 int PyObject_Malloc(...) { return 0; }
352 int PyObject_Repr(...) { return 0; }
353 int PyObject_RichCompareBool(...) { return 0; }
354 int PyObject_SelfIter(...) { return 0; }
355 int PyObject_SetAttr(...) { return 0; }
356 int PyObject_SetAttrString(...) { return 0; }
357 int PyObject_Str(...) { return 0; }
358 int PySeqIter_New(...) { return 0; }
359 int PySequence_Check(...) { return 0; }
360 int PySequence_Fast(...) { return 0; }
361 int PySequence_GetItem(...) { return 0; }
362 int PySequence_Size(...) { return 0; }
363 int PySequence_Tuple(...) { return 0; }
364 int PyString_AsString(...) { return 0; }
365 int PyString_AsStringAndSize(...) { return 0; }
366 int PyString_FromFormat(...) { return 0; }
367 int PyString_FromString(...) { return 0; }
368 int PyString_FromStringAndSize(...) { return 0; }
369 int PyString_InternFromString(...) { return 0; }
370 int PyString_InternInPlace(...) { return 0; }
371 int PySys_GetObject(...) { return 0; }
372 int PySys_SetObject(...) { return 0; }
373 int PyThreadState_Clear(...) { return 0; }
374 int PyThreadState_Delete(...) { return 0; }
375 int PyThreadState_Get(...) { return 0; }
376 int PyThreadState_New(...) { return 0; }
377 int PyThreadState_Swap(...) { return 0; }
378 int PyTuple_GetItem(...) { return 0; }
379 int PyTuple_New(...) { return 0; }
380 int PyTuple_Pack(...) { return 0; }
381 int PyTuple_Size(...) { return 0; };
382 int PyType_GenericAlloc(...) { return 0; };
383 int PyType_IsSubtype(...) { return 0; }
384 int PyType_Ready(...) { return 0; };
385 int PyUnicodeUCS2_AsWideChar(...) { return 0; }
386 int PyUnicodeUCS2_AsWideCharString(...) { return 0; }
387 int PyUnicodeUCS2_CompareWithASCIIString(...) { return 0; }
388 int PyUnicodeUCS2_FromFormat(...) { return 0; }
389 int PyUnicodeUCS2_FromString(...) { return 0; }
390 int PyUnicodeUCS2_FromStringAndSize(...) { return 0; }
391 int PyUnicodeUCS2_FromWideChar(...) { return 0; }
392 int PyUnicodeUCS2_GetSize(...) { return 0; }
393 int PyUnicodeUCS4_AsWideChar(...) { return 0; }
394 int PyUnicodeUCS4_AsWideCharString(...) { return 0; }
395 int PyUnicodeUCS4_CompareWithASCIIString(...) { return 0; }
396 int PyUnicodeUCS4_FromFormat(...) { return 0; }
397 int PyUnicodeUCS4_FromString(...) { return 0; }
398 int PyUnicodeUCS4_FromStringAndSize(...) { return 0; }
399 int PyUnicodeUCS4_FromWideChar(...) { return 0; }
400 int PyUnicodeUCS4_GetSize(...) { return 0; }
401 int PyUnicode_AsUTF8(...) { return 0; }
402 int PyUnicode_AsUTF8AndSize(...) { return 0; }
403 int PyUnicode_AsWideChar(...) { return 0; }
404 int PyUnicode_AsWideCharString(...) { return 0; }
405 int PyUnicode_CompareWithASCIIString(...) { return 0; }
406 int PyUnicode_FromFormat(...) { return 0; }
407 int PyUnicode_FromString(...) { return 0; }
408 int PyUnicode_FromStringAndSize(...) { return 0; }
409 int PyUnicode_FromWideChar(...) { return 0; }
410 int PyUnicode_GetSize(...) { return 0; }
411 int PyUnicode_InternFromString(...) { return 0; }
412 int PyUnicode_InternInPlace(...) { return 0; }
413 int Py_GetVersion(...) { return 0; }
414 int Py_BuildValue(...) { return 0; }
415 int Py_InitModule4(...) { return 0; }
416 int Py_InitModule4_64(...) { return 0; }
417 int Py_InitModule4TraceRefs(...) { return 0; };
418 int Py_InitModule4TraceRefs_64(...) { return 0; };
419 int _PyArg_ParseTuple_SizeT(...) { return 0; };
420 int _PyArg_ParseTupleAndKeywords_SizeT(...) { return 0; };
421 int _PyArg_Parse_SizeT(...) { return 0; };
422 int _PyErr_BadInternalCall(...) { return 0; };
423 int _PyLong_AsByteArray(...) { return 0; };
424 int _PyLong_Sign(...) { return 0; };
425 int _PyObject_CallFunction_SizeT(...) { return 0; };
426 int _PyObject_CallMethod_SizeT(...) { return 0; };
427 int _PyObject_DebugFree(...) { return 0; };
428 int _PyObject_Del(...) { return 0; };
429 int _PyObject_FastCallDict(...) { return 0; };
430 int _PyUnicode_AsString(...) { return 0; };
431 int _PyUnicode_AsStringAndSize(...) { return 0; };
432 int _PyUnicode_EqualToASCIIString(...) { return 0; };
433 int _Py_AddToAllObjects(...) { return 0; };
434 int _Py_BuildValue_SizeT(...) { return 0; };
435 int _Py_Dealloc(...) { return 0; };
436 int _Py_ForgetReference(...) { return 0; };
437 int _Py_NegativeRefcount(...) { return 0; };
438 int _Py_NewReference(...) { return 0; };
439 int _Py_PrintReferenceAddresses(...) { return 0; };
440 int _Py_PrintReferences(...) { return 0; };
441 int _Py_RefTotal(...) { return 0; };
442 
443 // We actually might call this one.
444 void Py_Initialize() {
445 }
446 int Py_IsInitialized() {
447  return 0;
448 }
449 void PyEval_InitThreads() {
450 }
451 
452 
453 void *PyExc_AssertionError = nullptr;
454 void *PyExc_AttributeError = nullptr;
455 void *PyExc_BufferError = nullptr;
456 void *PyExc_ConnectionError = nullptr;
457 void *PyExc_Exception = nullptr;
458 void *PyExc_FutureWarning = nullptr;
459 void *PyExc_ImportError = nullptr;
460 void *PyExc_IndexError = nullptr;
461 void *PyExc_KeyError = nullptr;
462 void *PyExc_NameError = nullptr;
463 void *PyExc_OSError = nullptr;
464 void *PyExc_OverflowError = nullptr;
465 void *PyExc_RuntimeError = nullptr;
466 void *PyExc_StandardError = nullptr;
467 void *PyExc_StopIteration = nullptr;
468 void *PyExc_SystemExit = nullptr;
469 void *PyExc_TypeError = nullptr;
470 void *PyExc_ValueError = nullptr;
471 void *PyDict_Type = nullptr;
472 void *PyFloat_Type = nullptr;
473 void *PyGen_Type = nullptr;
474 void *PyInt_Type = nullptr;
475 void *PyList_Type = nullptr;
476 void *PyLong_Type = nullptr;
477 void *PyObject_Type = nullptr;
478 void *PyString_Type = nullptr;
479 void *PyTuple_Type = nullptr;
480 void *PyType_Type = nullptr;
481 void *PyUnicode_Type = nullptr;
482 void *_PyThreadState_Current = nullptr;
483 void *_Py_FalseStruct = nullptr;
484 void *_Py_NoneStruct = nullptr;
485 void *_Py_NotImplementedStruct = nullptr;
486 void *_Py_TrueStruct = nullptr;
487 void *_Py_ZeroStruct = nullptr;
488 
489 
490 void
491 pystub() {
492 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.