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