pypy_decl.h 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. #ifdef _WIN64
  2. /* this check is for sanity, but also because the 'temporary fix'
  3. below seems to become permanent and would cause unexpected
  4. nonsense on Win64---but note that it's not the only reason for
  5. why Win64 is not supported! If you want to help, see
  6. http://doc.pypy.org/en/latest/windows.html#what-is-missing-for-a-full-64-bit-translation
  7. */
  8. # error "PyPy does not support 64-bit on Windows. Use Win32"
  9. #endif
  10. #include "cpyext_object.h"
  11. #define Signed Py_ssize_t /* xxx temporary fix */
  12. #define Unsigned unsigned long /* xxx temporary fix */
  13. typedef struct { PyObject_HEAD } PyMethodObject;
  14. typedef struct { PyObject_HEAD } PyListObject;
  15. typedef struct { PyObject_HEAD } PyLongObject;
  16. typedef struct { PyObject_HEAD } PyBaseExceptionObject;
  17. /* hack for https://bugs.python.org/issue29943 */
  18. PyAPI_FUNC(int) PyPySlice_GetIndicesEx(PyObject *arg0,
  19. Signed arg1, Signed *arg2,
  20. Signed *arg3, Signed *arg4, Signed *arg5);
  21. #ifdef __GNUC__
  22. __attribute__((__unused__))
  23. #endif
  24. static int PySlice_GetIndicesEx(PyObject *arg0, Py_ssize_t arg1,
  25. Py_ssize_t *arg2, Py_ssize_t *arg3, Py_ssize_t *arg4,
  26. Py_ssize_t *arg5) {
  27. return PyPySlice_GetIndicesEx(arg0, arg1, arg2, arg3,
  28. arg4, arg5);
  29. }
  30. #define PyAnySet_Check PyPyAnySet_Check
  31. PyAPI_FUNC(int) PyAnySet_Check(PyObject *arg0);
  32. #define PyAnySet_CheckExact PyPyAnySet_CheckExact
  33. PyAPI_FUNC(int) PyAnySet_CheckExact(PyObject *arg0);
  34. #define PyBool_Check PyPyBool_Check
  35. PyAPI_FUNC(int) PyBool_Check(void * arg0);
  36. #define PyBool_CheckExact PyPyBool_CheckExact
  37. PyAPI_FUNC(int) PyBool_CheckExact(void * arg0);
  38. #define PyBool_FromLong PyPyBool_FromLong
  39. PyAPI_FUNC(PyObject *) PyBool_FromLong(Signed arg0);
  40. #define PyBuffer_FillInfo PyPyBuffer_FillInfo
  41. PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *arg0, PyObject *arg1, void *arg2, Signed arg3, Signed arg4, Signed arg5);
  42. #define PyBuffer_IsContiguous PyPyBuffer_IsContiguous
  43. PyAPI_FUNC(int) PyBuffer_IsContiguous(Py_buffer *arg0, char arg1);
  44. #define PyByteArray_AsString PyPyByteArray_AsString
  45. PyAPI_FUNC(char *) PyByteArray_AsString(PyObject *arg0);
  46. #define PyByteArray_Check PyPyByteArray_Check
  47. PyAPI_FUNC(int) PyByteArray_Check(void * arg0);
  48. #define PyByteArray_CheckExact PyPyByteArray_CheckExact
  49. PyAPI_FUNC(int) PyByteArray_CheckExact(void * arg0);
  50. #define PyByteArray_Concat PyPyByteArray_Concat
  51. PyAPI_FUNC(PyObject *) PyByteArray_Concat(PyObject *arg0, PyObject *arg1);
  52. #define PyByteArray_FromObject PyPyByteArray_FromObject
  53. PyAPI_FUNC(PyObject *) PyByteArray_FromObject(PyObject *arg0);
  54. #define PyByteArray_FromStringAndSize PyPyByteArray_FromStringAndSize
  55. PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *arg0, Signed arg1);
  56. #define PyByteArray_Resize PyPyByteArray_Resize
  57. PyAPI_FUNC(int) PyByteArray_Resize(PyObject *arg0, Signed arg1);
  58. #define PyByteArray_Size PyPyByteArray_Size
  59. PyAPI_FUNC(Signed) PyByteArray_Size(PyObject *arg0);
  60. #define PyBytes_AS_STRING PyPyBytes_AS_STRING
  61. PyAPI_FUNC(char *) PyBytes_AS_STRING(void *arg0);
  62. #define PyBytes_AsString PyPyBytes_AsString
  63. PyAPI_FUNC(char *) PyBytes_AsString(PyObject *arg0);
  64. #define PyBytes_AsStringAndSize PyPyBytes_AsStringAndSize
  65. PyAPI_FUNC(int) PyBytes_AsStringAndSize(PyObject *arg0, char **arg1, Signed *arg2);
  66. #define PyBytes_Concat PyPyBytes_Concat
  67. PyAPI_FUNC(void) PyBytes_Concat(PyObject **arg0, PyObject *arg1);
  68. #define PyBytes_ConcatAndDel PyPyBytes_ConcatAndDel
  69. PyAPI_FUNC(void) PyBytes_ConcatAndDel(PyObject **arg0, PyObject *arg1);
  70. #define PyBytes_FromObject PyPyBytes_FromObject
  71. PyAPI_FUNC(PyObject *) PyBytes_FromObject(PyObject *arg0);
  72. #define PyBytes_FromString PyPyBytes_FromString
  73. PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *arg0);
  74. #define PyBytes_FromStringAndSize PyPyBytes_FromStringAndSize
  75. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *arg0, Signed arg1);
  76. #define PyBytes_Size PyPyBytes_Size
  77. PyAPI_FUNC(Signed) PyBytes_Size(PyObject *arg0);
  78. #define PyCFunction_Check PyPyCFunction_Check
  79. PyAPI_FUNC(int) PyCFunction_Check(PyObject *arg0);
  80. #define PyCFunction_GetFunction PyPyCFunction_GetFunction
  81. PyAPI_FUNC(PyCFunction) PyCFunction_GetFunction(PyObject * arg0);
  82. #define PyCFunction_NewEx PyPyCFunction_NewEx
  83. PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *arg0, PyObject *arg1, PyObject *arg2);
  84. #define PyCallIter_New PyPyCallIter_New
  85. PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *arg0, PyObject *arg1);
  86. #define PyCallable_Check PyPyCallable_Check
  87. PyAPI_FUNC(int) PyCallable_Check(PyObject *arg0);
  88. #define PyClassMethod_New PyPyClassMethod_New
  89. PyAPI_FUNC(PyObject *) PyClassMethod_New(PyObject *arg0);
  90. #define PyCode_Check PyPyCode_Check
  91. PyAPI_FUNC(int) PyCode_Check(void * arg0);
  92. #define PyCode_CheckExact PyPyCode_CheckExact
  93. PyAPI_FUNC(int) PyCode_CheckExact(void * arg0);
  94. #define PyCode_GetNumFree PyPyCode_GetNumFree
  95. PyAPI_FUNC(Signed) PyCode_GetNumFree(PyCodeObject *arg0);
  96. #define PyCode_New PyPyCode_New
  97. PyAPI_FUNC(PyCodeObject *) PyCode_New(int arg0, int arg1, int arg2, int arg3, int arg4, PyObject *arg5, PyObject *arg6, PyObject *arg7, PyObject *arg8, PyObject *arg9, PyObject *arg10, PyObject *arg11, PyObject *arg12, int arg13, PyObject *arg14);
  98. #define PyCode_NewEmpty PyPyCode_NewEmpty
  99. PyAPI_FUNC(PyCodeObject *) PyCode_NewEmpty(const char *arg0, const char *arg1, int arg2);
  100. #define PyCodec_IncrementalDecoder PyPyCodec_IncrementalDecoder
  101. PyAPI_FUNC(PyObject *) PyCodec_IncrementalDecoder(const char *arg0, const char *arg1);
  102. #define PyCodec_IncrementalEncoder PyPyCodec_IncrementalEncoder
  103. PyAPI_FUNC(PyObject *) PyCodec_IncrementalEncoder(const char *arg0, const char *arg1);
  104. #define PyComplex_Check PyPyComplex_Check
  105. PyAPI_FUNC(int) PyComplex_Check(void * arg0);
  106. #define PyComplex_CheckExact PyPyComplex_CheckExact
  107. PyAPI_FUNC(int) PyComplex_CheckExact(void * arg0);
  108. #define PyComplex_FromDoubles PyPyComplex_FromDoubles
  109. PyAPI_FUNC(PyObject *) PyComplex_FromDoubles(double arg0, double arg1);
  110. #define PyComplex_ImagAsDouble PyPyComplex_ImagAsDouble
  111. PyAPI_FUNC(double) PyComplex_ImagAsDouble(PyObject *arg0);
  112. #define PyComplex_RealAsDouble PyPyComplex_RealAsDouble
  113. PyAPI_FUNC(double) PyComplex_RealAsDouble(PyObject *arg0);
  114. #define PyCoro_Check PyPyCoro_Check
  115. PyAPI_FUNC(int) PyCoro_Check(void * arg0);
  116. #define PyCoro_CheckExact PyPyCoro_CheckExact
  117. PyAPI_FUNC(int) PyCoro_CheckExact(void * arg0);
  118. #define PyDateTime_Check PyPyDateTime_Check
  119. PyAPI_FUNC(int) PyDateTime_Check(PyObject *arg0);
  120. #define PyDateTime_CheckExact PyPyDateTime_CheckExact
  121. PyAPI_FUNC(int) PyDateTime_CheckExact(PyObject *arg0);
  122. #define PyDateTime_DATE_GET_HOUR PyPyDateTime_DATE_GET_HOUR
  123. PyAPI_FUNC(int) PyDateTime_DATE_GET_HOUR(void *arg0);
  124. #define PyDateTime_DATE_GET_MICROSECOND PyPyDateTime_DATE_GET_MICROSECOND
  125. PyAPI_FUNC(int) PyDateTime_DATE_GET_MICROSECOND(void *arg0);
  126. #define PyDateTime_DATE_GET_MINUTE PyPyDateTime_DATE_GET_MINUTE
  127. PyAPI_FUNC(int) PyDateTime_DATE_GET_MINUTE(void *arg0);
  128. #define PyDateTime_DATE_GET_SECOND PyPyDateTime_DATE_GET_SECOND
  129. PyAPI_FUNC(int) PyDateTime_DATE_GET_SECOND(void *arg0);
  130. #define PyDateTime_DELTA_GET_DAYS PyPyDateTime_DELTA_GET_DAYS
  131. PyAPI_FUNC(int) PyDateTime_DELTA_GET_DAYS(void *arg0);
  132. #define PyDateTime_DELTA_GET_MICROSECONDS PyPyDateTime_DELTA_GET_MICROSECONDS
  133. PyAPI_FUNC(int) PyDateTime_DELTA_GET_MICROSECONDS(void *arg0);
  134. #define PyDateTime_DELTA_GET_SECONDS PyPyDateTime_DELTA_GET_SECONDS
  135. PyAPI_FUNC(int) PyDateTime_DELTA_GET_SECONDS(void *arg0);
  136. #define PyDateTime_FromTimestamp PyPyDateTime_FromTimestamp
  137. PyAPI_FUNC(PyObject *) PyDateTime_FromTimestamp(PyObject *arg0);
  138. #define PyDateTime_GET_DAY PyPyDateTime_GET_DAY
  139. PyAPI_FUNC(int) PyDateTime_GET_DAY(void *arg0);
  140. #define PyDateTime_GET_MONTH PyPyDateTime_GET_MONTH
  141. PyAPI_FUNC(int) PyDateTime_GET_MONTH(void *arg0);
  142. #define PyDateTime_GET_YEAR PyPyDateTime_GET_YEAR
  143. PyAPI_FUNC(int) PyDateTime_GET_YEAR(void *arg0);
  144. #define PyDateTime_TIME_GET_HOUR PyPyDateTime_TIME_GET_HOUR
  145. PyAPI_FUNC(int) PyDateTime_TIME_GET_HOUR(void *arg0);
  146. #define PyDateTime_TIME_GET_MICROSECOND PyPyDateTime_TIME_GET_MICROSECOND
  147. PyAPI_FUNC(int) PyDateTime_TIME_GET_MICROSECOND(void *arg0);
  148. #define PyDateTime_TIME_GET_MINUTE PyPyDateTime_TIME_GET_MINUTE
  149. PyAPI_FUNC(int) PyDateTime_TIME_GET_MINUTE(void *arg0);
  150. #define PyDateTime_TIME_GET_SECOND PyPyDateTime_TIME_GET_SECOND
  151. PyAPI_FUNC(int) PyDateTime_TIME_GET_SECOND(void *arg0);
  152. #define PyDate_Check PyPyDate_Check
  153. PyAPI_FUNC(int) PyDate_Check(PyObject *arg0);
  154. #define PyDate_CheckExact PyPyDate_CheckExact
  155. PyAPI_FUNC(int) PyDate_CheckExact(PyObject *arg0);
  156. #define PyDate_FromTimestamp PyPyDate_FromTimestamp
  157. PyAPI_FUNC(PyObject *) PyDate_FromTimestamp(PyObject *arg0);
  158. #define PyDelta_Check PyPyDelta_Check
  159. PyAPI_FUNC(int) PyDelta_Check(PyObject *arg0);
  160. #define PyDelta_CheckExact PyPyDelta_CheckExact
  161. PyAPI_FUNC(int) PyDelta_CheckExact(PyObject *arg0);
  162. #define PyDescr_NewClassMethod PyPyDescr_NewClassMethod
  163. PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject * arg0, PyMethodDef * arg1);
  164. #define PyDictProxy_Check PyPyDictProxy_Check
  165. PyAPI_FUNC(int) PyDictProxy_Check(void * arg0);
  166. #define PyDictProxy_CheckExact PyPyDictProxy_CheckExact
  167. PyAPI_FUNC(int) PyDictProxy_CheckExact(void * arg0);
  168. #define PyDictProxy_New PyPyDictProxy_New
  169. PyAPI_FUNC(PyObject *) PyDictProxy_New(PyObject *arg0);
  170. #define PyDict_Clear PyPyDict_Clear
  171. PyAPI_FUNC(void) PyDict_Clear(PyObject *arg0);
  172. #define PyDict_Contains PyPyDict_Contains
  173. PyAPI_FUNC(int) PyDict_Contains(PyObject *arg0, PyObject *arg1);
  174. #define PyDict_Copy PyPyDict_Copy
  175. PyAPI_FUNC(PyObject *) PyDict_Copy(PyObject *arg0);
  176. #define PyDict_DelItem PyPyDict_DelItem
  177. PyAPI_FUNC(int) PyDict_DelItem(PyObject *arg0, PyObject *arg1);
  178. #define PyDict_DelItemString PyPyDict_DelItemString
  179. PyAPI_FUNC(int) PyDict_DelItemString(PyObject *arg0, const char *arg1);
  180. #define PyDict_GetItem PyPyDict_GetItem
  181. PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *arg0, PyObject *arg1);
  182. #define PyDict_GetItemString PyPyDict_GetItemString
  183. PyAPI_FUNC(PyObject *) PyDict_GetItemString(PyObject *arg0, const char *arg1);
  184. #define PyDict_Items PyPyDict_Items
  185. PyAPI_FUNC(PyObject *) PyDict_Items(PyObject *arg0);
  186. #define PyDict_Keys PyPyDict_Keys
  187. PyAPI_FUNC(PyObject *) PyDict_Keys(PyObject *arg0);
  188. #define PyDict_Merge PyPyDict_Merge
  189. PyAPI_FUNC(int) PyDict_Merge(PyObject *arg0, PyObject *arg1, int arg2);
  190. #define PyDict_New PyPyDict_New
  191. PyAPI_FUNC(PyObject *) PyDict_New(void);
  192. #define PyDict_Next PyPyDict_Next
  193. PyAPI_FUNC(int) PyDict_Next(PyObject *arg0, Signed *arg1, PyObject **arg2, PyObject **arg3);
  194. #define PyDict_SetDefault PyPyDict_SetDefault
  195. PyAPI_FUNC(PyObject *) PyDict_SetDefault(PyObject * arg0, PyObject * arg1, PyObject * arg2);
  196. #define PyDict_SetItem PyPyDict_SetItem
  197. PyAPI_FUNC(int) PyDict_SetItem(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  198. #define PyDict_SetItemString PyPyDict_SetItemString
  199. PyAPI_FUNC(int) PyDict_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
  200. #define PyDict_Size PyPyDict_Size
  201. PyAPI_FUNC(Signed) PyDict_Size(PyObject *arg0);
  202. #define PyDict_Update PyPyDict_Update
  203. PyAPI_FUNC(int) PyDict_Update(PyObject *arg0, PyObject *arg1);
  204. #define PyDict_Values PyPyDict_Values
  205. PyAPI_FUNC(PyObject *) PyDict_Values(PyObject *arg0);
  206. #define PyErr_BadArgument PyPyErr_BadArgument
  207. PyAPI_FUNC(int) PyErr_BadArgument(void);
  208. #define PyErr_BadInternalCall PyPyErr_BadInternalCall
  209. PyAPI_FUNC(void) PyErr_BadInternalCall(void);
  210. #define PyErr_CheckSignals PyPyErr_CheckSignals
  211. PyAPI_FUNC(int) PyErr_CheckSignals(void);
  212. #define PyErr_Clear PyPyErr_Clear
  213. PyAPI_FUNC(void) PyErr_Clear(void);
  214. #define PyErr_Display PyPyErr_Display
  215. PyAPI_FUNC(void) PyErr_Display(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  216. #define PyErr_ExceptionMatches PyPyErr_ExceptionMatches
  217. PyAPI_FUNC(int) PyErr_ExceptionMatches(PyObject *arg0);
  218. #define PyErr_Fetch PyPyErr_Fetch
  219. PyAPI_FUNC(void) PyErr_Fetch(PyObject **arg0, PyObject **arg1, PyObject **arg2);
  220. #define PyErr_GetExcInfo PyPyErr_GetExcInfo
  221. PyAPI_FUNC(void) PyErr_GetExcInfo(PyObject **arg0, PyObject **arg1, PyObject **arg2);
  222. #define PyErr_GivenExceptionMatches PyPyErr_GivenExceptionMatches
  223. PyAPI_FUNC(int) PyErr_GivenExceptionMatches(PyObject *arg0, PyObject *arg1);
  224. #define PyErr_NoMemory PyPyErr_NoMemory
  225. PyAPI_FUNC(PyObject *) PyErr_NoMemory(void);
  226. #define PyErr_NormalizeException PyPyErr_NormalizeException
  227. PyAPI_FUNC(void) PyErr_NormalizeException(PyObject **arg0, PyObject **arg1, PyObject **arg2);
  228. #define PyErr_Occurred PyPyErr_Occurred
  229. PyAPI_FUNC(PyObject *) PyErr_Occurred(void);
  230. #define PyErr_Print PyPyErr_Print
  231. PyAPI_FUNC(void) PyErr_Print(void);
  232. #define PyErr_PrintEx PyPyErr_PrintEx
  233. PyAPI_FUNC(void) PyErr_PrintEx(int arg0);
  234. #define PyErr_Restore PyPyErr_Restore
  235. PyAPI_FUNC(void) PyErr_Restore(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  236. #define PyErr_SetExcInfo PyPyErr_SetExcInfo
  237. PyAPI_FUNC(void) PyErr_SetExcInfo(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  238. #define PyErr_SetFromErrno PyPyErr_SetFromErrno
  239. PyAPI_FUNC(PyObject *) PyErr_SetFromErrno(PyObject *arg0);
  240. #define PyErr_SetFromErrnoWithFilename PyPyErr_SetFromErrnoWithFilename
  241. PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithFilename(PyObject *arg0, char *arg1);
  242. #define PyErr_SetFromErrnoWithFilenameObject PyPyErr_SetFromErrnoWithFilenameObject
  243. PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithFilenameObject(PyObject *arg0, PyObject *arg1);
  244. #define PyErr_SetInterrupt PyPyErr_SetInterrupt
  245. PyAPI_FUNC(void) PyErr_SetInterrupt(void);
  246. #define PyErr_SetNone PyPyErr_SetNone
  247. PyAPI_FUNC(void) PyErr_SetNone(PyObject *arg0);
  248. #define PyErr_SetObject PyPyErr_SetObject
  249. PyAPI_FUNC(void) PyErr_SetObject(PyObject *arg0, PyObject *arg1);
  250. #define PyErr_SetString PyPyErr_SetString
  251. PyAPI_FUNC(void) PyErr_SetString(PyObject *arg0, const char *arg1);
  252. #define PyErr_Warn PyPyErr_Warn
  253. PyAPI_FUNC(int) PyErr_Warn(PyObject *arg0, const char *arg1);
  254. #define PyErr_WarnEx PyPyErr_WarnEx
  255. PyAPI_FUNC(int) PyErr_WarnEx(PyObject *arg0, const char *arg1, int arg2);
  256. #define PyErr_WriteUnraisable PyPyErr_WriteUnraisable
  257. PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *arg0);
  258. #define PyEval_AcquireThread PyPyEval_AcquireThread
  259. PyAPI_FUNC(void) PyEval_AcquireThread(PyThreadState *arg0);
  260. #define PyEval_CallObjectWithKeywords PyPyEval_CallObjectWithKeywords
  261. PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  262. #define PyEval_EvalCode PyPyEval_EvalCode
  263. PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *arg0, PyObject *arg1, PyObject *arg2);
  264. #define PyEval_GetBuiltins PyPyEval_GetBuiltins
  265. PyAPI_FUNC(PyObject *) PyEval_GetBuiltins(void);
  266. #define PyEval_GetGlobals PyPyEval_GetGlobals
  267. PyAPI_FUNC(PyObject *) PyEval_GetGlobals(void);
  268. #define PyEval_GetLocals PyPyEval_GetLocals
  269. PyAPI_FUNC(PyObject *) PyEval_GetLocals(void);
  270. #define PyEval_InitThreads PyPyEval_InitThreads
  271. PyAPI_FUNC(void) PyEval_InitThreads(void);
  272. #define PyEval_MergeCompilerFlags PyPyEval_MergeCompilerFlags
  273. PyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *arg0);
  274. #define PyEval_ReleaseThread PyPyEval_ReleaseThread
  275. PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *arg0);
  276. #define PyEval_RestoreThread PyPyEval_RestoreThread
  277. PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *arg0);
  278. #define PyEval_SaveThread PyPyEval_SaveThread
  279. PyAPI_FUNC(PyThreadState *) PyEval_SaveThread(void);
  280. #define PyEval_ThreadsInitialized PyPyEval_ThreadsInitialized
  281. PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
  282. #define PyExceptionInstance_Class PyPyExceptionInstance_Class
  283. PyAPI_FUNC(PyObject *) PyExceptionInstance_Class(PyObject *arg0);
  284. #define PyException_GetCause PyPyException_GetCause
  285. PyAPI_FUNC(PyObject *) PyException_GetCause(PyObject *arg0);
  286. #define PyException_GetContext PyPyException_GetContext
  287. PyAPI_FUNC(PyObject *) PyException_GetContext(PyObject *arg0);
  288. #define PyException_GetTraceback PyPyException_GetTraceback
  289. PyAPI_FUNC(PyObject *) PyException_GetTraceback(PyObject *arg0);
  290. #define PyException_SetCause PyPyException_SetCause
  291. PyAPI_FUNC(void) PyException_SetCause(PyObject *arg0, PyObject *arg1);
  292. #define PyException_SetContext PyPyException_SetContext
  293. PyAPI_FUNC(void) PyException_SetContext(PyObject *arg0, PyObject *arg1);
  294. #define PyException_SetTraceback PyPyException_SetTraceback
  295. PyAPI_FUNC(int) PyException_SetTraceback(PyObject *arg0, PyObject *arg1);
  296. #define PyFile_FromFile PyPyFile_FromFile
  297. PyAPI_FUNC(PyObject *) PyFile_FromFile(FILE *arg0, const char *arg1, const char *arg2, void *arg3);
  298. #define PyFile_FromString PyPyFile_FromString
  299. PyAPI_FUNC(PyObject *) PyFile_FromString(const char *arg0, const char *arg1);
  300. #define PyFile_GetLine PyPyFile_GetLine
  301. PyAPI_FUNC(PyObject *) PyFile_GetLine(PyObject *arg0, int arg1);
  302. #define PyFile_Name PyPyFile_Name
  303. PyAPI_FUNC(PyObject *) PyFile_Name(PyObject *arg0);
  304. #define PyFile_SetBufSize PyPyFile_SetBufSize
  305. PyAPI_FUNC(void) PyFile_SetBufSize(PyObject *arg0, int arg1);
  306. #define PyFile_WriteObject PyPyFile_WriteObject
  307. PyAPI_FUNC(int) PyFile_WriteObject(PyObject *arg0, PyObject *arg1, int arg2);
  308. #define PyFile_WriteString PyPyFile_WriteString
  309. PyAPI_FUNC(int) PyFile_WriteString(const char *arg0, PyObject *arg1);
  310. #define PyFloat_AS_DOUBLE PyPyFloat_AS_DOUBLE
  311. PyAPI_FUNC(double) PyFloat_AS_DOUBLE(void *arg0);
  312. #define PyFloat_AsDouble PyPyFloat_AsDouble
  313. PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *arg0);
  314. #define PyFloat_Check PyPyFloat_Check
  315. PyAPI_FUNC(int) PyFloat_Check(void * arg0);
  316. #define PyFloat_CheckExact PyPyFloat_CheckExact
  317. PyAPI_FUNC(int) PyFloat_CheckExact(void * arg0);
  318. #define PyFloat_FromDouble PyPyFloat_FromDouble
  319. PyAPI_FUNC(PyObject *) PyFloat_FromDouble(double arg0);
  320. #define PyFloat_FromString PyPyFloat_FromString
  321. PyAPI_FUNC(PyObject *) PyFloat_FromString(PyObject *arg0);
  322. #define PyFrame_New PyPyFrame_New
  323. PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *arg0, PyCodeObject *arg1, PyObject *arg2, PyObject *arg3);
  324. #define PyFrozenSet_Check PyPyFrozenSet_Check
  325. PyAPI_FUNC(int) PyFrozenSet_Check(void * arg0);
  326. #define PyFrozenSet_CheckExact PyPyFrozenSet_CheckExact
  327. PyAPI_FUNC(int) PyFrozenSet_CheckExact(void * arg0);
  328. #define PyFrozenSet_New PyPyFrozenSet_New
  329. PyAPI_FUNC(PyObject *) PyFrozenSet_New(PyObject *arg0);
  330. #define PyFunction_Check PyPyFunction_Check
  331. PyAPI_FUNC(int) PyFunction_Check(void * arg0);
  332. #define PyFunction_CheckExact PyPyFunction_CheckExact
  333. PyAPI_FUNC(int) PyFunction_CheckExact(void * arg0);
  334. #define PyFunction_GetCode PyPyFunction_GetCode
  335. PyAPI_FUNC(PyObject *) PyFunction_GetCode(PyObject *arg0);
  336. #define PyGILState_Ensure PyPyGILState_Ensure
  337. PyAPI_FUNC(int) PyGILState_Ensure(void);
  338. #define PyGILState_Release PyPyGILState_Release
  339. PyAPI_FUNC(void) PyGILState_Release(int arg0);
  340. #define PyGen_Check PyPyGen_Check
  341. PyAPI_FUNC(int) PyGen_Check(void * arg0);
  342. #define PyGen_CheckExact PyPyGen_CheckExact
  343. PyAPI_FUNC(int) PyGen_CheckExact(void * arg0);
  344. #define PyImport_AddModule PyPyImport_AddModule
  345. PyAPI_FUNC(PyObject *) PyImport_AddModule(const char *arg0);
  346. #define PyImport_ExecCodeModule PyPyImport_ExecCodeModule
  347. PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule(char *arg0, PyObject *arg1);
  348. #define PyImport_ExecCodeModuleEx PyPyImport_ExecCodeModuleEx
  349. PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx(char *arg0, PyObject *arg1, char *arg2);
  350. #define PyImport_GetModuleDict PyPyImport_GetModuleDict
  351. PyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void);
  352. #define PyImport_Import PyPyImport_Import
  353. PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *arg0);
  354. #define PyImport_ImportModule PyPyImport_ImportModule
  355. PyAPI_FUNC(PyObject *) PyImport_ImportModule(const char *arg0);
  356. #define PyImport_ImportModuleLevelObject PyPyImport_ImportModuleLevelObject
  357. PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevelObject(PyObject * arg0, PyObject * arg1, PyObject * arg2, PyObject * arg3, int arg4);
  358. #define PyImport_ImportModuleNoBlock PyPyImport_ImportModuleNoBlock
  359. PyAPI_FUNC(PyObject *) PyImport_ImportModuleNoBlock(const char *arg0);
  360. #define PyImport_ReloadModule PyPyImport_ReloadModule
  361. PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *arg0);
  362. #define PyIndex_Check PyPyIndex_Check
  363. PyAPI_FUNC(int) PyIndex_Check(PyObject *arg0);
  364. #define PyInstanceMethod_Check PyPyInstanceMethod_Check
  365. PyAPI_FUNC(int) PyInstanceMethod_Check(PyObject *arg0);
  366. #define PyInstanceMethod_Function PyPyInstanceMethod_Function
  367. PyAPI_FUNC(PyObject *) PyInstanceMethod_Function(PyObject *arg0);
  368. #define PyInstanceMethod_GET_FUNCTION PyPyInstanceMethod_GET_FUNCTION
  369. PyAPI_FUNC(PyObject *) PyInstanceMethod_GET_FUNCTION(PyObject *arg0);
  370. #define PyInstanceMethod_New PyPyInstanceMethod_New
  371. PyAPI_FUNC(PyObject *) PyInstanceMethod_New(PyObject *arg0);
  372. #define PyInterpreterState_Head PyPyInterpreterState_Head
  373. PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(void);
  374. #define PyInterpreterState_Next PyPyInterpreterState_Next
  375. PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *arg0);
  376. #define PyIter_Check PyPyIter_Check
  377. PyAPI_FUNC(int) PyIter_Check(PyObject *arg0);
  378. #define PyIter_Next PyPyIter_Next
  379. PyAPI_FUNC(PyObject *) PyIter_Next(PyObject *arg0);
  380. #define PyList_Append PyPyList_Append
  381. PyAPI_FUNC(int) PyList_Append(PyObject *arg0, PyObject *arg1);
  382. #define PyList_AsTuple PyPyList_AsTuple
  383. PyAPI_FUNC(PyObject *) PyList_AsTuple(PyObject *arg0);
  384. #define PyList_GET_ITEM PyPyList_GET_ITEM
  385. PyAPI_FUNC(PyObject *) PyList_GET_ITEM(void *arg0, Signed arg1);
  386. #define PyList_GET_SIZE PyPyList_GET_SIZE
  387. PyAPI_FUNC(Signed) PyList_GET_SIZE(void *arg0);
  388. #define PyList_GetItem PyPyList_GetItem
  389. PyAPI_FUNC(PyObject *) PyList_GetItem(PyObject *arg0, Signed arg1);
  390. #define PyList_GetSlice PyPyList_GetSlice
  391. PyAPI_FUNC(PyObject *) PyList_GetSlice(PyObject *arg0, Signed arg1, Signed arg2);
  392. #define PyList_Insert PyPyList_Insert
  393. PyAPI_FUNC(int) PyList_Insert(PyObject *arg0, Signed arg1, PyObject *arg2);
  394. #define PyList_New PyPyList_New
  395. PyAPI_FUNC(PyObject *) PyList_New(Signed arg0);
  396. #define PyList_Reverse PyPyList_Reverse
  397. PyAPI_FUNC(int) PyList_Reverse(PyObject *arg0);
  398. #define PyList_SET_ITEM PyPyList_SET_ITEM
  399. PyAPI_FUNC(void) PyList_SET_ITEM(void *arg0, Signed arg1, PyObject *arg2);
  400. #define PyList_SetItem PyPyList_SetItem
  401. PyAPI_FUNC(int) PyList_SetItem(PyObject *arg0, Signed arg1, PyObject *arg2);
  402. #define PyList_SetSlice PyPyList_SetSlice
  403. PyAPI_FUNC(int) PyList_SetSlice(PyObject *arg0, Signed arg1, Signed arg2, PyObject *arg3);
  404. #define PyList_Size PyPyList_Size
  405. PyAPI_FUNC(Signed) PyList_Size(PyObject *arg0);
  406. #define PyList_Sort PyPyList_Sort
  407. PyAPI_FUNC(int) PyList_Sort(PyObject *arg0);
  408. #define PyLong_AsDouble PyPyLong_AsDouble
  409. PyAPI_FUNC(double) PyLong_AsDouble(PyObject *arg0);
  410. #define PyLong_AsLong PyPyLong_AsLong
  411. PyAPI_FUNC(Signed) PyLong_AsLong(PyObject *arg0);
  412. #define PyLong_AsLongAndOverflow PyPyLong_AsLongAndOverflow
  413. PyAPI_FUNC(Signed) PyLong_AsLongAndOverflow(PyObject *arg0, int *arg1);
  414. #define PyLong_AsLongLong PyPyLong_AsLongLong
  415. PyAPI_FUNC(Signed) PyLong_AsLongLong(PyObject *arg0);
  416. #define PyLong_AsLongLongAndOverflow PyPyLong_AsLongLongAndOverflow
  417. PyAPI_FUNC(Signed) PyLong_AsLongLongAndOverflow(PyObject *arg0, int *arg1);
  418. #define PyLong_AsSize_t PyPyLong_AsSize_t
  419. PyAPI_FUNC(Unsigned) PyLong_AsSize_t(PyObject *arg0);
  420. #define PyLong_AsSsize_t PyPyLong_AsSsize_t
  421. PyAPI_FUNC(Signed) PyLong_AsSsize_t(PyObject *arg0);
  422. #define PyLong_AsUnsignedLong PyPyLong_AsUnsignedLong
  423. PyAPI_FUNC(Unsigned) PyLong_AsUnsignedLong(PyObject *arg0);
  424. #define PyLong_AsUnsignedLongLong PyPyLong_AsUnsignedLongLong
  425. PyAPI_FUNC(Unsigned) PyLong_AsUnsignedLongLong(PyObject *arg0);
  426. #define PyLong_AsUnsignedLongLongMask PyPyLong_AsUnsignedLongLongMask
  427. PyAPI_FUNC(Unsigned) PyLong_AsUnsignedLongLongMask(PyObject *arg0);
  428. #define PyLong_AsUnsignedLongMask PyPyLong_AsUnsignedLongMask
  429. PyAPI_FUNC(Unsigned) PyLong_AsUnsignedLongMask(PyObject *arg0);
  430. #define PyLong_AsVoidPtr PyPyLong_AsVoidPtr
  431. PyAPI_FUNC(void *) PyLong_AsVoidPtr(PyObject *arg0);
  432. #define PyLong_FromDouble PyPyLong_FromDouble
  433. PyAPI_FUNC(PyObject *) PyLong_FromDouble(double arg0);
  434. #define PyLong_FromLong PyPyLong_FromLong
  435. PyAPI_FUNC(PyObject *) PyLong_FromLong(Signed arg0);
  436. #define PyLong_FromLongLong PyPyLong_FromLongLong
  437. PyAPI_FUNC(PyObject *) PyLong_FromLongLong(Signed arg0);
  438. #define PyLong_FromSize_t PyPyLong_FromSize_t
  439. PyAPI_FUNC(PyObject *) PyLong_FromSize_t(Unsigned arg0);
  440. #define PyLong_FromSsize_t PyPyLong_FromSsize_t
  441. PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Signed arg0);
  442. #define PyLong_FromString PyPyLong_FromString
  443. PyAPI_FUNC(PyObject *) PyLong_FromString(const char *arg0, char **arg1, int arg2);
  444. #define PyLong_FromUnicode PyPyLong_FromUnicode
  445. PyAPI_FUNC(PyObject *) PyLong_FromUnicode(wchar_t *arg0, Signed arg1, int arg2);
  446. #define PyLong_FromUnicodeObject PyPyLong_FromUnicodeObject
  447. PyAPI_FUNC(PyObject *) PyLong_FromUnicodeObject(PyObject *arg0, int arg1);
  448. #define PyLong_FromUnsignedLong PyPyLong_FromUnsignedLong
  449. PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(Unsigned arg0);
  450. #define PyLong_FromUnsignedLongLong PyPyLong_FromUnsignedLongLong
  451. PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLongLong(Unsigned arg0);
  452. #define PyLong_FromVoidPtr PyPyLong_FromVoidPtr
  453. PyAPI_FUNC(PyObject *) PyLong_FromVoidPtr(void *arg0);
  454. #define PyMapping_Check PyPyMapping_Check
  455. PyAPI_FUNC(int) PyMapping_Check(PyObject *arg0);
  456. #define PyMapping_GetItemString PyPyMapping_GetItemString
  457. PyAPI_FUNC(PyObject *) PyMapping_GetItemString(PyObject *arg0, const char *arg1);
  458. #define PyMapping_HasKey PyPyMapping_HasKey
  459. PyAPI_FUNC(int) PyMapping_HasKey(PyObject *arg0, PyObject *arg1);
  460. #define PyMapping_HasKeyString PyPyMapping_HasKeyString
  461. PyAPI_FUNC(int) PyMapping_HasKeyString(PyObject *arg0, const char *arg1);
  462. #define PyMapping_Items PyPyMapping_Items
  463. PyAPI_FUNC(PyObject *) PyMapping_Items(PyObject *arg0);
  464. #define PyMapping_Keys PyPyMapping_Keys
  465. PyAPI_FUNC(PyObject *) PyMapping_Keys(PyObject *arg0);
  466. #define PyMapping_Length PyPyMapping_Length
  467. PyAPI_FUNC(Signed) PyMapping_Length(PyObject *arg0);
  468. #define PyMapping_SetItemString PyPyMapping_SetItemString
  469. PyAPI_FUNC(int) PyMapping_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
  470. #define PyMapping_Size PyPyMapping_Size
  471. PyAPI_FUNC(Signed) PyMapping_Size(PyObject *arg0);
  472. #define PyMapping_Values PyPyMapping_Values
  473. PyAPI_FUNC(PyObject *) PyMapping_Values(PyObject *arg0);
  474. #define PyMemoryView_Check PyPyMemoryView_Check
  475. PyAPI_FUNC(int) PyMemoryView_Check(void * arg0);
  476. #define PyMemoryView_CheckExact PyPyMemoryView_CheckExact
  477. PyAPI_FUNC(int) PyMemoryView_CheckExact(void * arg0);
  478. #define PyMemoryView_FromBuffer PyPyMemoryView_FromBuffer
  479. PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *arg0);
  480. #define PyMemoryView_FromMemory PyPyMemoryView_FromMemory
  481. PyAPI_FUNC(PyObject *) PyMemoryView_FromMemory(char * arg0, Py_ssize_t arg1, int arg2);
  482. #define PyMemoryView_FromObject PyPyMemoryView_FromObject
  483. PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *arg0);
  484. #define PyMethodDescr_Check PyPyMethodDescr_Check
  485. PyAPI_FUNC(int) PyMethodDescr_Check(void * arg0);
  486. #define PyMethodDescr_CheckExact PyPyMethodDescr_CheckExact
  487. PyAPI_FUNC(int) PyMethodDescr_CheckExact(void * arg0);
  488. #define PyMethod_Check PyPyMethod_Check
  489. PyAPI_FUNC(int) PyMethod_Check(void * arg0);
  490. #define PyMethod_CheckExact PyPyMethod_CheckExact
  491. PyAPI_FUNC(int) PyMethod_CheckExact(void * arg0);
  492. #define PyMethod_Function PyPyMethod_Function
  493. PyAPI_FUNC(PyObject *) PyMethod_Function(PyObject *arg0);
  494. #define PyMethod_New PyPyMethod_New
  495. PyAPI_FUNC(PyObject *) PyMethod_New(PyObject *arg0, PyObject *arg1);
  496. #define PyMethod_Self PyPyMethod_Self
  497. PyAPI_FUNC(PyObject *) PyMethod_Self(PyObject *arg0);
  498. #define PyModule_Check PyPyModule_Check
  499. PyAPI_FUNC(int) PyModule_Check(PyObject *arg0);
  500. #define PyModule_Create2 PyPyModule_Create2
  501. PyAPI_FUNC(PyObject *) PyModule_Create2(PyModuleDef *arg0, int arg1);
  502. #define PyModule_GetDict PyPyModule_GetDict
  503. PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *arg0);
  504. #define PyModule_GetName PyPyModule_GetName
  505. PyAPI_FUNC(char *) PyModule_GetName(PyObject *arg0);
  506. #define PyModule_New PyPyModule_New
  507. PyAPI_FUNC(PyObject *) PyModule_New(char *arg0);
  508. #define PyNumber_Absolute PyPyNumber_Absolute
  509. PyAPI_FUNC(PyObject *) PyNumber_Absolute(PyObject *arg0);
  510. #define PyNumber_Add PyPyNumber_Add
  511. PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *arg0, PyObject *arg1);
  512. #define PyNumber_And PyPyNumber_And
  513. PyAPI_FUNC(PyObject *) PyNumber_And(PyObject *arg0, PyObject *arg1);
  514. #define PyNumber_AsSsize_t PyPyNumber_AsSsize_t
  515. PyAPI_FUNC(Signed) PyNumber_AsSsize_t(PyObject *arg0, PyObject *arg1);
  516. #define PyNumber_Check PyPyNumber_Check
  517. PyAPI_FUNC(int) PyNumber_Check(PyObject *arg0);
  518. #define PyNumber_Divide PyPyNumber_Divide
  519. PyAPI_FUNC(PyObject *) PyNumber_Divide(PyObject *arg0, PyObject *arg1);
  520. #define PyNumber_Divmod PyPyNumber_Divmod
  521. PyAPI_FUNC(PyObject *) PyNumber_Divmod(PyObject *arg0, PyObject *arg1);
  522. #define PyNumber_Float PyPyNumber_Float
  523. PyAPI_FUNC(PyObject *) PyNumber_Float(PyObject *arg0);
  524. #define PyNumber_FloorDivide PyPyNumber_FloorDivide
  525. PyAPI_FUNC(PyObject *) PyNumber_FloorDivide(PyObject *arg0, PyObject *arg1);
  526. #define PyNumber_InPlaceAdd PyPyNumber_InPlaceAdd
  527. PyAPI_FUNC(PyObject *) PyNumber_InPlaceAdd(PyObject *arg0, PyObject *arg1);
  528. #define PyNumber_InPlaceAnd PyPyNumber_InPlaceAnd
  529. PyAPI_FUNC(PyObject *) PyNumber_InPlaceAnd(PyObject *arg0, PyObject *arg1);
  530. #define PyNumber_InPlaceDivide PyPyNumber_InPlaceDivide
  531. PyAPI_FUNC(PyObject *) PyNumber_InPlaceDivide(PyObject *arg0, PyObject *arg1);
  532. #define PyNumber_InPlaceFloorDivide PyPyNumber_InPlaceFloorDivide
  533. PyAPI_FUNC(PyObject *) PyNumber_InPlaceFloorDivide(PyObject *arg0, PyObject *arg1);
  534. #define PyNumber_InPlaceLshift PyPyNumber_InPlaceLshift
  535. PyAPI_FUNC(PyObject *) PyNumber_InPlaceLshift(PyObject *arg0, PyObject *arg1);
  536. #define PyNumber_InPlaceMatrixMultiply PyPyNumber_InPlaceMatrixMultiply
  537. PyAPI_FUNC(PyObject *) PyNumber_InPlaceMatrixMultiply(PyObject *arg0, PyObject *arg1);
  538. #define PyNumber_InPlaceMultiply PyPyNumber_InPlaceMultiply
  539. PyAPI_FUNC(PyObject *) PyNumber_InPlaceMultiply(PyObject *arg0, PyObject *arg1);
  540. #define PyNumber_InPlaceOr PyPyNumber_InPlaceOr
  541. PyAPI_FUNC(PyObject *) PyNumber_InPlaceOr(PyObject *arg0, PyObject *arg1);
  542. #define PyNumber_InPlacePower PyPyNumber_InPlacePower
  543. PyAPI_FUNC(PyObject *) PyNumber_InPlacePower(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  544. #define PyNumber_InPlaceRemainder PyPyNumber_InPlaceRemainder
  545. PyAPI_FUNC(PyObject *) PyNumber_InPlaceRemainder(PyObject *arg0, PyObject *arg1);
  546. #define PyNumber_InPlaceRshift PyPyNumber_InPlaceRshift
  547. PyAPI_FUNC(PyObject *) PyNumber_InPlaceRshift(PyObject *arg0, PyObject *arg1);
  548. #define PyNumber_InPlaceSubtract PyPyNumber_InPlaceSubtract
  549. PyAPI_FUNC(PyObject *) PyNumber_InPlaceSubtract(PyObject *arg0, PyObject *arg1);
  550. #define PyNumber_InPlaceTrueDivide PyPyNumber_InPlaceTrueDivide
  551. PyAPI_FUNC(PyObject *) PyNumber_InPlaceTrueDivide(PyObject *arg0, PyObject *arg1);
  552. #define PyNumber_InPlaceXor PyPyNumber_InPlaceXor
  553. PyAPI_FUNC(PyObject *) PyNumber_InPlaceXor(PyObject *arg0, PyObject *arg1);
  554. #define PyNumber_Index PyPyNumber_Index
  555. PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *arg0);
  556. #define PyNumber_Invert PyPyNumber_Invert
  557. PyAPI_FUNC(PyObject *) PyNumber_Invert(PyObject *arg0);
  558. #define PyNumber_Long PyPyNumber_Long
  559. PyAPI_FUNC(PyObject *) PyNumber_Long(PyObject *arg0);
  560. #define PyNumber_Lshift PyPyNumber_Lshift
  561. PyAPI_FUNC(PyObject *) PyNumber_Lshift(PyObject *arg0, PyObject *arg1);
  562. #define PyNumber_MatrixMultiply PyPyNumber_MatrixMultiply
  563. PyAPI_FUNC(PyObject *) PyNumber_MatrixMultiply(PyObject *arg0, PyObject *arg1);
  564. #define PyNumber_Multiply PyPyNumber_Multiply
  565. PyAPI_FUNC(PyObject *) PyNumber_Multiply(PyObject *arg0, PyObject *arg1);
  566. #define PyNumber_Negative PyPyNumber_Negative
  567. PyAPI_FUNC(PyObject *) PyNumber_Negative(PyObject *arg0);
  568. #define PyNumber_Or PyPyNumber_Or
  569. PyAPI_FUNC(PyObject *) PyNumber_Or(PyObject *arg0, PyObject *arg1);
  570. #define PyNumber_Positive PyPyNumber_Positive
  571. PyAPI_FUNC(PyObject *) PyNumber_Positive(PyObject *arg0);
  572. #define PyNumber_Power PyPyNumber_Power
  573. PyAPI_FUNC(PyObject *) PyNumber_Power(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  574. #define PyNumber_Remainder PyPyNumber_Remainder
  575. PyAPI_FUNC(PyObject *) PyNumber_Remainder(PyObject *arg0, PyObject *arg1);
  576. #define PyNumber_Rshift PyPyNumber_Rshift
  577. PyAPI_FUNC(PyObject *) PyNumber_Rshift(PyObject *arg0, PyObject *arg1);
  578. #define PyNumber_Subtract PyPyNumber_Subtract
  579. PyAPI_FUNC(PyObject *) PyNumber_Subtract(PyObject *arg0, PyObject *arg1);
  580. #define PyNumber_TrueDivide PyPyNumber_TrueDivide
  581. PyAPI_FUNC(PyObject *) PyNumber_TrueDivide(PyObject *arg0, PyObject *arg1);
  582. #define PyNumber_Xor PyPyNumber_Xor
  583. PyAPI_FUNC(PyObject *) PyNumber_Xor(PyObject *arg0, PyObject *arg1);
  584. #define PyOS_AfterFork PyPyOS_AfterFork
  585. PyAPI_FUNC(void) PyOS_AfterFork(void);
  586. #define PyOS_InterruptOccurred PyPyOS_InterruptOccurred
  587. PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
  588. #define PyOS_double_to_string PyPyOS_double_to_string
  589. PyAPI_FUNC(char *) PyOS_double_to_string(double arg0, char arg1, int arg2, int arg3, int *arg4);
  590. #define PyOS_string_to_double PyPyOS_string_to_double
  591. PyAPI_FUNC(double) PyOS_string_to_double(const char *arg0, char **arg1, PyObject *arg2);
  592. #define PyObject_ASCII PyPyObject_ASCII
  593. PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *arg0);
  594. #define PyObject_AsCharBuffer PyPyObject_AsCharBuffer
  595. PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *arg0, const char **arg1, Signed *arg2);
  596. #define PyObject_AsFileDescriptor PyPyObject_AsFileDescriptor
  597. PyAPI_FUNC(int) PyObject_AsFileDescriptor(PyObject *arg0);
  598. #define PyObject_Bytes PyPyObject_Bytes
  599. PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject * arg0);
  600. #define PyObject_Call PyPyObject_Call
  601. PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  602. #define PyObject_CallObject PyPyObject_CallObject
  603. PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *arg0, PyObject *arg1);
  604. #define PyObject_ClearWeakRefs PyPyObject_ClearWeakRefs
  605. PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *arg0);
  606. #define PyObject_DelAttr PyPyObject_DelAttr
  607. PyAPI_FUNC(int) PyObject_DelAttr(PyObject *arg0, PyObject *arg1);
  608. #define PyObject_DelAttrString PyPyObject_DelAttrString
  609. PyAPI_FUNC(int) PyObject_DelAttrString(PyObject *arg0, const char *arg1);
  610. #define PyObject_DelItem PyPyObject_DelItem
  611. PyAPI_FUNC(int) PyObject_DelItem(PyObject *arg0, PyObject *arg1);
  612. #define PyObject_Dir PyPyObject_Dir
  613. PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *arg0);
  614. #define PyObject_Format PyPyObject_Format
  615. PyAPI_FUNC(PyObject *) PyObject_Format(PyObject *arg0, PyObject *arg1);
  616. #define PyObject_Free PyPyObject_Free
  617. PyAPI_FUNC(void) PyObject_Free(void *arg0);
  618. #define PyObject_GC_Del PyPyObject_GC_Del
  619. PyAPI_FUNC(void) PyObject_GC_Del(void *arg0);
  620. #define PyObject_GenericGetAttr PyPyObject_GenericGetAttr
  621. PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *arg0, PyObject *arg1);
  622. #define PyObject_GenericSetAttr PyPyObject_GenericSetAttr
  623. PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  624. #define PyObject_GetAttr PyPyObject_GetAttr
  625. PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *arg0, PyObject *arg1);
  626. #define PyObject_GetAttrString PyPyObject_GetAttrString
  627. PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *arg0, const char *arg1);
  628. #define PyObject_GetItem PyPyObject_GetItem
  629. PyAPI_FUNC(PyObject *) PyObject_GetItem(PyObject *arg0, PyObject *arg1);
  630. #define PyObject_GetIter PyPyObject_GetIter
  631. PyAPI_FUNC(PyObject *) PyObject_GetIter(PyObject *arg0);
  632. #define PyObject_HasAttr PyPyObject_HasAttr
  633. PyAPI_FUNC(int) PyObject_HasAttr(PyObject *arg0, PyObject *arg1);
  634. #define PyObject_HasAttrString PyPyObject_HasAttrString
  635. PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *arg0, const char *arg1);
  636. #define PyObject_Hash PyPyObject_Hash
  637. PyAPI_FUNC(Signed) PyObject_Hash(PyObject *arg0);
  638. #define PyObject_HashNotImplemented PyPyObject_HashNotImplemented
  639. PyAPI_FUNC(Signed) PyObject_HashNotImplemented(PyObject *arg0);
  640. #define PyObject_Init PyPyObject_Init
  641. PyAPI_FUNC(PyObject *) PyObject_Init(PyObject *arg0, PyTypeObject *arg1);
  642. #define PyObject_InitVar PyPyObject_InitVar
  643. PyAPI_FUNC(PyObject *) PyObject_InitVar(PyVarObject *arg0, PyTypeObject *arg1, Signed arg2);
  644. #define PyObject_IsInstance PyPyObject_IsInstance
  645. PyAPI_FUNC(int) PyObject_IsInstance(PyObject *arg0, PyObject *arg1);
  646. #define PyObject_IsSubclass PyPyObject_IsSubclass
  647. PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *arg0, PyObject *arg1);
  648. #define PyObject_IsTrue PyPyObject_IsTrue
  649. PyAPI_FUNC(int) PyObject_IsTrue(PyObject *arg0);
  650. #define PyObject_LengthHint PyPyObject_LengthHint
  651. PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject * arg0, Py_ssize_t arg1);
  652. #define PyObject_Malloc PyPyObject_Malloc
  653. PyAPI_FUNC(void *) PyObject_Malloc(Unsigned arg0);
  654. #define PyObject_Not PyPyObject_Not
  655. PyAPI_FUNC(int) PyObject_Not(PyObject *arg0);
  656. #define PyObject_Print PyPyObject_Print
  657. PyAPI_FUNC(int) PyObject_Print(PyObject *arg0, FILE *arg1, int arg2);
  658. #define PyObject_Realloc PyPyObject_Realloc
  659. PyAPI_FUNC(void *) PyObject_Realloc(void *arg0, Unsigned arg1);
  660. #define PyObject_Repr PyPyObject_Repr
  661. PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *arg0);
  662. #define PyObject_RichCompare PyPyObject_RichCompare
  663. PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *arg0, PyObject *arg1, int arg2);
  664. #define PyObject_RichCompareBool PyPyObject_RichCompareBool
  665. PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *arg0, PyObject *arg1, int arg2);
  666. #define PyObject_SelfIter PyPyObject_SelfIter
  667. PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *arg0);
  668. #define PyObject_SetAttr PyPyObject_SetAttr
  669. PyAPI_FUNC(int) PyObject_SetAttr(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  670. #define PyObject_SetAttrString PyPyObject_SetAttrString
  671. PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *arg0, const char *arg1, PyObject *arg2);
  672. #define PyObject_SetItem PyPyObject_SetItem
  673. PyAPI_FUNC(int) PyObject_SetItem(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  674. #define PyObject_Size PyPyObject_Size
  675. PyAPI_FUNC(Signed) PyObject_Size(PyObject *arg0);
  676. #define PyObject_Str PyPyObject_Str
  677. PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *arg0);
  678. #define PyObject_Type PyPyObject_Type
  679. PyAPI_FUNC(PyObject *) PyObject_Type(PyObject *arg0);
  680. #define PyObject_Unicode PyPyObject_Unicode
  681. PyAPI_FUNC(PyObject *) PyObject_Unicode(PyObject *arg0);
  682. #define PyRun_File PyPyRun_File
  683. PyAPI_FUNC(PyObject *) PyRun_File(FILE *arg0, const char *arg1, int arg2, PyObject *arg3, PyObject *arg4);
  684. #define PyRun_SimpleString PyPyRun_SimpleString
  685. PyAPI_FUNC(int) PyRun_SimpleString(const char *arg0);
  686. #define PyRun_String PyPyRun_String
  687. PyAPI_FUNC(PyObject *) PyRun_String(const char *arg0, int arg1, PyObject *arg2, PyObject *arg3);
  688. #define PyRun_StringFlags PyPyRun_StringFlags
  689. PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *arg0, int arg1, PyObject *arg2, PyObject *arg3, PyCompilerFlags *arg4);
  690. #define PySeqIter_New PyPySeqIter_New
  691. PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *arg0);
  692. #define PySequence_Check PyPySequence_Check
  693. PyAPI_FUNC(int) PySequence_Check(PyObject *arg0);
  694. #define PySequence_Concat PyPySequence_Concat
  695. PyAPI_FUNC(PyObject *) PySequence_Concat(PyObject *arg0, PyObject *arg1);
  696. #define PySequence_Contains PyPySequence_Contains
  697. PyAPI_FUNC(int) PySequence_Contains(PyObject *arg0, PyObject *arg1);
  698. #define PySequence_DelItem PyPySequence_DelItem
  699. PyAPI_FUNC(int) PySequence_DelItem(PyObject *arg0, Signed arg1);
  700. #define PySequence_DelSlice PyPySequence_DelSlice
  701. PyAPI_FUNC(int) PySequence_DelSlice(PyObject *arg0, Signed arg1, Signed arg2);
  702. #define PySequence_Fast PyPySequence_Fast
  703. PyAPI_FUNC(PyObject *) PySequence_Fast(PyObject *arg0, const char *arg1);
  704. #define PySequence_Fast_GET_ITEM PyPySequence_Fast_GET_ITEM
  705. PyAPI_FUNC(PyObject *) PySequence_Fast_GET_ITEM(void *arg0, Signed arg1);
  706. #define PySequence_Fast_GET_SIZE PyPySequence_Fast_GET_SIZE
  707. PyAPI_FUNC(Signed) PySequence_Fast_GET_SIZE(void *arg0);
  708. #define PySequence_Fast_ITEMS PyPySequence_Fast_ITEMS
  709. PyAPI_FUNC(PyObject **) PySequence_Fast_ITEMS(void *arg0);
  710. #define PySequence_GetItem PyPySequence_GetItem
  711. PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *arg0, Signed arg1);
  712. #define PySequence_GetSlice PyPySequence_GetSlice
  713. PyAPI_FUNC(PyObject *) PySequence_GetSlice(PyObject *arg0, Signed arg1, Signed arg2);
  714. #define PySequence_ITEM PyPySequence_ITEM
  715. PyAPI_FUNC(PyObject *) PySequence_ITEM(void *arg0, Signed arg1);
  716. #define PySequence_InPlaceConcat PyPySequence_InPlaceConcat
  717. PyAPI_FUNC(PyObject *) PySequence_InPlaceConcat(PyObject *arg0, PyObject *arg1);
  718. #define PySequence_InPlaceRepeat PyPySequence_InPlaceRepeat
  719. PyAPI_FUNC(PyObject *) PySequence_InPlaceRepeat(PyObject *arg0, Signed arg1);
  720. #define PySequence_Index PyPySequence_Index
  721. PyAPI_FUNC(Signed) PySequence_Index(PyObject *arg0, PyObject *arg1);
  722. #define PySequence_Length PyPySequence_Length
  723. PyAPI_FUNC(Signed) PySequence_Length(PyObject *arg0);
  724. #define PySequence_List PyPySequence_List
  725. PyAPI_FUNC(PyObject *) PySequence_List(PyObject *arg0);
  726. #define PySequence_Repeat PyPySequence_Repeat
  727. PyAPI_FUNC(PyObject *) PySequence_Repeat(PyObject *arg0, Signed arg1);
  728. #define PySequence_SetItem PyPySequence_SetItem
  729. PyAPI_FUNC(int) PySequence_SetItem(PyObject *arg0, Signed arg1, PyObject *arg2);
  730. #define PySequence_SetSlice PyPySequence_SetSlice
  731. PyAPI_FUNC(int) PySequence_SetSlice(PyObject *arg0, Signed arg1, Signed arg2, PyObject *arg3);
  732. #define PySequence_Size PyPySequence_Size
  733. PyAPI_FUNC(Signed) PySequence_Size(PyObject *arg0);
  734. #define PySequence_Tuple PyPySequence_Tuple
  735. PyAPI_FUNC(PyObject *) PySequence_Tuple(PyObject *arg0);
  736. #define PySet_Add PyPySet_Add
  737. PyAPI_FUNC(int) PySet_Add(PyObject *arg0, PyObject *arg1);
  738. #define PySet_Check PyPySet_Check
  739. PyAPI_FUNC(int) PySet_Check(void * arg0);
  740. #define PySet_CheckExact PyPySet_CheckExact
  741. PyAPI_FUNC(int) PySet_CheckExact(void * arg0);
  742. #define PySet_Clear PyPySet_Clear
  743. PyAPI_FUNC(int) PySet_Clear(PyObject *arg0);
  744. #define PySet_Contains PyPySet_Contains
  745. PyAPI_FUNC(int) PySet_Contains(PyObject *arg0, PyObject *arg1);
  746. #define PySet_Discard PyPySet_Discard
  747. PyAPI_FUNC(int) PySet_Discard(PyObject *arg0, PyObject *arg1);
  748. #define PySet_GET_SIZE PyPySet_GET_SIZE
  749. PyAPI_FUNC(Signed) PySet_GET_SIZE(void *arg0);
  750. #define PySet_New PyPySet_New
  751. PyAPI_FUNC(PyObject *) PySet_New(PyObject *arg0);
  752. #define PySet_Pop PyPySet_Pop
  753. PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *arg0);
  754. #define PySet_Size PyPySet_Size
  755. PyAPI_FUNC(Signed) PySet_Size(PyObject *arg0);
  756. #define PySlice_Check PyPySlice_Check
  757. PyAPI_FUNC(int) PySlice_Check(void * arg0);
  758. #define PySlice_CheckExact PyPySlice_CheckExact
  759. PyAPI_FUNC(int) PySlice_CheckExact(void * arg0);
  760. #define PySlice_GetIndices PyPySlice_GetIndices
  761. PyAPI_FUNC(int) PySlice_GetIndices(PyObject *arg0, Signed arg1, Signed *arg2, Signed *arg3, Signed *arg4);
  762. #define PySlice_GetIndicesEx PyPySlice_GetIndicesEx
  763. PyAPI_FUNC(int) PySlice_GetIndicesEx(PyObject *arg0, Signed arg1, Signed *arg2, Signed *arg3, Signed *arg4, Signed *arg5);
  764. #define PySlice_New PyPySlice_New
  765. PyAPI_FUNC(PyObject *) PySlice_New(PyObject *arg0, PyObject *arg1, PyObject *arg2);
  766. #define PyStaticMethod_New PyPyStaticMethod_New
  767. PyAPI_FUNC(PyObject *) PyStaticMethod_New(PyObject *arg0);
  768. #define PySys_GetObject PyPySys_GetObject
  769. PyAPI_FUNC(PyObject *) PySys_GetObject(const char *arg0);
  770. #define PySys_SetObject PyPySys_SetObject
  771. PyAPI_FUNC(int) PySys_SetObject(const char *arg0, PyObject *arg1);
  772. #define PyTZInfo_Check PyPyTZInfo_Check
  773. PyAPI_FUNC(int) PyTZInfo_Check(PyObject *arg0);
  774. #define PyTZInfo_CheckExact PyPyTZInfo_CheckExact
  775. PyAPI_FUNC(int) PyTZInfo_CheckExact(PyObject *arg0);
  776. #define PyThreadState_Clear PyPyThreadState_Clear
  777. PyAPI_FUNC(void) PyThreadState_Clear(PyThreadState *arg0);
  778. #define PyThreadState_Delete PyPyThreadState_Delete
  779. PyAPI_FUNC(void) PyThreadState_Delete(PyThreadState *arg0);
  780. #define PyThreadState_DeleteCurrent PyPyThreadState_DeleteCurrent
  781. PyAPI_FUNC(void) PyThreadState_DeleteCurrent(void);
  782. #define PyThreadState_Get PyPyThreadState_Get
  783. PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
  784. #define PyThreadState_GetDict PyPyThreadState_GetDict
  785. PyAPI_FUNC(PyObject *) PyThreadState_GetDict(void);
  786. #define PyThreadState_New PyPyThreadState_New
  787. PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *arg0);
  788. #define PyThreadState_Swap PyPyThreadState_Swap
  789. PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *arg0);
  790. #define PyThread_exit_thread PyPyThread_exit_thread
  791. PyAPI_FUNC(PyObject *) PyThread_exit_thread(void);
  792. #define PyTime_Check PyPyTime_Check
  793. PyAPI_FUNC(int) PyTime_Check(PyObject *arg0);
  794. #define PyTime_CheckExact PyPyTime_CheckExact
  795. PyAPI_FUNC(int) PyTime_CheckExact(PyObject *arg0);
  796. #define PyTraceBack_Check PyPyTraceBack_Check
  797. PyAPI_FUNC(int) PyTraceBack_Check(PyObject *arg0);
  798. #define PyTraceBack_Here PyPyTraceBack_Here
  799. PyAPI_FUNC(int) PyTraceBack_Here(PyFrameObject *arg0);
  800. #define PyTraceBack_Print PyPyTraceBack_Print
  801. PyAPI_FUNC(int) PyTraceBack_Print(PyObject *arg0, PyObject *arg1);
  802. #define PyTuple_GetItem PyPyTuple_GetItem
  803. PyAPI_FUNC(PyObject *) PyTuple_GetItem(PyObject *arg0, Signed arg1);
  804. #define PyTuple_GetSlice PyPyTuple_GetSlice
  805. PyAPI_FUNC(PyObject *) PyTuple_GetSlice(PyObject *arg0, Signed arg1, Signed arg2);
  806. #define PyTuple_New PyPyTuple_New
  807. PyAPI_FUNC(PyObject *) PyTuple_New(Signed arg0);
  808. #define PyTuple_SetItem PyPyTuple_SetItem
  809. PyAPI_FUNC(int) PyTuple_SetItem(PyObject *arg0, Signed arg1, PyObject *arg2);
  810. #define PyTuple_Size PyPyTuple_Size
  811. PyAPI_FUNC(Signed) PyTuple_Size(PyObject *arg0);
  812. #define PyType_FromSpecWithBases PyPyType_FromSpecWithBases
  813. PyAPI_FUNC(PyObject *) PyType_FromSpecWithBases(PyType_Spec * arg0, PyObject * arg1);
  814. #define PyType_GenericAlloc PyPyType_GenericAlloc
  815. PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *arg0, Signed arg1);
  816. #define PyType_GenericNew PyPyType_GenericNew
  817. PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *arg0, PyObject *arg1, PyObject *arg2);
  818. #define PyType_IsSubtype PyPyType_IsSubtype
  819. PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *arg0, PyTypeObject *arg1);
  820. #define PyType_Modified PyPyType_Modified
  821. PyAPI_FUNC(void) PyType_Modified(PyTypeObject *arg0);
  822. #define PyType_Ready PyPyType_Ready
  823. PyAPI_FUNC(int) PyType_Ready(PyTypeObject *arg0);
  824. #define PyUnicode_AsASCIIString PyPyUnicode_AsASCIIString
  825. PyAPI_FUNC(PyObject *) PyUnicode_AsASCIIString(PyObject *arg0);
  826. #define PyUnicode_AsEncodedObject PyPyUnicode_AsEncodedObject
  827. PyAPI_FUNC(PyObject *) PyUnicode_AsEncodedObject(PyObject *arg0, const char *arg1, const char *arg2);
  828. #define PyUnicode_AsEncodedString PyPyUnicode_AsEncodedString
  829. PyAPI_FUNC(PyObject *) PyUnicode_AsEncodedString(PyObject *arg0, const char *arg1, const char *arg2);
  830. #define PyUnicode_AsLatin1String PyPyUnicode_AsLatin1String
  831. PyAPI_FUNC(PyObject *) PyUnicode_AsLatin1String(PyObject *arg0);
  832. #define PyUnicode_AsUTF8 PyPyUnicode_AsUTF8
  833. PyAPI_FUNC(char *) PyUnicode_AsUTF8(PyObject * arg0);
  834. #define PyUnicode_AsUTF8AndSize PyPyUnicode_AsUTF8AndSize
  835. PyAPI_FUNC(char *) PyUnicode_AsUTF8AndSize(PyObject * arg0, Py_ssize_t * arg1);
  836. #define PyUnicode_AsUTF8String PyPyUnicode_AsUTF8String
  837. PyAPI_FUNC(PyObject *) PyUnicode_AsUTF8String(PyObject *arg0);
  838. #define PyUnicode_AsUnicode PyPyUnicode_AsUnicode
  839. PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(PyObject * arg0);
  840. #define PyUnicode_AsUnicodeAndSize PyPyUnicode_AsUnicodeAndSize
  841. PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicodeAndSize(PyObject * arg0, Py_ssize_t * arg1);
  842. #define PyUnicode_AsUnicodeEscapeString PyPyUnicode_AsUnicodeEscapeString
  843. PyAPI_FUNC(PyObject *) PyUnicode_AsUnicodeEscapeString(PyObject *arg0);
  844. #define PyUnicode_AsWideChar PyPyUnicode_AsWideChar
  845. PyAPI_FUNC(Signed) PyUnicode_AsWideChar(PyObject *arg0, wchar_t *arg1, Signed arg2);
  846. #define PyUnicode_Check PyPyUnicode_Check
  847. PyAPI_FUNC(int) PyUnicode_Check(void * arg0);
  848. #define PyUnicode_CheckExact PyPyUnicode_CheckExact
  849. PyAPI_FUNC(int) PyUnicode_CheckExact(void * arg0);
  850. #define PyUnicode_Compare PyPyUnicode_Compare
  851. PyAPI_FUNC(int) PyUnicode_Compare(PyObject *arg0, PyObject *arg1);
  852. #define PyUnicode_CompareWithASCIIString PyPyUnicode_CompareWithASCIIString
  853. PyAPI_FUNC(int) PyUnicode_CompareWithASCIIString(PyObject *arg0, const char *arg1);
  854. #define PyUnicode_Concat PyPyUnicode_Concat
  855. PyAPI_FUNC(PyObject *) PyUnicode_Concat(PyObject *arg0, PyObject *arg1);
  856. #define PyUnicode_Count PyPyUnicode_Count
  857. PyAPI_FUNC(Signed) PyUnicode_Count(PyObject *arg0, PyObject *arg1, Signed arg2, Signed arg3);
  858. #define PyUnicode_Decode PyPyUnicode_Decode
  859. PyAPI_FUNC(PyObject *) PyUnicode_Decode(const char *arg0, Signed arg1, const char *arg2, const char *arg3);
  860. #define PyUnicode_DecodeASCII PyPyUnicode_DecodeASCII
  861. PyAPI_FUNC(PyObject *) PyUnicode_DecodeASCII(const char *arg0, Signed arg1, const char *arg2);
  862. #define PyUnicode_DecodeFSDefault PyPyUnicode_DecodeFSDefault
  863. PyAPI_FUNC(PyObject *) PyUnicode_DecodeFSDefault(char *arg0);
  864. #define PyUnicode_DecodeFSDefaultAndSize PyPyUnicode_DecodeFSDefaultAndSize
  865. PyAPI_FUNC(PyObject *) PyUnicode_DecodeFSDefaultAndSize(char *arg0, Signed arg1);
  866. #define PyUnicode_DecodeLatin1 PyPyUnicode_DecodeLatin1
  867. PyAPI_FUNC(PyObject *) PyUnicode_DecodeLatin1(const char *arg0, Signed arg1, const char *arg2);
  868. #define PyUnicode_DecodeUTF16 PyPyUnicode_DecodeUTF16
  869. PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF16(const char *arg0, Signed arg1, const char *arg2, int *arg3);
  870. #define PyUnicode_DecodeUTF32 PyPyUnicode_DecodeUTF32
  871. PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF32(const char *arg0, Signed arg1, const char *arg2, int *arg3);
  872. #define PyUnicode_DecodeUTF8 PyPyUnicode_DecodeUTF8
  873. PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF8(const char *arg0, Signed arg1, const char *arg2);
  874. #define PyUnicode_EncodeASCII PyPyUnicode_EncodeASCII
  875. PyAPI_FUNC(PyObject *) PyUnicode_EncodeASCII(const wchar_t *arg0, Signed arg1, const char *arg2);
  876. #define PyUnicode_EncodeDecimal PyPyUnicode_EncodeDecimal
  877. PyAPI_FUNC(int) PyUnicode_EncodeDecimal(wchar_t *arg0, Signed arg1, char *arg2, const char *arg3);
  878. #define PyUnicode_EncodeFSDefault PyPyUnicode_EncodeFSDefault
  879. PyAPI_FUNC(PyObject *) PyUnicode_EncodeFSDefault(PyObject *arg0);
  880. #define PyUnicode_EncodeLatin1 PyPyUnicode_EncodeLatin1
  881. PyAPI_FUNC(PyObject *) PyUnicode_EncodeLatin1(const wchar_t *arg0, Signed arg1, const char *arg2);
  882. #define PyUnicode_EncodeUTF8 PyPyUnicode_EncodeUTF8
  883. PyAPI_FUNC(PyObject *) PyUnicode_EncodeUTF8(const wchar_t *arg0, Signed arg1, const char *arg2);
  884. #define PyUnicode_FSConverter PyPyUnicode_FSConverter
  885. PyAPI_FUNC(int) PyUnicode_FSConverter(PyObject *arg0, PyObject **arg1);
  886. #define PyUnicode_FSDecoder PyPyUnicode_FSDecoder
  887. PyAPI_FUNC(int) PyUnicode_FSDecoder(PyObject *arg0, PyObject **arg1);
  888. #define PyUnicode_Find PyPyUnicode_Find
  889. PyAPI_FUNC(Signed) PyUnicode_Find(PyObject *arg0, PyObject *arg1, Signed arg2, Signed arg3, int arg4);
  890. #define PyUnicode_Format PyPyUnicode_Format
  891. PyAPI_FUNC(PyObject *) PyUnicode_Format(PyObject *arg0, PyObject *arg1);
  892. #define PyUnicode_FromEncodedObject PyPyUnicode_FromEncodedObject
  893. PyAPI_FUNC(PyObject *) PyUnicode_FromEncodedObject(PyObject *arg0, const char *arg1, const char *arg2);
  894. #define PyUnicode_FromKindAndData PyPyUnicode_FromKindAndData
  895. PyAPI_FUNC(PyObject *) PyUnicode_FromKindAndData(int arg0, void const * arg1, Py_ssize_t arg2);
  896. #define PyUnicode_FromObject PyPyUnicode_FromObject
  897. PyAPI_FUNC(PyObject *) PyUnicode_FromObject(PyObject *arg0);
  898. #define PyUnicode_FromOrdinal PyPyUnicode_FromOrdinal
  899. PyAPI_FUNC(PyObject *) PyUnicode_FromOrdinal(int arg0);
  900. #define PyUnicode_FromString PyPyUnicode_FromString
  901. PyAPI_FUNC(PyObject *) PyUnicode_FromString(const char *arg0);
  902. #define PyUnicode_FromStringAndSize PyPyUnicode_FromStringAndSize
  903. PyAPI_FUNC(PyObject *) PyUnicode_FromStringAndSize(const char *arg0, Signed arg1);
  904. #define PyUnicode_FromUnicode PyPyUnicode_FromUnicode
  905. PyAPI_FUNC(PyObject *) PyUnicode_FromUnicode(const wchar_t *arg0, Signed arg1);
  906. #define PyUnicode_GetDefaultEncoding PyPyUnicode_GetDefaultEncoding
  907. PyAPI_FUNC(char *) PyUnicode_GetDefaultEncoding(void);
  908. #define PyUnicode_GetMax PyPyUnicode_GetMax
  909. PyAPI_FUNC(wchar_t) PyUnicode_GetMax(void);
  910. #define PyUnicode_InternFromString PyPyUnicode_InternFromString
  911. PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(const char *arg0);
  912. #define PyUnicode_InternInPlace PyPyUnicode_InternInPlace
  913. PyAPI_FUNC(void) PyUnicode_InternInPlace(PyObject **arg0);
  914. #define PyUnicode_Join PyPyUnicode_Join
  915. PyAPI_FUNC(PyObject *) PyUnicode_Join(PyObject *arg0, PyObject *arg1);
  916. #define PyUnicode_Replace PyPyUnicode_Replace
  917. PyAPI_FUNC(PyObject *) PyUnicode_Replace(PyObject *arg0, PyObject *arg1, PyObject *arg2, Signed arg3);
  918. #define PyUnicode_Resize PyPyUnicode_Resize
  919. PyAPI_FUNC(int) PyUnicode_Resize(PyObject **arg0, Signed arg1);
  920. #define PyUnicode_Split PyPyUnicode_Split
  921. PyAPI_FUNC(PyObject *) PyUnicode_Split(PyObject *arg0, PyObject *arg1, Signed arg2);
  922. #define PyUnicode_Splitlines PyPyUnicode_Splitlines
  923. PyAPI_FUNC(PyObject *) PyUnicode_Splitlines(PyObject *arg0, int arg1);
  924. #define PyUnicode_Substring PyPyUnicode_Substring
  925. PyAPI_FUNC(PyObject *) PyUnicode_Substring(PyObject *arg0, Signed arg1, Signed arg2);
  926. #define PyUnicode_Tailmatch PyPyUnicode_Tailmatch
  927. PyAPI_FUNC(int) PyUnicode_Tailmatch(PyObject *arg0, PyObject *arg1, Signed arg2, Signed arg3, int arg4);
  928. #define PyUnicode_TransformDecimalToASCII PyPyUnicode_TransformDecimalToASCII
  929. PyAPI_FUNC(PyObject *) PyUnicode_TransformDecimalToASCII(wchar_t *arg0, Signed arg1);
  930. #define PyWeakref_Check PyPyWeakref_Check
  931. PyAPI_FUNC(int) PyWeakref_Check(PyObject *arg0);
  932. #define PyWeakref_CheckProxy PyPyWeakref_CheckProxy
  933. PyAPI_FUNC(int) PyWeakref_CheckProxy(PyObject *arg0);
  934. #define PyWeakref_CheckRef PyPyWeakref_CheckRef
  935. PyAPI_FUNC(int) PyWeakref_CheckRef(PyObject *arg0);
  936. #define PyWeakref_CheckRefExact PyPyWeakref_CheckRefExact
  937. PyAPI_FUNC(int) PyWeakref_CheckRefExact(PyObject *arg0);
  938. #define PyWeakref_GET_OBJECT PyPyWeakref_GET_OBJECT
  939. PyAPI_FUNC(PyObject *) PyWeakref_GET_OBJECT(void *arg0);
  940. #define PyWeakref_GetObject PyPyWeakref_GetObject
  941. PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *arg0);
  942. #define PyWeakref_LockObject PyPyWeakref_LockObject
  943. PyAPI_FUNC(PyObject *) PyWeakref_LockObject(PyObject *arg0);
  944. #define PyWeakref_NewProxy PyPyWeakref_NewProxy
  945. PyAPI_FUNC(PyObject *) PyWeakref_NewProxy(PyObject *arg0, PyObject *arg1);
  946. #define PyWeakref_NewRef PyPyWeakref_NewRef
  947. PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *arg0, PyObject *arg1);
  948. #define Py_AddPendingCall PyPy_AddPendingCall
  949. PyAPI_FUNC(int) Py_AddPendingCall(int (*arg0)(void *), void *arg1);
  950. #define Py_AtExit PyPy_AtExit
  951. PyAPI_FUNC(int) Py_AtExit(void (*arg0)(void));
  952. #define Py_CompileStringFlags PyPy_CompileStringFlags
  953. PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *arg0, const char *arg1, int arg2, PyCompilerFlags *arg3);
  954. #define Py_DecRef PyPy_DecRef
  955. PyAPI_FUNC(void) Py_DecRef(PyObject *arg0);
  956. #define Py_EnterRecursiveCall PyPy_EnterRecursiveCall
  957. PyAPI_FUNC(int) Py_EnterRecursiveCall(char *arg0);
  958. #define Py_FindMethod PyPy_FindMethod
  959. PyAPI_FUNC(PyObject *) Py_FindMethod(PyMethodDef *arg0, PyObject *arg1, const char *arg2);
  960. #define Py_GetProgramName PyPy_GetProgramName
  961. PyAPI_FUNC(wchar_t *) Py_GetProgramName(void);
  962. #define Py_GetRecursionLimit PyPy_GetRecursionLimit
  963. PyAPI_FUNC(int) Py_GetRecursionLimit(void);
  964. #define Py_GetVersion PyPy_GetVersion
  965. PyAPI_FUNC(char *) Py_GetVersion(void);
  966. #define Py_IncRef PyPy_IncRef
  967. PyAPI_FUNC(void) Py_IncRef(PyObject *arg0);
  968. #define Py_IsInitialized PyPy_IsInitialized
  969. PyAPI_FUNC(int) Py_IsInitialized(void);
  970. #define Py_LeaveRecursiveCall PyPy_LeaveRecursiveCall
  971. PyAPI_FUNC(void) Py_LeaveRecursiveCall(void);
  972. #define Py_MakePendingCalls PyPy_MakePendingCalls
  973. PyAPI_FUNC(int) Py_MakePendingCalls(void);
  974. #define Py_SetRecursionLimit PyPy_SetRecursionLimit
  975. PyAPI_FUNC(void) Py_SetRecursionLimit(int arg0);
  976. #define Py_UNICODE_COPY PyPy_UNICODE_COPY
  977. PyAPI_FUNC(void) Py_UNICODE_COPY(wchar_t *arg0, wchar_t *arg1, Signed arg2);
  978. #define Py_UNICODE_ISALNUM PyPy_UNICODE_ISALNUM
  979. PyAPI_FUNC(int) Py_UNICODE_ISALNUM(wchar_t arg0);
  980. #define Py_UNICODE_ISALPHA PyPy_UNICODE_ISALPHA
  981. PyAPI_FUNC(int) Py_UNICODE_ISALPHA(wchar_t arg0);
  982. #define Py_UNICODE_ISDECIMAL PyPy_UNICODE_ISDECIMAL
  983. PyAPI_FUNC(int) Py_UNICODE_ISDECIMAL(wchar_t arg0);
  984. #define Py_UNICODE_ISDIGIT PyPy_UNICODE_ISDIGIT
  985. PyAPI_FUNC(int) Py_UNICODE_ISDIGIT(wchar_t arg0);
  986. #define Py_UNICODE_ISLINEBREAK PyPy_UNICODE_ISLINEBREAK
  987. PyAPI_FUNC(int) Py_UNICODE_ISLINEBREAK(wchar_t arg0);
  988. #define Py_UNICODE_ISLOWER PyPy_UNICODE_ISLOWER
  989. PyAPI_FUNC(int) Py_UNICODE_ISLOWER(wchar_t arg0);
  990. #define Py_UNICODE_ISNUMERIC PyPy_UNICODE_ISNUMERIC
  991. PyAPI_FUNC(int) Py_UNICODE_ISNUMERIC(wchar_t arg0);
  992. #define Py_UNICODE_ISSPACE PyPy_UNICODE_ISSPACE
  993. PyAPI_FUNC(int) Py_UNICODE_ISSPACE(wchar_t arg0);
  994. #define Py_UNICODE_ISTITLE PyPy_UNICODE_ISTITLE
  995. PyAPI_FUNC(int) Py_UNICODE_ISTITLE(wchar_t arg0);
  996. #define Py_UNICODE_ISUPPER PyPy_UNICODE_ISUPPER
  997. PyAPI_FUNC(int) Py_UNICODE_ISUPPER(wchar_t arg0);
  998. #define Py_UNICODE_TODECIMAL PyPy_UNICODE_TODECIMAL
  999. PyAPI_FUNC(int) Py_UNICODE_TODECIMAL(wchar_t arg0);
  1000. #define Py_UNICODE_TODIGIT PyPy_UNICODE_TODIGIT
  1001. PyAPI_FUNC(int) Py_UNICODE_TODIGIT(wchar_t arg0);
  1002. #define Py_UNICODE_TOLOWER PyPy_UNICODE_TOLOWER
  1003. PyAPI_FUNC(wchar_t) Py_UNICODE_TOLOWER(wchar_t arg0);
  1004. #define Py_UNICODE_TONUMERIC PyPy_UNICODE_TONUMERIC
  1005. PyAPI_FUNC(double) Py_UNICODE_TONUMERIC(wchar_t arg0);
  1006. #define Py_UNICODE_TOTITLE PyPy_UNICODE_TOTITLE
  1007. PyAPI_FUNC(wchar_t) Py_UNICODE_TOTITLE(wchar_t arg0);
  1008. #define Py_UNICODE_TOUPPER PyPy_UNICODE_TOUPPER
  1009. PyAPI_FUNC(wchar_t) Py_UNICODE_TOUPPER(wchar_t arg0);
  1010. #define _PyBytes_Eq _PyPyBytes_Eq
  1011. PyAPI_FUNC(int) _PyBytes_Eq(PyObject *arg0, PyObject *arg1);
  1012. #define _PyBytes_Join _PyPyBytes_Join
  1013. PyAPI_FUNC(PyObject *) _PyBytes_Join(PyObject *arg0, PyObject *arg1);
  1014. #define _PyBytes_Resize _PyPyBytes_Resize
  1015. PyAPI_FUNC(int) _PyBytes_Resize(PyObject **arg0, Signed arg1);
  1016. #define _PyComplex_AsCComplex _PyPyComplex_AsCComplex
  1017. PyAPI_FUNC(int) _PyComplex_AsCComplex(PyObject *arg0, struct Py_complex_t *arg1);
  1018. #define _PyComplex_FromCComplex _PyPyComplex_FromCComplex
  1019. PyAPI_FUNC(PyObject *) _PyComplex_FromCComplex(struct Py_complex_t *arg0);
  1020. #define _PyDateTime_FromDateAndTime _PyPyDateTime_FromDateAndTime
  1021. PyAPI_FUNC(PyObject *) _PyDateTime_FromDateAndTime(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, PyObject *arg7, PyTypeObject *arg8);
  1022. #define _PyDateTime_Import _PyPyDateTime_Import
  1023. PyAPI_FUNC(PyDateTime_CAPI *) _PyDateTime_Import(void);
  1024. #define _PyDate_FromDate _PyPyDate_FromDate
  1025. PyAPI_FUNC(PyObject *) _PyDate_FromDate(int arg0, int arg1, int arg2, PyTypeObject *arg3);
  1026. #define _PyDelta_FromDelta _PyPyDelta_FromDelta
  1027. PyAPI_FUNC(PyObject *) _PyDelta_FromDelta(int arg0, int arg1, int arg2, int arg3, PyTypeObject *arg4);
  1028. #define _PyDict_HasOnlyStringKeys _PyPyDict_HasOnlyStringKeys
  1029. PyAPI_FUNC(int) _PyDict_HasOnlyStringKeys(PyObject *arg0);
  1030. #define _PyEval_SliceIndex _PyPyEval_SliceIndex
  1031. PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *arg0, Signed *arg1);
  1032. #define _PyFloat_Unpack4 _PyPyFloat_Unpack4
  1033. PyAPI_FUNC(double) _PyFloat_Unpack4(const unsigned char *arg0, int arg1);
  1034. #define _PyFloat_Unpack8 _PyPyFloat_Unpack8
  1035. PyAPI_FUNC(double) _PyFloat_Unpack8(const unsigned char *arg0, int arg1);
  1036. #define _PyImport_AcquireLock _PyPyImport_AcquireLock
  1037. PyAPI_FUNC(void) _PyImport_AcquireLock(void);
  1038. #define _PyImport_ReleaseLock _PyPyImport_ReleaseLock
  1039. PyAPI_FUNC(int) _PyImport_ReleaseLock(void);
  1040. #define _PyLong_FromByteArray _PyPyLong_FromByteArray
  1041. PyAPI_FUNC(PyObject *) _PyLong_FromByteArray(const unsigned char *arg0, Unsigned arg1, int arg2, int arg3);
  1042. #define _PyLong_NumBits _PyPyLong_NumBits
  1043. PyAPI_FUNC(Unsigned) _PyLong_NumBits(PyObject *arg0);
  1044. #define _PyLong_Sign _PyPyLong_Sign
  1045. PyAPI_FUNC(int) _PyLong_Sign(PyObject *arg0);
  1046. #define _PyNamespace_New _PyPyNamespace_New
  1047. PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject * arg0);
  1048. #define _PyObject_GC_New _PyPyObject_GC_New
  1049. PyAPI_FUNC(PyObject *) _PyObject_GC_New(PyTypeObject *arg0);
  1050. #define _PyObject_GC_NewVar _PyPyObject_GC_NewVar
  1051. PyAPI_FUNC(PyObject *) _PyObject_GC_NewVar(PyTypeObject *arg0, Signed arg1);
  1052. #define _PyObject_GetDictPtr _PyPyObject_GetDictPtr
  1053. PyAPI_FUNC(PyObject **) _PyObject_GetDictPtr(PyObject *arg0);
  1054. #define _PyObject_New _PyPyObject_New
  1055. PyAPI_FUNC(PyObject *) _PyObject_New(PyTypeObject *arg0);
  1056. #define _PyObject_NewVar _PyPyObject_NewVar
  1057. PyAPI_FUNC(PyObject *) _PyObject_NewVar(PyTypeObject *arg0, Signed arg1);
  1058. #define _PyPyGC_AddMemoryPressure _PyPyPyGC_AddMemoryPressure
  1059. PyAPI_FUNC(void) _PyPyGC_AddMemoryPressure(Signed arg0);
  1060. #define _PyTime_FromTime _PyPyTime_FromTime
  1061. PyAPI_FUNC(PyObject *) _PyTime_FromTime(int arg0, int arg1, int arg2, int arg3, PyObject *arg4, PyTypeObject *arg5);
  1062. #define _PyTuple_Resize _PyPyTuple_Resize
  1063. PyAPI_FUNC(int) _PyTuple_Resize(PyObject **arg0, Signed arg1);
  1064. #define _PyType_Lookup _PyPyType_Lookup
  1065. PyAPI_FUNC(PyObject *) _PyType_Lookup(PyTypeObject *arg0, PyObject *arg1);
  1066. #define _PyUnicode_AsDefaultEncodedString _PyPyUnicode_AsDefaultEncodedString
  1067. PyAPI_FUNC(PyObject *) _PyUnicode_AsDefaultEncodedString(PyObject *arg0, const char *arg1);
  1068. #define _PyUnicode_Ready _PyPyUnicode_Ready
  1069. PyAPI_FUNC(int) _PyUnicode_Ready(PyObject * arg0);
  1070. #define _Py_Dealloc _PyPy_Dealloc
  1071. PyAPI_FUNC(void) _Py_Dealloc(PyObject *arg0);
  1072. #define _Py_HashDouble _PyPy_HashDouble
  1073. PyAPI_FUNC(Signed) _Py_HashDouble(double arg0);
  1074. #define _Py_HashPointer _PyPy_HashPointer
  1075. PyAPI_FUNC(Signed) _Py_HashPointer(void *arg0);
  1076. #define _Py_NewReference _PyPy_NewReference
  1077. PyAPI_FUNC(void) _Py_NewReference(PyObject *arg0);
  1078. #define _Py_NoneStruct _PyPy_NoneStruct
  1079. PyAPI_DATA(PyObject) _Py_NoneStruct;
  1080. #define _Py_TrueStruct _PyPy_TrueStruct
  1081. PyAPI_DATA(PyObject) _Py_TrueStruct;
  1082. #define _Py_ZeroStruct _PyPy_ZeroStruct
  1083. PyAPI_DATA(PyObject) _Py_ZeroStruct;
  1084. #define _Py_NotImplementedStruct _PyPy_NotImplementedStruct
  1085. PyAPI_DATA(PyObject) _Py_NotImplementedStruct;
  1086. #define _Py_EllipsisObject _PyPy_EllipsisObject
  1087. PyAPI_DATA(PyObject) _Py_EllipsisObject;
  1088. #define PyDateTimeAPI PyPyDateTimeAPI
  1089. PyAPI_DATA(PyDateTime_CAPI*) PyDateTimeAPI;
  1090. #define PyExc_ArithmeticError PyPyExc_ArithmeticError
  1091. PyAPI_DATA(PyObject*) PyExc_ArithmeticError;
  1092. #define PyExc_AssertionError PyPyExc_AssertionError
  1093. PyAPI_DATA(PyObject*) PyExc_AssertionError;
  1094. #define PyExc_AttributeError PyPyExc_AttributeError
  1095. PyAPI_DATA(PyObject*) PyExc_AttributeError;
  1096. #define PyExc_BaseException PyPyExc_BaseException
  1097. PyAPI_DATA(PyObject*) PyExc_BaseException;
  1098. #define PyExc_BlockingIOError PyPyExc_BlockingIOError
  1099. PyAPI_DATA(PyObject*) PyExc_BlockingIOError;
  1100. #define PyExc_BrokenPipeError PyPyExc_BrokenPipeError
  1101. PyAPI_DATA(PyObject*) PyExc_BrokenPipeError;
  1102. #define PyExc_BufferError PyPyExc_BufferError
  1103. PyAPI_DATA(PyObject*) PyExc_BufferError;
  1104. #define PyExc_BytesWarning PyPyExc_BytesWarning
  1105. PyAPI_DATA(PyObject*) PyExc_BytesWarning;
  1106. #define PyExc_ChildProcessError PyPyExc_ChildProcessError
  1107. PyAPI_DATA(PyObject*) PyExc_ChildProcessError;
  1108. #define PyExc_ConnectionAbortedError PyPyExc_ConnectionAbortedError
  1109. PyAPI_DATA(PyObject*) PyExc_ConnectionAbortedError;
  1110. #define PyExc_ConnectionError PyPyExc_ConnectionError
  1111. PyAPI_DATA(PyObject*) PyExc_ConnectionError;
  1112. #define PyExc_ConnectionRefusedError PyPyExc_ConnectionRefusedError
  1113. PyAPI_DATA(PyObject*) PyExc_ConnectionRefusedError;
  1114. #define PyExc_ConnectionResetError PyPyExc_ConnectionResetError
  1115. PyAPI_DATA(PyObject*) PyExc_ConnectionResetError;
  1116. #define PyExc_DeprecationWarning PyPyExc_DeprecationWarning
  1117. PyAPI_DATA(PyObject*) PyExc_DeprecationWarning;
  1118. #define PyExc_EOFError PyPyExc_EOFError
  1119. PyAPI_DATA(PyObject*) PyExc_EOFError;
  1120. #define PyExc_Exception PyPyExc_Exception
  1121. PyAPI_DATA(PyObject*) PyExc_Exception;
  1122. #define PyExc_FileExistsError PyPyExc_FileExistsError
  1123. PyAPI_DATA(PyObject*) PyExc_FileExistsError;
  1124. #define PyExc_FileNotFoundError PyPyExc_FileNotFoundError
  1125. PyAPI_DATA(PyObject*) PyExc_FileNotFoundError;
  1126. #define PyExc_FloatingPointError PyPyExc_FloatingPointError
  1127. PyAPI_DATA(PyObject*) PyExc_FloatingPointError;
  1128. #define PyExc_FutureWarning PyPyExc_FutureWarning
  1129. PyAPI_DATA(PyObject*) PyExc_FutureWarning;
  1130. #define PyExc_GeneratorExit PyPyExc_GeneratorExit
  1131. PyAPI_DATA(PyObject*) PyExc_GeneratorExit;
  1132. #define PyExc_ImportError PyPyExc_ImportError
  1133. PyAPI_DATA(PyObject*) PyExc_ImportError;
  1134. #define PyExc_ImportWarning PyPyExc_ImportWarning
  1135. PyAPI_DATA(PyObject*) PyExc_ImportWarning;
  1136. #define PyExc_IndentationError PyPyExc_IndentationError
  1137. PyAPI_DATA(PyObject*) PyExc_IndentationError;
  1138. #define PyExc_IndexError PyPyExc_IndexError
  1139. PyAPI_DATA(PyObject*) PyExc_IndexError;
  1140. #define PyExc_InterruptedError PyPyExc_InterruptedError
  1141. PyAPI_DATA(PyObject*) PyExc_InterruptedError;
  1142. #define PyExc_IsADirectoryError PyPyExc_IsADirectoryError
  1143. PyAPI_DATA(PyObject*) PyExc_IsADirectoryError;
  1144. #define PyExc_KeyError PyPyExc_KeyError
  1145. PyAPI_DATA(PyObject*) PyExc_KeyError;
  1146. #define PyExc_KeyboardInterrupt PyPyExc_KeyboardInterrupt
  1147. PyAPI_DATA(PyObject*) PyExc_KeyboardInterrupt;
  1148. #define PyExc_LookupError PyPyExc_LookupError
  1149. PyAPI_DATA(PyObject*) PyExc_LookupError;
  1150. #define PyExc_MemoryError PyPyExc_MemoryError
  1151. PyAPI_DATA(PyObject*) PyExc_MemoryError;
  1152. #define PyExc_NameError PyPyExc_NameError
  1153. PyAPI_DATA(PyObject*) PyExc_NameError;
  1154. #define PyExc_NotADirectoryError PyPyExc_NotADirectoryError
  1155. PyAPI_DATA(PyObject*) PyExc_NotADirectoryError;
  1156. #define PyExc_NotImplementedError PyPyExc_NotImplementedError
  1157. PyAPI_DATA(PyObject*) PyExc_NotImplementedError;
  1158. #define PyExc_OSError PyPyExc_OSError
  1159. PyAPI_DATA(PyObject*) PyExc_OSError;
  1160. #define PyExc_OverflowError PyPyExc_OverflowError
  1161. PyAPI_DATA(PyObject*) PyExc_OverflowError;
  1162. #define PyExc_PendingDeprecationWarning PyPyExc_PendingDeprecationWarning
  1163. PyAPI_DATA(PyObject*) PyExc_PendingDeprecationWarning;
  1164. #define PyExc_PermissionError PyPyExc_PermissionError
  1165. PyAPI_DATA(PyObject*) PyExc_PermissionError;
  1166. #define PyExc_ProcessLookupError PyPyExc_ProcessLookupError
  1167. PyAPI_DATA(PyObject*) PyExc_ProcessLookupError;
  1168. #define PyExc_RecursionError PyPyExc_RecursionError
  1169. PyAPI_DATA(PyObject*) PyExc_RecursionError;
  1170. #define PyExc_ReferenceError PyPyExc_ReferenceError
  1171. PyAPI_DATA(PyObject*) PyExc_ReferenceError;
  1172. #define PyExc_ResourceWarning PyPyExc_ResourceWarning
  1173. PyAPI_DATA(PyObject*) PyExc_ResourceWarning;
  1174. #define PyExc_RuntimeError PyPyExc_RuntimeError
  1175. PyAPI_DATA(PyObject*) PyExc_RuntimeError;
  1176. #define PyExc_RuntimeWarning PyPyExc_RuntimeWarning
  1177. PyAPI_DATA(PyObject*) PyExc_RuntimeWarning;
  1178. #define PyExc_StopAsyncIteration PyPyExc_StopAsyncIteration
  1179. PyAPI_DATA(PyObject*) PyExc_StopAsyncIteration;
  1180. #define PyExc_StopIteration PyPyExc_StopIteration
  1181. PyAPI_DATA(PyObject*) PyExc_StopIteration;
  1182. #define PyExc_SyntaxError PyPyExc_SyntaxError
  1183. PyAPI_DATA(PyObject*) PyExc_SyntaxError;
  1184. #define PyExc_SyntaxWarning PyPyExc_SyntaxWarning
  1185. PyAPI_DATA(PyObject*) PyExc_SyntaxWarning;
  1186. #define PyExc_SystemError PyPyExc_SystemError
  1187. PyAPI_DATA(PyObject*) PyExc_SystemError;
  1188. #define PyExc_SystemExit PyPyExc_SystemExit
  1189. PyAPI_DATA(PyObject*) PyExc_SystemExit;
  1190. #define PyExc_TabError PyPyExc_TabError
  1191. PyAPI_DATA(PyObject*) PyExc_TabError;
  1192. #define PyExc_TimeoutError PyPyExc_TimeoutError
  1193. PyAPI_DATA(PyObject*) PyExc_TimeoutError;
  1194. #define PyExc_TypeError PyPyExc_TypeError
  1195. PyAPI_DATA(PyObject*) PyExc_TypeError;
  1196. #define PyExc_UnboundLocalError PyPyExc_UnboundLocalError
  1197. PyAPI_DATA(PyObject*) PyExc_UnboundLocalError;
  1198. #define PyExc_UnicodeDecodeError PyPyExc_UnicodeDecodeError
  1199. PyAPI_DATA(PyObject*) PyExc_UnicodeDecodeError;
  1200. #define PyExc_UnicodeEncodeError PyPyExc_UnicodeEncodeError
  1201. PyAPI_DATA(PyObject*) PyExc_UnicodeEncodeError;
  1202. #define PyExc_UnicodeError PyPyExc_UnicodeError
  1203. PyAPI_DATA(PyObject*) PyExc_UnicodeError;
  1204. #define PyExc_UnicodeTranslateError PyPyExc_UnicodeTranslateError
  1205. PyAPI_DATA(PyObject*) PyExc_UnicodeTranslateError;
  1206. #define PyExc_UnicodeWarning PyPyExc_UnicodeWarning
  1207. PyAPI_DATA(PyObject*) PyExc_UnicodeWarning;
  1208. #define PyExc_UserWarning PyPyExc_UserWarning
  1209. PyAPI_DATA(PyObject*) PyExc_UserWarning;
  1210. #define PyExc_ValueError PyPyExc_ValueError
  1211. PyAPI_DATA(PyObject*) PyExc_ValueError;
  1212. #define PyExc_Warning PyPyExc_Warning
  1213. PyAPI_DATA(PyObject*) PyExc_Warning;
  1214. #define PyExc_ZeroDivisionError PyPyExc_ZeroDivisionError
  1215. PyAPI_DATA(PyObject*) PyExc_ZeroDivisionError;
  1216. #define PyType_Type PyPyType_Type
  1217. PyAPI_DATA(PyTypeObject) PyType_Type;
  1218. #define PyBytes_Type PyPyBytes_Type
  1219. PyAPI_DATA(PyTypeObject) PyBytes_Type;
  1220. #define PyUnicode_Type PyPyUnicode_Type
  1221. PyAPI_DATA(PyTypeObject) PyUnicode_Type;
  1222. #define PyDict_Type PyPyDict_Type
  1223. PyAPI_DATA(PyTypeObject) PyDict_Type;
  1224. #define PyDictProxy_Type PyPyDictProxy_Type
  1225. PyAPI_DATA(PyTypeObject) PyDictProxy_Type;
  1226. #define PyTuple_Type PyPyTuple_Type
  1227. PyAPI_DATA(PyTypeObject) PyTuple_Type;
  1228. #define PyList_Type PyPyList_Type
  1229. PyAPI_DATA(PyTypeObject) PyList_Type;
  1230. #define PySet_Type PyPySet_Type
  1231. PyAPI_DATA(PyTypeObject) PySet_Type;
  1232. #define PyFrozenSet_Type PyPyFrozenSet_Type
  1233. PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
  1234. #define PyBool_Type PyPyBool_Type
  1235. PyAPI_DATA(PyTypeObject) PyBool_Type;
  1236. #define PyFloat_Type PyPyFloat_Type
  1237. PyAPI_DATA(PyTypeObject) PyFloat_Type;
  1238. #define PyLong_Type PyPyLong_Type
  1239. PyAPI_DATA(PyTypeObject) PyLong_Type;
  1240. #define PyComplex_Type PyPyComplex_Type
  1241. PyAPI_DATA(PyTypeObject) PyComplex_Type;
  1242. #define PyByteArray_Type PyPyByteArray_Type
  1243. PyAPI_DATA(PyTypeObject) PyByteArray_Type;
  1244. #define PyMemoryView_Type PyPyMemoryView_Type
  1245. PyAPI_DATA(PyTypeObject) PyMemoryView_Type;
  1246. #define PyBaseObject_Type PyPyBaseObject_Type
  1247. PyAPI_DATA(PyTypeObject) PyBaseObject_Type;
  1248. #define PyNone_Type PyPyNone_Type
  1249. PyAPI_DATA(PyTypeObject) PyNone_Type;
  1250. #define PyNotImplemented_Type PyPyNotImplemented_Type
  1251. PyAPI_DATA(PyTypeObject) PyNotImplemented_Type;
  1252. #define PyCell_Type PyPyCell_Type
  1253. PyAPI_DATA(PyTypeObject) PyCell_Type;
  1254. #define PyModule_Type PyPyModule_Type
  1255. PyAPI_DATA(PyTypeObject) PyModule_Type;
  1256. #define PyProperty_Type PyPyProperty_Type
  1257. PyAPI_DATA(PyTypeObject) PyProperty_Type;
  1258. #define PySlice_Type PyPySlice_Type
  1259. PyAPI_DATA(PyTypeObject) PySlice_Type;
  1260. #define PyStaticMethod_Type PyPyStaticMethod_Type
  1261. PyAPI_DATA(PyTypeObject) PyStaticMethod_Type;
  1262. #define PyCFunction_Type PyPyCFunction_Type
  1263. PyAPI_DATA(PyTypeObject) PyCFunction_Type;
  1264. #define PyClassMethodDescr_Type PyPyClassMethodDescr_Type
  1265. PyAPI_DATA(PyTypeObject) PyClassMethodDescr_Type;
  1266. #define PyGetSetDescr_Type PyPyGetSetDescr_Type
  1267. PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;
  1268. #define PyMemberDescr_Type PyPyMemberDescr_Type
  1269. PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;
  1270. #define PyMethodDescr_Type PyPyMethodDescr_Type
  1271. PyAPI_DATA(PyTypeObject) PyMethodDescr_Type;
  1272. #define PyWrapperDescr_Type PyPyWrapperDescr_Type
  1273. PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;
  1274. #define PyInstanceMethod_Type PyPyInstanceMethod_Type
  1275. PyAPI_DATA(PyTypeObject) PyInstanceMethod_Type;
  1276. #undef Signed /* xxx temporary fix */
  1277. #undef Unsigned /* xxx temporary fix */