Panda3D
|
00001 // Filename: pystub.cxx 00002 // Created by: drose (09Aug00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "pystub.h" 00016 00017 extern "C" { 00018 EXPCL_DTOOLCONFIG int PyArg_Parse(...); 00019 EXPCL_DTOOLCONFIG int PyArg_ParseTuple(...); 00020 EXPCL_DTOOLCONFIG int PyArg_ParseTupleAndKeywords(...); 00021 EXPCL_DTOOLCONFIG int PyBool_FromLong(...); 00022 EXPCL_DTOOLCONFIG int PyCFunction_New(...); 00023 EXPCL_DTOOLCONFIG int PyCFunction_NewEx(...); 00024 EXPCL_DTOOLCONFIG int PyCallable_Check(...); 00025 EXPCL_DTOOLCONFIG int PyDict_DelItemString(...); 00026 EXPCL_DTOOLCONFIG int PyDict_GetItem(...); 00027 EXPCL_DTOOLCONFIG int PyDict_GetItemString(...); 00028 EXPCL_DTOOLCONFIG int PyDict_New(...); 00029 EXPCL_DTOOLCONFIG int PyDict_SetItem(...); 00030 EXPCL_DTOOLCONFIG int PyDict_SetItemString(...); 00031 EXPCL_DTOOLCONFIG int PyDict_Size(...); 00032 EXPCL_DTOOLCONFIG int PyDict_Type(...); 00033 EXPCL_DTOOLCONFIG int PyErr_Clear(...); 00034 EXPCL_DTOOLCONFIG int PyErr_ExceptionMatches(...); 00035 EXPCL_DTOOLCONFIG int PyErr_Fetch(...); 00036 EXPCL_DTOOLCONFIG int PyErr_Format(...); 00037 EXPCL_DTOOLCONFIG int PyErr_Occurred(...); 00038 EXPCL_DTOOLCONFIG int PyErr_Print(...); 00039 EXPCL_DTOOLCONFIG int PyErr_Restore(...); 00040 EXPCL_DTOOLCONFIG int PyErr_SetString(...); 00041 EXPCL_DTOOLCONFIG int PyErr_Warn(...); 00042 EXPCL_DTOOLCONFIG int PyErr_WarnEx(...); 00043 EXPCL_DTOOLCONFIG int PyEval_CallFunction(...); 00044 EXPCL_DTOOLCONFIG int PyEval_CallObjectWithKeywords(...); 00045 EXPCL_DTOOLCONFIG int PyEval_InitThreads(...); 00046 EXPCL_DTOOLCONFIG int PyEval_RestoreThread(...); 00047 EXPCL_DTOOLCONFIG int PyEval_SaveThread(...); 00048 EXPCL_DTOOLCONFIG int PyFloat_AsDouble(...); 00049 EXPCL_DTOOLCONFIG int PyFloat_FromDouble(...); 00050 EXPCL_DTOOLCONFIG int PyFloat_Type(...); 00051 EXPCL_DTOOLCONFIG int PyGen_Check(...); 00052 EXPCL_DTOOLCONFIG int PyGen_Type(...); 00053 EXPCL_DTOOLCONFIG int PyGILState_Ensure(...); 00054 EXPCL_DTOOLCONFIG int PyGILState_Release(...); 00055 EXPCL_DTOOLCONFIG int PyImport_GetModuleDict(...); 00056 EXPCL_DTOOLCONFIG int PyInt_AsLong(...); 00057 EXPCL_DTOOLCONFIG int PyInt_AsSsize_t(...); 00058 EXPCL_DTOOLCONFIG int PyInt_FromLong(...); 00059 EXPCL_DTOOLCONFIG int PyInt_Type(...); 00060 EXPCL_DTOOLCONFIG int PyList_Append(...); 00061 EXPCL_DTOOLCONFIG int PyList_AsTuple(...); 00062 EXPCL_DTOOLCONFIG int PyList_GetItem(...); 00063 EXPCL_DTOOLCONFIG int PyList_New(...); 00064 EXPCL_DTOOLCONFIG int PyList_SetItem(...); 00065 EXPCL_DTOOLCONFIG int PyList_Type(...); 00066 EXPCL_DTOOLCONFIG int PyLong_AsLong(...); 00067 EXPCL_DTOOLCONFIG int PyLong_AsLongLong(...); 00068 EXPCL_DTOOLCONFIG int PyLong_AsUnsignedLong(...); 00069 EXPCL_DTOOLCONFIG int PyLong_AsUnsignedLongLong(...); 00070 EXPCL_DTOOLCONFIG int PyLong_FromLong(...); 00071 EXPCL_DTOOLCONFIG int PyLong_FromLongLong(...); 00072 EXPCL_DTOOLCONFIG int PyLong_FromUnsignedLong(...); 00073 EXPCL_DTOOLCONFIG int PyLong_FromUnsignedLongLong(...); 00074 EXPCL_DTOOLCONFIG int PyLong_Type(...); 00075 EXPCL_DTOOLCONFIG int PyMapping_GetItemString(...); 00076 EXPCL_DTOOLCONFIG int PyModule_AddIntConstant(...); 00077 EXPCL_DTOOLCONFIG int PyModule_AddObject(...); 00078 EXPCL_DTOOLCONFIG int PyModule_AddStringConstant(...); 00079 EXPCL_DTOOLCONFIG int PyNumber_Float(...); 00080 EXPCL_DTOOLCONFIG int PyNumber_Long(...); 00081 EXPCL_DTOOLCONFIG int PyObject_Call(...); 00082 EXPCL_DTOOLCONFIG int PyObject_CallFunction(...); 00083 EXPCL_DTOOLCONFIG int PyObject_CallMethod(...); 00084 EXPCL_DTOOLCONFIG int PyObject_CallMethodObjArgs(...); 00085 EXPCL_DTOOLCONFIG int PyObject_CallObject(...); 00086 EXPCL_DTOOLCONFIG int PyObject_Cmp(...); 00087 EXPCL_DTOOLCONFIG int PyObject_Compare(...); 00088 EXPCL_DTOOLCONFIG int PyObject_Free(...); 00089 EXPCL_DTOOLCONFIG int PyObject_GenericGetAttr(...); 00090 EXPCL_DTOOLCONFIG int PyObject_GenericSetAttr(...); 00091 EXPCL_DTOOLCONFIG int PyObject_GetAttrString(...); 00092 EXPCL_DTOOLCONFIG int PyObject_HasAttrString(...); 00093 EXPCL_DTOOLCONFIG int PyObject_IsInstance(...); 00094 EXPCL_DTOOLCONFIG int PyObject_IsTrue(...); 00095 EXPCL_DTOOLCONFIG int PyObject_Repr(...); 00096 EXPCL_DTOOLCONFIG int PyObject_SetAttrString(...); 00097 EXPCL_DTOOLCONFIG int PyObject_Str(...); 00098 EXPCL_DTOOLCONFIG int PyObject_Type(...); 00099 EXPCL_DTOOLCONFIG int PySequence_Check(...); 00100 EXPCL_DTOOLCONFIG int PySequence_Fast(...); 00101 EXPCL_DTOOLCONFIG int PySequence_GetItem(...); 00102 EXPCL_DTOOLCONFIG int PySequence_Size(...); 00103 EXPCL_DTOOLCONFIG int PySequence_Tuple(...); 00104 EXPCL_DTOOLCONFIG int PyString_AsString(...); 00105 EXPCL_DTOOLCONFIG int PyString_AsStringAndSize(...); 00106 EXPCL_DTOOLCONFIG int PyString_FromString(...); 00107 EXPCL_DTOOLCONFIG int PyString_FromStringAndSize(...); 00108 EXPCL_DTOOLCONFIG int PyString_Size(...); 00109 EXPCL_DTOOLCONFIG int PyString_Type(...); 00110 EXPCL_DTOOLCONFIG int PySys_GetObject(...); 00111 EXPCL_DTOOLCONFIG int PyThreadState_Clear(...); 00112 EXPCL_DTOOLCONFIG int PyThreadState_Delete(...); 00113 EXPCL_DTOOLCONFIG int PyThreadState_Get(...); 00114 EXPCL_DTOOLCONFIG int PyThreadState_New(...); 00115 EXPCL_DTOOLCONFIG int PyThreadState_Swap(...); 00116 EXPCL_DTOOLCONFIG int PyTuple_GetItem(...); 00117 EXPCL_DTOOLCONFIG int PyTuple_New(...); 00118 EXPCL_DTOOLCONFIG int PyTuple_Pack(...); 00119 EXPCL_DTOOLCONFIG int PyTuple_Size(...); 00120 EXPCL_DTOOLCONFIG int PyTuple_Type(...); 00121 EXPCL_DTOOLCONFIG int PyType_GenericAlloc(...); 00122 EXPCL_DTOOLCONFIG int PyType_IsSubtype(...); 00123 EXPCL_DTOOLCONFIG int PyType_Ready(...); 00124 EXPCL_DTOOLCONFIG int PyUnicodeUCS2_FromWideChar(...); 00125 EXPCL_DTOOLCONFIG int PyUnicodeUCS2_AsWideChar(...); 00126 EXPCL_DTOOLCONFIG int PyUnicodeUCS2_GetSize(...); 00127 EXPCL_DTOOLCONFIG int PyUnicodeUCS4_FromWideChar(...); 00128 EXPCL_DTOOLCONFIG int PyUnicodeUCS4_AsWideChar(...); 00129 EXPCL_DTOOLCONFIG int PyUnicodeUCS4_GetSize(...); 00130 EXPCL_DTOOLCONFIG int PyUnicode_Type(...); 00131 EXPCL_DTOOLCONFIG int Py_BuildValue(...); 00132 EXPCL_DTOOLCONFIG int Py_InitModule4(...); 00133 EXPCL_DTOOLCONFIG int Py_InitModule4_64(...); 00134 EXPCL_DTOOLCONFIG int Py_InitModule4TraceRefs(...); 00135 EXPCL_DTOOLCONFIG int _PyObject_DebugFree(...); 00136 EXPCL_DTOOLCONFIG int _PyObject_Del(...); 00137 EXPCL_DTOOLCONFIG int _Py_Dealloc(...); 00138 EXPCL_DTOOLCONFIG int _Py_NegativeRefcount(...); 00139 EXPCL_DTOOLCONFIG int _Py_RefTotal(...); 00140 00141 EXPCL_DTOOLCONFIG int Py_IsInitialized(); 00142 00143 EXPCL_DTOOLCONFIG extern void *PyExc_AssertionError; 00144 EXPCL_DTOOLCONFIG extern void *PyExc_AttributeError; 00145 EXPCL_DTOOLCONFIG extern void *PyExc_FutureWarning; 00146 EXPCL_DTOOLCONFIG extern void *PyExc_IndexError; 00147 EXPCL_DTOOLCONFIG extern void *PyExc_RuntimeError; 00148 EXPCL_DTOOLCONFIG extern void *PyExc_StandardError; 00149 EXPCL_DTOOLCONFIG extern void *PyExc_StopIteration; 00150 EXPCL_DTOOLCONFIG extern void *PyExc_TypeError; 00151 EXPCL_DTOOLCONFIG extern void *PyExc_ValueError; 00152 EXPCL_DTOOLCONFIG extern void *_Py_NoneStruct; 00153 EXPCL_DTOOLCONFIG extern void *_Py_NotImplementedStruct; 00154 }; 00155 00156 00157 int PyArg_Parse(...) { return 0; }; 00158 int PyArg_ParseTuple(...) { return 0; } 00159 int PyArg_ParseTupleAndKeywords(...) { return 0; } 00160 int PyBool_FromLong(...) { return 0; } 00161 int PyCFunction_New(...) { return 0; }; 00162 int PyCFunction_NewEx(...) { return 0; }; 00163 int PyCallable_Check(...) { return 0; } 00164 int PyDict_DelItemString(...) { return 0; } 00165 int PyDict_GetItem(...) { return 0; } 00166 int PyDict_GetItemString(...) { return 0; } 00167 int PyDict_New(...) { return 0; }; 00168 int PyDict_SetItem(...) { return 0; }; 00169 int PyDict_SetItemString(...) { return 0; }; 00170 int PyDict_Size(...){ return 0; } 00171 int PyDict_Type(...) { return 0; }; 00172 int PyErr_Clear(...) { return 0; }; 00173 int PyErr_ExceptionMatches(...) { return 0; }; 00174 int PyErr_Fetch(...) { return 0; } 00175 int PyErr_Format(...) { return 0; }; 00176 int PyErr_Occurred(...) { return 0; } 00177 int PyErr_Print(...) { return 0; } 00178 int PyErr_Restore(...) { return 0; } 00179 int PyErr_SetString(...) { return 0; } 00180 int PyErr_Warn(...) { return 0; } 00181 int PyErr_WarnEx(...) { return 0; } 00182 int PyEval_CallFunction(...) { return 0; } 00183 int PyEval_CallObjectWithKeywords(...) { return 0; } 00184 int PyEval_InitThreads(...) { return 0; } 00185 int PyEval_RestoreThread(...) { return 0; } 00186 int PyEval_SaveThread(...) { return 0; } 00187 int PyFloat_AsDouble(...) { return 0; } 00188 int PyFloat_FromDouble(...) { return 0; } 00189 int PyFloat_Type(...) { return 0; } 00190 int PyGen_Check(...) { return 0; } 00191 int PyGen_Type(...) { return 0; } 00192 int PyGILState_Ensure(...) { return 0; } 00193 int PyGILState_Release(...) { return 0; } 00194 int PyImport_GetModuleDict(...) { return 0; } 00195 int PyInt_AsLong(...) { return 0; } 00196 int PyInt_AsSsize_t(...) { return 0; } 00197 int PyInt_FromLong(...) { return 0; } 00198 int PyInt_Type(...) { return 0; } 00199 int PyList_Append(...) { return 0; } 00200 int PyList_AsTuple(...) { return 0; } 00201 int PyList_GetItem(...) { return 0; } 00202 int PyList_New(...) { return 0; } 00203 int PyList_SetItem(...) { return 0; } 00204 int PyList_Type(...) { return 0; } 00205 int PyLong_AsLong(...) { return 0; } 00206 int PyLong_AsLongLong(...) { return 0; } 00207 int PyLong_AsUnsignedLong(...) { return 0; } 00208 int PyLong_AsUnsignedLongLong(...) { return 0; } 00209 int PyLong_FromLong(...) { return 0; } 00210 int PyLong_FromLongLong(...) { return 0; } 00211 int PyLong_FromUnsignedLong(...) { return 0; } 00212 int PyLong_FromUnsignedLongLong(...) { return 0; } 00213 int PyLong_Type(...) { return 0; } 00214 int PyMapping_GetItemString(...) { return 0; } 00215 int PyModule_AddIntConstant(...) { return 0; }; 00216 int PyModule_AddObject(...) { return 0; }; 00217 int PyModule_AddStringConstant(...) { return 0; }; 00218 int PyNumber_Float(...) { return 0; } 00219 int PyNumber_Long(...) { return 0; } 00220 int PyObject_Call(...) { return 0; } 00221 int PyObject_CallFunction(...) { return 0; } 00222 int PyObject_CallMethod(...) { return 0; } 00223 int PyObject_CallMethodObjArgs(...) { return 0; } 00224 int PyObject_CallObject(...) { return 0; } 00225 int PyObject_Cmp(...) { return 0; } 00226 int PyObject_Compare(...) { return 0; } 00227 int PyObject_Free(...) { return 0; } 00228 int PyObject_GenericGetAttr(...) { return 0; }; 00229 int PyObject_GenericSetAttr(...) { return 0; }; 00230 int PyObject_GetAttrString(...) { return 0; } 00231 int PyObject_HasAttrString(...) { return 0; } 00232 int PyObject_IsInstance(...) { return 0; } 00233 int PyObject_IsTrue(...) { return 0; } 00234 int PyObject_Repr(...) { return 0; } 00235 int PyObject_SetAttrString(...) { return 0; } 00236 int PyObject_Str(...) { return 0; } 00237 int PyObject_Type(...) { return 0; } 00238 int PySequence_Check(...) { return 0; } 00239 int PySequence_Fast(...) { return 0; } 00240 int PySequence_GetItem(...) { return 0; } 00241 int PySequence_Size(...) { return 0; } 00242 int PySequence_Tuple(...) { return 0; } 00243 int PyString_AsString(...) { return 0; } 00244 int PyString_AsStringAndSize(...) { return 0; } 00245 int PyString_FromString(...) { return 0; } 00246 int PyString_FromStringAndSize(...) { return 0; } 00247 int PyString_Size(...) { return 0; } 00248 int PyString_Type(...) { return 0; } 00249 int PySys_GetObject(...) { return 0; } 00250 int PyThreadState_Clear(...) { return 0; } 00251 int PyThreadState_Delete(...) { return 0; } 00252 int PyThreadState_Get(...) { return 0; } 00253 int PyThreadState_New(...) { return 0; } 00254 int PyThreadState_Swap(...) { return 0; } 00255 int PyTuple_GetItem(...) { return 0; } 00256 int PyTuple_New(...) { return 0; } 00257 int PyTuple_Pack(...) { return 0; } 00258 int PyTuple_Size(...) { return 0; }; 00259 int PyTuple_Type(...) { return 0; }; 00260 int PyType_GenericAlloc(...) { return 0; }; 00261 int PyType_IsSubtype(...) { return 0; } 00262 int PyType_Ready(...) { return 0; }; 00263 int PyUnicodeUCS2_FromWideChar(...) { return 0; } 00264 int PyUnicodeUCS2_AsWideChar(...) { return 0; } 00265 int PyUnicodeUCS2_GetSize(...) { return 0; } 00266 int PyUnicodeUCS4_FromWideChar(...) { return 0; } 00267 int PyUnicodeUCS4_AsWideChar(...) { return 0; } 00268 int PyUnicodeUCS4_GetSize(...) { return 0; } 00269 int PyUnicode_Type(...) { return 0; } 00270 int Py_BuildValue(...) { return 0; } 00271 int Py_InitModule4(...) { return 0; } 00272 int Py_InitModule4_64(...) { return 0; } 00273 int Py_InitModule4TraceRefs(...) { return 0; }; 00274 int _PyObject_DebugFree(...) { return 0; }; 00275 int _PyObject_Del(...) { return 0; }; 00276 int _Py_Dealloc(...) { return 0; }; 00277 int _Py_NegativeRefcount(...) { return 0; }; 00278 int _Py_RefTotal(...) { return 0; }; 00279 00280 // We actually might call this one. 00281 int Py_IsInitialized() { 00282 return 0; 00283 } 00284 00285 00286 void *PyExc_AssertionError = (void *)NULL; 00287 void *PyExc_AttributeError = (void *)NULL; 00288 void *PyExc_FutureWarning = (void *)NULL; 00289 void *PyExc_IndexError = (void *)NULL; 00290 void *PyExc_RuntimeError = (void *)NULL; 00291 void *PyExc_StandardError = (void *)NULL; 00292 void *PyExc_StopIteration = (void *)NULL; 00293 void *PyExc_TypeError = (void *)NULL; 00294 void *PyExc_ValueError = (void *)NULL; 00295 void *_Py_NoneStruct = (void *)NULL; 00296 void *_Py_NotImplementedStruct = (void *)NULL; 00297 00298 00299 void 00300 pystub() { 00301 } 00302