pystub.cxx 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. // Filename: pystub.cxx
  2. // Created by: drose (09Aug00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved
  8. //
  9. // All use of this software is subject to the terms of the Panda 3d
  10. // Software license. You should have received a copy of this license
  11. // along with this source code; you will also find a current copy of
  12. // the license at http://etc.cmu.edu/panda3d/docs/license/ .
  13. //
  14. // To contact the maintainers of this program write to
  15. // [email protected] .
  16. //
  17. ////////////////////////////////////////////////////////////////////
  18. #include "pystub.h"
  19. extern "C" {
  20. EXPCL_DTOOLCONFIG int PyArg_ParseTuple(...);
  21. EXPCL_DTOOLCONFIG int PyErr_Occurred(...);
  22. EXPCL_DTOOLCONFIG int PyErr_SetString(...);
  23. EXPCL_DTOOLCONFIG int PyExc_TypeError(...);
  24. EXPCL_DTOOLCONFIG int PyDict_GetItem(...);
  25. EXPCL_DTOOLCONFIG int PyFloat_AsDouble(...);
  26. EXPCL_DTOOLCONFIG int PyFloat_FromDouble(...);
  27. EXPCL_DTOOLCONFIG int PyFloat_Type(...);
  28. EXPCL_DTOOLCONFIG int PyInt_AsLong(...);
  29. EXPCL_DTOOLCONFIG int PyInt_FromLong(...);
  30. EXPCL_DTOOLCONFIG int PyInt_Type(...);
  31. EXPCL_DTOOLCONFIG int PyList_Append(...);
  32. EXPCL_DTOOLCONFIG int PyList_AsTuple(...);
  33. EXPCL_DTOOLCONFIG int PyList_New(...);
  34. EXPCL_DTOOLCONFIG int PyLong_AsLongLong(...);
  35. EXPCL_DTOOLCONFIG int PyLong_AsUnsignedLong(...);
  36. EXPCL_DTOOLCONFIG int PyLong_AsUnsignedLongLong(...);
  37. EXPCL_DTOOLCONFIG int PyLong_FromLongLong(...);
  38. EXPCL_DTOOLCONFIG int PyLong_FromUnsignedLong(...);
  39. EXPCL_DTOOLCONFIG int PyLong_FromUnsignedLongLong(...);
  40. EXPCL_DTOOLCONFIG int PyLong_Type(...);
  41. EXPCL_DTOOLCONFIG int PyNumber_Long(...);
  42. EXPCL_DTOOLCONFIG int PyObject_CallObject(...);
  43. EXPCL_DTOOLCONFIG int PyObject_Call(...);
  44. EXPCL_DTOOLCONFIG int PyObject_Free(...);
  45. EXPCL_DTOOLCONFIG int PyObject_GetAttrString(...);
  46. EXPCL_DTOOLCONFIG int PyObject_HasAttrString(...);
  47. EXPCL_DTOOLCONFIG int PyObject_IsInstance(...);
  48. EXPCL_DTOOLCONFIG int PyObject_IsTrue(...);
  49. EXPCL_DTOOLCONFIG int PyObject_SetAttrString(...);
  50. EXPCL_DTOOLCONFIG int PyObject_Str(...);
  51. EXPCL_DTOOLCONFIG int PySequence_Check(...);
  52. EXPCL_DTOOLCONFIG int PySequence_GetItem(...);
  53. EXPCL_DTOOLCONFIG int PySequence_Size(...);
  54. EXPCL_DTOOLCONFIG int PySequence_Tuple(...);
  55. EXPCL_DTOOLCONFIG int PyString_AsString(...);
  56. EXPCL_DTOOLCONFIG int PyString_AsStringAndSize(...);
  57. EXPCL_DTOOLCONFIG int PyString_FromString(...);
  58. EXPCL_DTOOLCONFIG int PyString_FromStringAndSize(...);
  59. EXPCL_DTOOLCONFIG int PyString_Type(...);
  60. EXPCL_DTOOLCONFIG int PyTuple_GetItem(...);
  61. EXPCL_DTOOLCONFIG int PyTuple_New(...);
  62. EXPCL_DTOOLCONFIG int PyType_IsSubtype(...);
  63. EXPCL_DTOOLCONFIG int PyUnicode_Type(...);
  64. EXPCL_DTOOLCONFIG int PyUnicodeUCS2_FromWideChar(...);
  65. EXPCL_DTOOLCONFIG int PyUnicodeUCS4_FromWideChar(...);
  66. EXPCL_DTOOLCONFIG int Py_BuildValue(...);
  67. EXPCL_DTOOLCONFIG int Py_InitModule4(...);
  68. EXPCL_DTOOLCONFIG int PyCFunction_New(...);
  69. EXPCL_DTOOLCONFIG int PyCFunction_NewEx(...);
  70. EXPCL_DTOOLCONFIG int PyDict_SetItemString(...);
  71. EXPCL_DTOOLCONFIG int PyDict_SetItem(...);
  72. EXPCL_DTOOLCONFIG int PyObject_GenericSetAttr(...);
  73. EXPCL_DTOOLCONFIG int PyType_GenericAlloc(...);
  74. EXPCL_DTOOLCONFIG int PyModule_AddObject(...);
  75. EXPCL_DTOOLCONFIG int _PyObject_Del(...);
  76. EXPCL_DTOOLCONFIG int PyDict_New(...);
  77. EXPCL_DTOOLCONFIG int PyErr_Clear(...);
  78. EXPCL_DTOOLCONFIG int PyType_Ready(...);
  79. EXPCL_DTOOLCONFIG int PyTuple_Type(...);
  80. EXPCL_DTOOLCONFIG int PyErr_Format(...);
  81. EXPCL_DTOOLCONFIG int PyTuple_Size(...);
  82. EXPCL_DTOOLCONFIG int PyModule_AddIntConstant(...);
  83. EXPCL_DTOOLCONFIG int PyObject_GenericGetAttr(...);
  84. EXPCL_DTOOLCONFIG int PyArg_Parse(...);
  85. EXPCL_DTOOLCONFIG int PyDict_Type(...);
  86. EXPCL_DTOOLCONFIG int PyArg_ParseTupleAndKeywords(...);
  87. EXPCL_DTOOLCONFIG int PyDict_Size(...);
  88. EXPCL_DTOOLCONFIG int Py_InitModule4TraceRefs(...);
  89. EXPCL_DTOOLCONFIG int _PyObject_DebugFree(...);
  90. EXPCL_DTOOLCONFIG int _Py_Dealloc(...);
  91. EXPCL_DTOOLCONFIG int _Py_RefTotal(...);
  92. EXPCL_DTOOLCONFIG int _Py_NegativeRefcount(...);
  93. EXPCL_DTOOLCONFIG extern void *PyExc_AssertionError;
  94. EXPCL_DTOOLCONFIG extern void *_Py_NoneStruct;
  95. EXPCL_DTOOLCONFIG extern void *_Py_NotImplementedStruct;
  96. };
  97. int PyArg_ParseTupleAndKeywords(...) { return 0; }
  98. int PyDict_Size(...){ return 0; }
  99. int PyArg_ParseTuple(...) { return 0; }
  100. int PyErr_Occurred(...) { return 0; }
  101. int PyErr_SetString(...) { return 0; }
  102. int PyExc_TypeError(...) { return 0; }
  103. int PyDict_GetItem(...) { return 0; }
  104. int PyFloat_AsDouble(...) { return 0; }
  105. int PyFloat_FromDouble(...) { return 0; }
  106. int PyFloat_Type(...) { return 0; }
  107. int PyInt_AsLong(...) { return 0; }
  108. int PyInt_FromLong(...) { return 0; }
  109. int PyInt_Type(...) { return 0; }
  110. int PyList_Append(...) { return 0; }
  111. int PyList_AsTuple(...) { return 0; }
  112. int PyList_New(...) { return 0; }
  113. int PyLong_AsLongLong(...) { return 0; }
  114. int PyLong_AsUnsignedLong(...) { return 0; }
  115. int PyLong_AsUnsignedLongLong(...) { return 0; }
  116. int PyLong_FromLongLong(...) { return 0; }
  117. int PyLong_FromUnsignedLong(...) { return 0; }
  118. int PyLong_FromUnsignedLongLong(...) { return 0; }
  119. int PyLong_Type(...) { return 0; }
  120. int PyNumber_Long(...) { return 0; }
  121. int PyObject_CallObject(...) { return 0; }
  122. int PyObject_Call(...) { return 0; }
  123. int PyObject_Free(...) { return 0; }
  124. int PyObject_GetAttrString(...) { return 0; }
  125. int PyObject_HasAttrString(...) { return 0; }
  126. int PyObject_IsInstance(...) { return 0; }
  127. int PyObject_IsTrue(...) { return 0; }
  128. int PyObject_SetAttrString(...) { return 0; }
  129. int PyObject_Str(...) { return 0; }
  130. int PySequence_Check(...) { return 0; }
  131. int PySequence_GetItem(...) { return 0; }
  132. int PySequence_Size(...) { return 0; }
  133. int PySequence_Tuple(...) { return 0; }
  134. int PyString_AsString(...) { return 0; }
  135. int PyString_AsStringAndSize(...) { return 0; }
  136. int PyString_FromString(...) { return 0; }
  137. int PyString_FromStringAndSize(...) { return 0; }
  138. int PyString_Type(...) { return 0; }
  139. int PyTuple_GetItem(...) { return 0; }
  140. int PyTuple_New(...) { return 0; }
  141. int PyType_IsSubtype(...) { return 0; }
  142. int PyUnicode_Type(...) { return 0; }
  143. int PyUnicodeUCS2_FromWideChar(...) { return 0; }
  144. int PyUnicodeUCS4_FromWideChar(...) { return 0; }
  145. int Py_BuildValue(...) { return 0; }
  146. int Py_InitModule4(...) { return 0; }
  147. int PyCFunction_New(...) { return 0; };
  148. int PyCFunction_NewEx(...) { return 0; };
  149. int PyDict_SetItemString(...) { return 0; };
  150. int PyDict_SetItem(...) { return 0; };
  151. int PyObject_GenericSetAttr(...) { return 0; };
  152. int PyType_GenericAlloc(...) { return 0; };
  153. int PyModule_AddObject(...) { return 0; };
  154. int _PyObject_Del(...) { return 0; };
  155. int PyDict_New(...) { return 0; };
  156. int PyErr_Clear(...) { return 0; };
  157. int PyType_Ready(...) { return 0; };
  158. int PyTuple_Type(...) { return 0; };
  159. int PyErr_Format(...) { return 0; };
  160. int PyTuple_Size(...) { return 0; };
  161. int PyModule_AddIntConstant(...) { return 0; };
  162. int PyObject_GenericGetAttr(...) { return 0; };
  163. int PyArg_Parse(...) { return 0; };
  164. int PyDict_Type(...) { return 0; };
  165. int Py_InitModule4TraceRefs(...) { return 0; };
  166. int _PyObject_DebugFree(...) { return 0; };
  167. int _Py_Dealloc(...) { return 0; };
  168. int _Py_RefTotal(...) { return 0; };
  169. int _Py_NegativeRefcount(...) { return 0; };
  170. void *PyExc_AssertionError = (void *)NULL;
  171. void *_Py_NoneStruct = (void *)NULL;
  172. void *_Py_NotImplementedStruct = (void *)NULL;
  173. void
  174. pystub() {
  175. }