pydtool.cxx 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623
  1. /*
  2. * This file was generated by:
  3. * interrogate -D EXPCL_DTOOLCONFIG= -nodb -python -promiscuous -I../../../built/include -module panda3d.interrogatedb -library interrogatedb -string -true-names -do-module -oc pydtool.cxx ../../src/interrogatedb/interrogate_interface.h ../../src/interrogatedb/interrogate_request.h
  4. *
  5. */
  6. #include <sstream>
  7. #include "../../src/interrogatedb/interrogate_interface.h"
  8. #include "../../src/interrogatedb/interrogate_request.h"
  9. #include "dtoolbase.h"
  10. #undef _POSIX_C_SOURCE
  11. #undef _XOPEN_SOURCE
  12. #define PY_SSIZE_T_CLEAN 1
  13. #if PYTHON_FRAMEWORK
  14. #include <Python/Python.h>
  15. #else
  16. #include "Python.h"
  17. #endif
  18. static PyObject *_inP07yttbRf(PyObject *self, PyObject *args);
  19. static PyObject *_inP07ytda_g(PyObject *self, PyObject *args);
  20. static PyObject *_inP07yt4RgX(PyObject *self, PyObject *args);
  21. static PyObject *_inP07yt3Gip(PyObject *self, PyObject *args);
  22. static PyObject *_inP07ytRKDz(PyObject *self, PyObject *args);
  23. static PyObject *_inP07ytgZ9N(PyObject *self, PyObject *args);
  24. static PyObject *_inP07ytFnRZ(PyObject *self, PyObject *args);
  25. static PyObject *_inP07ytg0Qv(PyObject *self, PyObject *args);
  26. static PyObject *_inP07yttrqw(PyObject *self, PyObject *args);
  27. static PyObject *_inP07ytdmpW(PyObject *self, PyObject *args);
  28. static PyObject *_inP07ytUYgQ(PyObject *self, PyObject *args);
  29. static PyObject *_inP07yt0k7F(PyObject *self, PyObject *args);
  30. static PyObject *_inP07ytfIsr(PyObject *self, PyObject *args);
  31. static PyObject *_inP07ytvysR(PyObject *self, PyObject *args);
  32. static PyObject *_inP07ytYQ_2(PyObject *self, PyObject *args);
  33. static PyObject *_inP07yt3kdv(PyObject *self, PyObject *args);
  34. static PyObject *_inP07ytew01(PyObject *self, PyObject *args);
  35. static PyObject *_inP07ytQna7(PyObject *self, PyObject *args);
  36. static PyObject *_inP07ytkg95(PyObject *self, PyObject *args);
  37. static PyObject *_inP07ytluRc(PyObject *self, PyObject *args);
  38. static PyObject *_inP07yttHdM(PyObject *self, PyObject *args);
  39. static PyObject *_inP07ytDId0(PyObject *self, PyObject *args);
  40. static PyObject *_inP07ytHuAm(PyObject *self, PyObject *args);
  41. static PyObject *_inP07yt_xr0(PyObject *self, PyObject *args);
  42. static PyObject *_inP07ytH5qp(PyObject *self, PyObject *args);
  43. static PyObject *_inP07ytq45U(PyObject *self, PyObject *args);
  44. static PyObject *_inP07yt6IPa(PyObject *self, PyObject *args);
  45. static PyObject *_inP07ytU2_B(PyObject *self, PyObject *args);
  46. static PyObject *_inP07ytHFO2(PyObject *self, PyObject *args);
  47. static PyObject *_inP07ytcfjm(PyObject *self, PyObject *args);
  48. static PyObject *_inP07yt3Sjw(PyObject *self, PyObject *args);
  49. static PyObject *_inP07ytgJcX(PyObject *self, PyObject *args);
  50. static PyObject *_inP07ytYlw6(PyObject *self, PyObject *args);
  51. static PyObject *_inP07ytsmnz(PyObject *self, PyObject *args);
  52. static PyObject *_inP07ytxQ10(PyObject *self, PyObject *args);
  53. static PyObject *_inP07yt6gPB(PyObject *self, PyObject *args);
  54. static PyObject *_inP07ytISgV(PyObject *self, PyObject *args);
  55. static PyObject *_inP07ytH3bx(PyObject *self, PyObject *args);
  56. static PyObject *_inP07ytzeUk(PyObject *self, PyObject *args);
  57. static PyObject *_inP07ytUeI5(PyObject *self, PyObject *args);
  58. static PyObject *_inP07ytuSvx(PyObject *self, PyObject *args);
  59. static PyObject *_inP07ytwpYd(PyObject *self, PyObject *args);
  60. static PyObject *_inP07ytOfNh(PyObject *self, PyObject *args);
  61. static PyObject *_inP07ytf5_U(PyObject *self, PyObject *args);
  62. static PyObject *_inP07ytL3ZB(PyObject *self, PyObject *args);
  63. static PyObject *_inP07ytXw0I(PyObject *self, PyObject *args);
  64. static PyObject *_inP07yt3zru(PyObject *self, PyObject *args);
  65. static PyObject *_inP07ytRrg2(PyObject *self, PyObject *args);
  66. static PyObject *_inP07ytEJCx(PyObject *self, PyObject *args);
  67. static PyObject *_inP07ytWAZr(PyObject *self, PyObject *args);
  68. static PyObject *_inP07ytrD_M(PyObject *self, PyObject *args);
  69. static PyObject *_inP07ytjolz(PyObject *self, PyObject *args);
  70. static PyObject *_inP07ytt_JD(PyObject *self, PyObject *args);
  71. static PyObject *_inP07ytwEts(PyObject *self, PyObject *args);
  72. static PyObject *_inP07ytrJWs(PyObject *self, PyObject *args);
  73. static PyObject *_inP07ytpmFD(PyObject *self, PyObject *args);
  74. static PyObject *_inP07ytyYUX(PyObject *self, PyObject *args);
  75. static PyObject *_inP07yt54dn(PyObject *self, PyObject *args);
  76. static PyObject *_inP07ytGMpW(PyObject *self, PyObject *args);
  77. static PyObject *_inP07ytNuBV(PyObject *self, PyObject *args);
  78. static PyObject *_inP07yt9UwA(PyObject *self, PyObject *args);
  79. static PyObject *_inP07yt3FDt(PyObject *self, PyObject *args);
  80. static PyObject *_inP07ytf513(PyObject *self, PyObject *args);
  81. static PyObject *_inP07ytsqGH(PyObject *self, PyObject *args);
  82. static PyObject *_inP07yt7shV(PyObject *self, PyObject *args);
  83. static PyObject *_inP07ytA1eF(PyObject *self, PyObject *args);
  84. static PyObject *_inP07yt776V(PyObject *self, PyObject *args);
  85. static PyObject *_inP07ytryup(PyObject *self, PyObject *args);
  86. static PyObject *_inP07ytiytI(PyObject *self, PyObject *args);
  87. static PyObject *_inP07ytZc07(PyObject *self, PyObject *args);
  88. static PyObject *_inP07ytfaH0(PyObject *self, PyObject *args);
  89. static PyObject *_inP07ytGB9D(PyObject *self, PyObject *args);
  90. static PyObject *_inP07ytsxxs(PyObject *self, PyObject *args);
  91. static PyObject *_inP07ytMT0z(PyObject *self, PyObject *args);
  92. static PyObject *_inP07ytiW3v(PyObject *self, PyObject *args);
  93. static PyObject *_inP07yt4Px8(PyObject *self, PyObject *args);
  94. static PyObject *_inP07ytNHcs(PyObject *self, PyObject *args);
  95. static PyObject *_inP07ytqHrb(PyObject *self, PyObject *args);
  96. static PyObject *_inP07ytaOqq(PyObject *self, PyObject *args);
  97. static PyObject *_inP07ytpTBb(PyObject *self, PyObject *args);
  98. static PyObject *_inP07ytqWOw(PyObject *self, PyObject *args);
  99. static PyObject *_inP07ytHu7x(PyObject *self, PyObject *args);
  100. static PyObject *_inP07ytwGnA(PyObject *self, PyObject *args);
  101. static PyObject *_inP07ytXGxx(PyObject *self, PyObject *args);
  102. static PyObject *_inP07ytj04Z(PyObject *self, PyObject *args);
  103. static PyObject *_inP07ytEOv4(PyObject *self, PyObject *args);
  104. static PyObject *_inP07ytpCqJ(PyObject *self, PyObject *args);
  105. static PyObject *_inP07yt_Pz3(PyObject *self, PyObject *args);
  106. static PyObject *_inP07ytt_06(PyObject *self, PyObject *args);
  107. static PyObject *_inP07ytmuPs(PyObject *self, PyObject *args);
  108. static PyObject *_inP07ytvM8B(PyObject *self, PyObject *args);
  109. static PyObject *_inP07ytap97(PyObject *self, PyObject *args);
  110. static PyObject *_inP07yt0o8D(PyObject *self, PyObject *args);
  111. static PyObject *_inP07ytOoQ2(PyObject *self, PyObject *args);
  112. static PyObject *_inP07ytKuFh(PyObject *self, PyObject *args);
  113. static PyObject *_inP07yto5L6(PyObject *self, PyObject *args);
  114. static PyObject *_inP07ytzgKK(PyObject *self, PyObject *args);
  115. static PyObject *_inP07yt0FIF(PyObject *self, PyObject *args);
  116. static PyObject *_inP07ytZqvD(PyObject *self, PyObject *args);
  117. static PyObject *_inP07ytDyRd(PyObject *self, PyObject *args);
  118. static PyObject *_inP07ytMnKa(PyObject *self, PyObject *args);
  119. static PyObject *_inP07ytRtji(PyObject *self, PyObject *args);
  120. static PyObject *_inP07ytCnbQ(PyObject *self, PyObject *args);
  121. static PyObject *_inP07ytdUVN(PyObject *self, PyObject *args);
  122. static PyObject *_inP07ytihbt(PyObject *self, PyObject *args);
  123. static PyObject *_inP07ytbyPY(PyObject *self, PyObject *args);
  124. static PyObject *_inP07ytAaT6(PyObject *self, PyObject *args);
  125. static PyObject *_inP07ytgL9q(PyObject *self, PyObject *args);
  126. static PyObject *_inP07ytWB97(PyObject *self, PyObject *args);
  127. static PyObject *_inP07ytDUAl(PyObject *self, PyObject *args);
  128. static PyObject *_inP07yt1_Kf(PyObject *self, PyObject *args);
  129. static PyObject *_inP07yt98lD(PyObject *self, PyObject *args);
  130. static PyObject *_inP07yt9SHr(PyObject *self, PyObject *args);
  131. static PyObject *_inP07ytdiZP(PyObject *self, PyObject *args);
  132. static PyObject *_inP07ytTdER(PyObject *self, PyObject *args);
  133. static PyObject *_inP07ytYO56(PyObject *self, PyObject *args);
  134. static PyObject *_inP07ytxtCG(PyObject *self, PyObject *args);
  135. static PyObject *_inP07yt_EB2(PyObject *self, PyObject *args);
  136. static PyObject *_inP07ytEG1l(PyObject *self, PyObject *args);
  137. static PyObject *_inP07yt7tUq(PyObject *self, PyObject *args);
  138. static PyObject *_inP07ytyStU(PyObject *self, PyObject *args);
  139. static PyObject *_inP07ytdM85(PyObject *self, PyObject *args);
  140. static PyObject *_inP07ytk_GN(PyObject *self, PyObject *args);
  141. static PyObject *_inP07yt8QjG(PyObject *self, PyObject *args);
  142. static PyObject *_inP07ytyMtj(PyObject *self, PyObject *args);
  143. static PyObject *_inP07ytHDtN(PyObject *self, PyObject *args);
  144. static PyObject *_inP07ytHFjA(PyObject *self, PyObject *args);
  145. static PyObject *_inP07yt_NPR(PyObject *self, PyObject *args);
  146. static PyObject *_inP07ytcTOH(PyObject *self, PyObject *args);
  147. static PyObject *_inP07ythdU7(PyObject *self, PyObject *args);
  148. static PyObject *_inP07ytQPxU(PyObject *self, PyObject *args);
  149. static PyObject *_inP07ytO7Pz(PyObject *self, PyObject *args);
  150. static PyObject *_inP07ytvu_E(PyObject *self, PyObject *args);
  151. static PyObject *_inP07ytxGUt(PyObject *self, PyObject *args);
  152. static PyObject *_inP07ytzM1P(PyObject *self, PyObject *args);
  153. static PyObject *_inP07ytoY5L(PyObject *self, PyObject *args);
  154. static PyObject *_inP07yte_7S(PyObject *self, PyObject *args);
  155. static PyObject *_inP07ytw_15(PyObject *self, PyObject *args);
  156. /*
  157. * Python simple wrapper for
  158. * void interrogate_add_search_directory(char const *dirname)
  159. */
  160. static PyObject *
  161. _inP07yttbRf(PyObject *, PyObject *args) {
  162. char *param0;
  163. if (PyArg_ParseTuple(args, "s", &param0)) {
  164. ::interrogate_add_search_directory((char const *)param0);
  165. return Py_BuildValue("");
  166. }
  167. return nullptr;
  168. }
  169. /*
  170. * Python simple wrapper for
  171. * void interrogate_add_search_path(char const *pathstring)
  172. */
  173. static PyObject *
  174. _inP07ytda_g(PyObject *, PyObject *args) {
  175. char *param0;
  176. if (PyArg_ParseTuple(args, "s", &param0)) {
  177. ::interrogate_add_search_path((char const *)param0);
  178. return Py_BuildValue("");
  179. }
  180. return nullptr;
  181. }
  182. /*
  183. * Python simple wrapper for
  184. * bool interrogate_error_flag(void)
  185. */
  186. static PyObject *
  187. _inP07yt4RgX(PyObject *, PyObject *args) {
  188. if (PyArg_ParseTuple(args, "")) {
  189. bool return_value = ::interrogate_error_flag();
  190. return PyBool_FromLong(return_value);
  191. }
  192. return nullptr;
  193. }
  194. /*
  195. * Python simple wrapper for
  196. * int interrogate_number_of_manifests(void)
  197. */
  198. static PyObject *
  199. _inP07yt3Gip(PyObject *, PyObject *args) {
  200. if (PyArg_ParseTuple(args, "")) {
  201. int return_value = ::interrogate_number_of_manifests();
  202. #if PY_MAJOR_VERSION >= 3
  203. return PyLong_FromLong(return_value);
  204. #else
  205. return PyInt_FromLong(return_value);
  206. #endif
  207. }
  208. return nullptr;
  209. }
  210. /*
  211. * Python simple wrapper for
  212. * ManifestIndex interrogate_get_manifest(int n)
  213. */
  214. static PyObject *
  215. _inP07ytRKDz(PyObject *, PyObject *args) {
  216. int param0;
  217. if (PyArg_ParseTuple(args, "i", &param0)) {
  218. ManifestIndex return_value = ::interrogate_get_manifest((int)param0);
  219. #if PY_MAJOR_VERSION >= 3
  220. return PyLong_FromLong(return_value);
  221. #else
  222. return PyInt_FromLong(return_value);
  223. #endif
  224. }
  225. return nullptr;
  226. }
  227. /*
  228. * Python simple wrapper for
  229. * ManifestIndex interrogate_get_manifest_by_name(char const *manifest_name)
  230. */
  231. static PyObject *
  232. _inP07ytgZ9N(PyObject *, PyObject *args) {
  233. char *param0;
  234. if (PyArg_ParseTuple(args, "s", &param0)) {
  235. ManifestIndex return_value = ::interrogate_get_manifest_by_name((char const *)param0);
  236. #if PY_MAJOR_VERSION >= 3
  237. return PyLong_FromLong(return_value);
  238. #else
  239. return PyInt_FromLong(return_value);
  240. #endif
  241. }
  242. return nullptr;
  243. }
  244. /*
  245. * Python simple wrapper for
  246. * char const *interrogate_manifest_name(ManifestIndex manifest)
  247. */
  248. static PyObject *
  249. _inP07ytFnRZ(PyObject *, PyObject *args) {
  250. int param0;
  251. if (PyArg_ParseTuple(args, "i", &param0)) {
  252. char const *return_value = ::interrogate_manifest_name((ManifestIndex)param0);
  253. #if PY_MAJOR_VERSION >= 3
  254. return PyUnicode_FromString(return_value);
  255. #else
  256. return PyString_FromString(return_value);
  257. #endif
  258. }
  259. return nullptr;
  260. }
  261. /*
  262. * Python simple wrapper for
  263. * char const *interrogate_manifest_definition(ManifestIndex manifest)
  264. */
  265. static PyObject *
  266. _inP07ytg0Qv(PyObject *, PyObject *args) {
  267. int param0;
  268. if (PyArg_ParseTuple(args, "i", &param0)) {
  269. char const *return_value = ::interrogate_manifest_definition((ManifestIndex)param0);
  270. #if PY_MAJOR_VERSION >= 3
  271. return PyUnicode_FromString(return_value);
  272. #else
  273. return PyString_FromString(return_value);
  274. #endif
  275. }
  276. return nullptr;
  277. }
  278. /*
  279. * Python simple wrapper for
  280. * bool interrogate_manifest_has_type(ManifestIndex manifest)
  281. */
  282. static PyObject *
  283. _inP07yttrqw(PyObject *, PyObject *args) {
  284. int param0;
  285. if (PyArg_ParseTuple(args, "i", &param0)) {
  286. bool return_value = ::interrogate_manifest_has_type((ManifestIndex)param0);
  287. return PyBool_FromLong(return_value);
  288. }
  289. return nullptr;
  290. }
  291. /*
  292. * Python simple wrapper for
  293. * TypeIndex interrogate_manifest_get_type(ManifestIndex manifest)
  294. */
  295. static PyObject *
  296. _inP07ytdmpW(PyObject *, PyObject *args) {
  297. int param0;
  298. if (PyArg_ParseTuple(args, "i", &param0)) {
  299. TypeIndex return_value = ::interrogate_manifest_get_type((ManifestIndex)param0);
  300. #if PY_MAJOR_VERSION >= 3
  301. return PyLong_FromLong(return_value);
  302. #else
  303. return PyInt_FromLong(return_value);
  304. #endif
  305. }
  306. return nullptr;
  307. }
  308. /*
  309. * Python simple wrapper for
  310. * bool interrogate_manifest_has_getter(ManifestIndex manifest)
  311. */
  312. static PyObject *
  313. _inP07ytUYgQ(PyObject *, PyObject *args) {
  314. int param0;
  315. if (PyArg_ParseTuple(args, "i", &param0)) {
  316. bool return_value = ::interrogate_manifest_has_getter((ManifestIndex)param0);
  317. return PyBool_FromLong(return_value);
  318. }
  319. return nullptr;
  320. }
  321. /*
  322. * Python simple wrapper for
  323. * FunctionIndex interrogate_manifest_getter(ManifestIndex manifest)
  324. */
  325. static PyObject *
  326. _inP07yt0k7F(PyObject *, PyObject *args) {
  327. int param0;
  328. if (PyArg_ParseTuple(args, "i", &param0)) {
  329. FunctionIndex return_value = ::interrogate_manifest_getter((ManifestIndex)param0);
  330. #if PY_MAJOR_VERSION >= 3
  331. return PyLong_FromLong(return_value);
  332. #else
  333. return PyInt_FromLong(return_value);
  334. #endif
  335. }
  336. return nullptr;
  337. }
  338. /*
  339. * Python simple wrapper for
  340. * bool interrogate_manifest_has_int_value(ManifestIndex manifest)
  341. */
  342. static PyObject *
  343. _inP07ytfIsr(PyObject *, PyObject *args) {
  344. int param0;
  345. if (PyArg_ParseTuple(args, "i", &param0)) {
  346. bool return_value = ::interrogate_manifest_has_int_value((ManifestIndex)param0);
  347. return PyBool_FromLong(return_value);
  348. }
  349. return nullptr;
  350. }
  351. /*
  352. * Python simple wrapper for
  353. * int interrogate_manifest_get_int_value(ManifestIndex manifest)
  354. */
  355. static PyObject *
  356. _inP07ytvysR(PyObject *, PyObject *args) {
  357. int param0;
  358. if (PyArg_ParseTuple(args, "i", &param0)) {
  359. int return_value = ::interrogate_manifest_get_int_value((ManifestIndex)param0);
  360. #if PY_MAJOR_VERSION >= 3
  361. return PyLong_FromLong(return_value);
  362. #else
  363. return PyInt_FromLong(return_value);
  364. #endif
  365. }
  366. return nullptr;
  367. }
  368. /*
  369. * Python simple wrapper for
  370. * char const *interrogate_element_name(ElementIndex element)
  371. */
  372. static PyObject *
  373. _inP07ytYQ_2(PyObject *, PyObject *args) {
  374. int param0;
  375. if (PyArg_ParseTuple(args, "i", &param0)) {
  376. char const *return_value = ::interrogate_element_name((ElementIndex)param0);
  377. #if PY_MAJOR_VERSION >= 3
  378. return PyUnicode_FromString(return_value);
  379. #else
  380. return PyString_FromString(return_value);
  381. #endif
  382. }
  383. return nullptr;
  384. }
  385. /*
  386. * Python simple wrapper for
  387. * char const *interrogate_element_scoped_name(ElementIndex element)
  388. */
  389. static PyObject *
  390. _inP07yt3kdv(PyObject *, PyObject *args) {
  391. int param0;
  392. if (PyArg_ParseTuple(args, "i", &param0)) {
  393. char const *return_value = ::interrogate_element_scoped_name((ElementIndex)param0);
  394. #if PY_MAJOR_VERSION >= 3
  395. return PyUnicode_FromString(return_value);
  396. #else
  397. return PyString_FromString(return_value);
  398. #endif
  399. }
  400. return nullptr;
  401. }
  402. /*
  403. * Python simple wrapper for
  404. * bool interrogate_element_has_comment(ElementIndex element)
  405. */
  406. static PyObject *
  407. _inP07ytew01(PyObject *, PyObject *args) {
  408. int param0;
  409. if (PyArg_ParseTuple(args, "i", &param0)) {
  410. bool return_value = ::interrogate_element_has_comment((ElementIndex)param0);
  411. return PyBool_FromLong(return_value);
  412. }
  413. return nullptr;
  414. }
  415. /*
  416. * Python simple wrapper for
  417. * char const *interrogate_element_comment(ElementIndex element)
  418. */
  419. static PyObject *
  420. _inP07ytQna7(PyObject *, PyObject *args) {
  421. int param0;
  422. if (PyArg_ParseTuple(args, "i", &param0)) {
  423. char const *return_value = ::interrogate_element_comment((ElementIndex)param0);
  424. #if PY_MAJOR_VERSION >= 3
  425. return PyUnicode_FromString(return_value);
  426. #else
  427. return PyString_FromString(return_value);
  428. #endif
  429. }
  430. return nullptr;
  431. }
  432. /*
  433. * Python simple wrapper for
  434. * ElementIndex interrogate_get_element_by_name(char const *element_name)
  435. */
  436. static PyObject *
  437. _inP07ytkg95(PyObject *, PyObject *args) {
  438. char *param0;
  439. if (PyArg_ParseTuple(args, "s", &param0)) {
  440. ElementIndex return_value = ::interrogate_get_element_by_name((char const *)param0);
  441. #if PY_MAJOR_VERSION >= 3
  442. return PyLong_FromLong(return_value);
  443. #else
  444. return PyInt_FromLong(return_value);
  445. #endif
  446. }
  447. return nullptr;
  448. }
  449. /*
  450. * Python simple wrapper for
  451. * ElementIndex interrogate_get_element_by_scoped_name(char const *element_name)
  452. */
  453. static PyObject *
  454. _inP07ytluRc(PyObject *, PyObject *args) {
  455. char *param0;
  456. if (PyArg_ParseTuple(args, "s", &param0)) {
  457. ElementIndex return_value = ::interrogate_get_element_by_scoped_name((char const *)param0);
  458. #if PY_MAJOR_VERSION >= 3
  459. return PyLong_FromLong(return_value);
  460. #else
  461. return PyInt_FromLong(return_value);
  462. #endif
  463. }
  464. return nullptr;
  465. }
  466. /*
  467. * Python simple wrapper for
  468. * TypeIndex interrogate_element_type(ElementIndex element)
  469. */
  470. static PyObject *
  471. _inP07yttHdM(PyObject *, PyObject *args) {
  472. int param0;
  473. if (PyArg_ParseTuple(args, "i", &param0)) {
  474. TypeIndex return_value = ::interrogate_element_type((ElementIndex)param0);
  475. #if PY_MAJOR_VERSION >= 3
  476. return PyLong_FromLong(return_value);
  477. #else
  478. return PyInt_FromLong(return_value);
  479. #endif
  480. }
  481. return nullptr;
  482. }
  483. /*
  484. * Python simple wrapper for
  485. * bool interrogate_element_has_getter(ElementIndex element)
  486. */
  487. static PyObject *
  488. _inP07ytDId0(PyObject *, PyObject *args) {
  489. int param0;
  490. if (PyArg_ParseTuple(args, "i", &param0)) {
  491. bool return_value = ::interrogate_element_has_getter((ElementIndex)param0);
  492. return PyBool_FromLong(return_value);
  493. }
  494. return nullptr;
  495. }
  496. /*
  497. * Python simple wrapper for
  498. * FunctionIndex interrogate_element_getter(ElementIndex element)
  499. */
  500. static PyObject *
  501. _inP07ytHuAm(PyObject *, PyObject *args) {
  502. int param0;
  503. if (PyArg_ParseTuple(args, "i", &param0)) {
  504. FunctionIndex return_value = ::interrogate_element_getter((ElementIndex)param0);
  505. #if PY_MAJOR_VERSION >= 3
  506. return PyLong_FromLong(return_value);
  507. #else
  508. return PyInt_FromLong(return_value);
  509. #endif
  510. }
  511. return nullptr;
  512. }
  513. /*
  514. * Python simple wrapper for
  515. * bool interrogate_element_has_setter(ElementIndex element)
  516. */
  517. static PyObject *
  518. _inP07yt_xr0(PyObject *, PyObject *args) {
  519. int param0;
  520. if (PyArg_ParseTuple(args, "i", &param0)) {
  521. bool return_value = ::interrogate_element_has_setter((ElementIndex)param0);
  522. return PyBool_FromLong(return_value);
  523. }
  524. return nullptr;
  525. }
  526. /*
  527. * Python simple wrapper for
  528. * FunctionIndex interrogate_element_setter(ElementIndex element)
  529. */
  530. static PyObject *
  531. _inP07ytH5qp(PyObject *, PyObject *args) {
  532. int param0;
  533. if (PyArg_ParseTuple(args, "i", &param0)) {
  534. FunctionIndex return_value = ::interrogate_element_setter((ElementIndex)param0);
  535. #if PY_MAJOR_VERSION >= 3
  536. return PyLong_FromLong(return_value);
  537. #else
  538. return PyInt_FromLong(return_value);
  539. #endif
  540. }
  541. return nullptr;
  542. }
  543. /*
  544. * Python simple wrapper for
  545. * bool interrogate_element_is_sequence(ElementIndex element)
  546. */
  547. static PyObject *
  548. _inP07ytq45U(PyObject *, PyObject *args) {
  549. int param0;
  550. if (PyArg_ParseTuple(args, "i", &param0)) {
  551. bool return_value = ::interrogate_element_is_sequence((ElementIndex)param0);
  552. return PyBool_FromLong(return_value);
  553. }
  554. return nullptr;
  555. }
  556. /*
  557. * Python simple wrapper for
  558. * bool interrogate_element_is_mapping(ElementIndex element)
  559. */
  560. static PyObject *
  561. _inP07yt6IPa(PyObject *, PyObject *args) {
  562. int param0;
  563. if (PyArg_ParseTuple(args, "i", &param0)) {
  564. bool return_value = ::interrogate_element_is_mapping((ElementIndex)param0);
  565. return PyBool_FromLong(return_value);
  566. }
  567. return nullptr;
  568. }
  569. /*
  570. * Python simple wrapper for
  571. * int interrogate_number_of_globals(void)
  572. */
  573. static PyObject *
  574. _inP07ytU2_B(PyObject *, PyObject *args) {
  575. if (PyArg_ParseTuple(args, "")) {
  576. int return_value = ::interrogate_number_of_globals();
  577. #if PY_MAJOR_VERSION >= 3
  578. return PyLong_FromLong(return_value);
  579. #else
  580. return PyInt_FromLong(return_value);
  581. #endif
  582. }
  583. return nullptr;
  584. }
  585. /*
  586. * Python simple wrapper for
  587. * ElementIndex interrogate_get_global(int n)
  588. */
  589. static PyObject *
  590. _inP07ytHFO2(PyObject *, PyObject *args) {
  591. int param0;
  592. if (PyArg_ParseTuple(args, "i", &param0)) {
  593. ElementIndex return_value = ::interrogate_get_global((int)param0);
  594. #if PY_MAJOR_VERSION >= 3
  595. return PyLong_FromLong(return_value);
  596. #else
  597. return PyInt_FromLong(return_value);
  598. #endif
  599. }
  600. return nullptr;
  601. }
  602. /*
  603. * Python simple wrapper for
  604. * int interrogate_number_of_global_functions(void)
  605. */
  606. static PyObject *
  607. _inP07ytcfjm(PyObject *, PyObject *args) {
  608. if (PyArg_ParseTuple(args, "")) {
  609. int return_value = ::interrogate_number_of_global_functions();
  610. #if PY_MAJOR_VERSION >= 3
  611. return PyLong_FromLong(return_value);
  612. #else
  613. return PyInt_FromLong(return_value);
  614. #endif
  615. }
  616. return nullptr;
  617. }
  618. /*
  619. * Python simple wrapper for
  620. * FunctionIndex interrogate_get_global_function(int n)
  621. */
  622. static PyObject *
  623. _inP07yt3Sjw(PyObject *, PyObject *args) {
  624. int param0;
  625. if (PyArg_ParseTuple(args, "i", &param0)) {
  626. FunctionIndex return_value = ::interrogate_get_global_function((int)param0);
  627. #if PY_MAJOR_VERSION >= 3
  628. return PyLong_FromLong(return_value);
  629. #else
  630. return PyInt_FromLong(return_value);
  631. #endif
  632. }
  633. return nullptr;
  634. }
  635. /*
  636. * Python simple wrapper for
  637. * int interrogate_number_of_functions(void)
  638. */
  639. static PyObject *
  640. _inP07ytgJcX(PyObject *, PyObject *args) {
  641. if (PyArg_ParseTuple(args, "")) {
  642. int return_value = ::interrogate_number_of_functions();
  643. #if PY_MAJOR_VERSION >= 3
  644. return PyLong_FromLong(return_value);
  645. #else
  646. return PyInt_FromLong(return_value);
  647. #endif
  648. }
  649. return nullptr;
  650. }
  651. /*
  652. * Python simple wrapper for
  653. * FunctionIndex interrogate_get_function(int n)
  654. */
  655. static PyObject *
  656. _inP07ytYlw6(PyObject *, PyObject *args) {
  657. int param0;
  658. if (PyArg_ParseTuple(args, "i", &param0)) {
  659. FunctionIndex return_value = ::interrogate_get_function((int)param0);
  660. #if PY_MAJOR_VERSION >= 3
  661. return PyLong_FromLong(return_value);
  662. #else
  663. return PyInt_FromLong(return_value);
  664. #endif
  665. }
  666. return nullptr;
  667. }
  668. /*
  669. * Python simple wrapper for
  670. * char const *interrogate_function_name(FunctionIndex function)
  671. */
  672. static PyObject *
  673. _inP07ytsmnz(PyObject *, PyObject *args) {
  674. int param0;
  675. if (PyArg_ParseTuple(args, "i", &param0)) {
  676. char const *return_value = ::interrogate_function_name((FunctionIndex)param0);
  677. #if PY_MAJOR_VERSION >= 3
  678. return PyUnicode_FromString(return_value);
  679. #else
  680. return PyString_FromString(return_value);
  681. #endif
  682. }
  683. return nullptr;
  684. }
  685. /*
  686. * Python simple wrapper for
  687. * char const *interrogate_function_scoped_name(FunctionIndex function)
  688. */
  689. static PyObject *
  690. _inP07ytxQ10(PyObject *, PyObject *args) {
  691. int param0;
  692. if (PyArg_ParseTuple(args, "i", &param0)) {
  693. char const *return_value = ::interrogate_function_scoped_name((FunctionIndex)param0);
  694. #if PY_MAJOR_VERSION >= 3
  695. return PyUnicode_FromString(return_value);
  696. #else
  697. return PyString_FromString(return_value);
  698. #endif
  699. }
  700. return nullptr;
  701. }
  702. /*
  703. * Python simple wrapper for
  704. * bool interrogate_function_has_comment(FunctionIndex function)
  705. */
  706. static PyObject *
  707. _inP07yt6gPB(PyObject *, PyObject *args) {
  708. int param0;
  709. if (PyArg_ParseTuple(args, "i", &param0)) {
  710. bool return_value = ::interrogate_function_has_comment((FunctionIndex)param0);
  711. return PyBool_FromLong(return_value);
  712. }
  713. return nullptr;
  714. }
  715. /*
  716. * Python simple wrapper for
  717. * char const *interrogate_function_comment(FunctionIndex function)
  718. */
  719. static PyObject *
  720. _inP07ytISgV(PyObject *, PyObject *args) {
  721. int param0;
  722. if (PyArg_ParseTuple(args, "i", &param0)) {
  723. char const *return_value = ::interrogate_function_comment((FunctionIndex)param0);
  724. #if PY_MAJOR_VERSION >= 3
  725. return PyUnicode_FromString(return_value);
  726. #else
  727. return PyString_FromString(return_value);
  728. #endif
  729. }
  730. return nullptr;
  731. }
  732. /*
  733. * Python simple wrapper for
  734. * char const *interrogate_function_prototype(FunctionIndex function)
  735. */
  736. static PyObject *
  737. _inP07ytH3bx(PyObject *, PyObject *args) {
  738. int param0;
  739. if (PyArg_ParseTuple(args, "i", &param0)) {
  740. char const *return_value = ::interrogate_function_prototype((FunctionIndex)param0);
  741. #if PY_MAJOR_VERSION >= 3
  742. return PyUnicode_FromString(return_value);
  743. #else
  744. return PyString_FromString(return_value);
  745. #endif
  746. }
  747. return nullptr;
  748. }
  749. /*
  750. * Python simple wrapper for
  751. * bool interrogate_function_is_method(FunctionIndex function)
  752. */
  753. static PyObject *
  754. _inP07ytzeUk(PyObject *, PyObject *args) {
  755. int param0;
  756. if (PyArg_ParseTuple(args, "i", &param0)) {
  757. bool return_value = ::interrogate_function_is_method((FunctionIndex)param0);
  758. return PyBool_FromLong(return_value);
  759. }
  760. return nullptr;
  761. }
  762. /*
  763. * Python simple wrapper for
  764. * TypeIndex interrogate_function_class(FunctionIndex function)
  765. */
  766. static PyObject *
  767. _inP07ytUeI5(PyObject *, PyObject *args) {
  768. int param0;
  769. if (PyArg_ParseTuple(args, "i", &param0)) {
  770. TypeIndex return_value = ::interrogate_function_class((FunctionIndex)param0);
  771. #if PY_MAJOR_VERSION >= 3
  772. return PyLong_FromLong(return_value);
  773. #else
  774. return PyInt_FromLong(return_value);
  775. #endif
  776. }
  777. return nullptr;
  778. }
  779. /*
  780. * Python simple wrapper for
  781. * bool interrogate_function_has_module_name(FunctionIndex function)
  782. */
  783. static PyObject *
  784. _inP07ytuSvx(PyObject *, PyObject *args) {
  785. int param0;
  786. if (PyArg_ParseTuple(args, "i", &param0)) {
  787. bool return_value = ::interrogate_function_has_module_name((FunctionIndex)param0);
  788. return PyBool_FromLong(return_value);
  789. }
  790. return nullptr;
  791. }
  792. /*
  793. * Python simple wrapper for
  794. * char const *interrogate_function_module_name(FunctionIndex function)
  795. */
  796. static PyObject *
  797. _inP07ytwpYd(PyObject *, PyObject *args) {
  798. int param0;
  799. if (PyArg_ParseTuple(args, "i", &param0)) {
  800. char const *return_value = ::interrogate_function_module_name((FunctionIndex)param0);
  801. #if PY_MAJOR_VERSION >= 3
  802. return PyUnicode_FromString(return_value);
  803. #else
  804. return PyString_FromString(return_value);
  805. #endif
  806. }
  807. return nullptr;
  808. }
  809. /*
  810. * Python simple wrapper for
  811. * bool interrogate_function_has_library_name(FunctionIndex function)
  812. */
  813. static PyObject *
  814. _inP07ytOfNh(PyObject *, PyObject *args) {
  815. int param0;
  816. if (PyArg_ParseTuple(args, "i", &param0)) {
  817. bool return_value = ::interrogate_function_has_library_name((FunctionIndex)param0);
  818. return PyBool_FromLong(return_value);
  819. }
  820. return nullptr;
  821. }
  822. /*
  823. * Python simple wrapper for
  824. * char const *interrogate_function_library_name(FunctionIndex function)
  825. */
  826. static PyObject *
  827. _inP07ytf5_U(PyObject *, PyObject *args) {
  828. int param0;
  829. if (PyArg_ParseTuple(args, "i", &param0)) {
  830. char const *return_value = ::interrogate_function_library_name((FunctionIndex)param0);
  831. #if PY_MAJOR_VERSION >= 3
  832. return PyUnicode_FromString(return_value);
  833. #else
  834. return PyString_FromString(return_value);
  835. #endif
  836. }
  837. return nullptr;
  838. }
  839. /*
  840. * Python simple wrapper for
  841. * bool interrogate_function_is_virtual(FunctionIndex function)
  842. */
  843. static PyObject *
  844. _inP07ytL3ZB(PyObject *, PyObject *args) {
  845. int param0;
  846. if (PyArg_ParseTuple(args, "i", &param0)) {
  847. bool return_value = ::interrogate_function_is_virtual((FunctionIndex)param0);
  848. return PyBool_FromLong(return_value);
  849. }
  850. return nullptr;
  851. }
  852. /*
  853. * Python simple wrapper for
  854. * int interrogate_function_number_of_c_wrappers(FunctionIndex function)
  855. */
  856. static PyObject *
  857. _inP07ytXw0I(PyObject *, PyObject *args) {
  858. int param0;
  859. if (PyArg_ParseTuple(args, "i", &param0)) {
  860. int return_value = ::interrogate_function_number_of_c_wrappers((FunctionIndex)param0);
  861. #if PY_MAJOR_VERSION >= 3
  862. return PyLong_FromLong(return_value);
  863. #else
  864. return PyInt_FromLong(return_value);
  865. #endif
  866. }
  867. return nullptr;
  868. }
  869. /*
  870. * Python simple wrapper for
  871. * FunctionWrapperIndex interrogate_function_c_wrapper(FunctionIndex function, int n)
  872. */
  873. static PyObject *
  874. _inP07yt3zru(PyObject *, PyObject *args) {
  875. int param0;
  876. int param1;
  877. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  878. FunctionWrapperIndex return_value = ::interrogate_function_c_wrapper((FunctionIndex)param0, (int)param1);
  879. #if PY_MAJOR_VERSION >= 3
  880. return PyLong_FromLong(return_value);
  881. #else
  882. return PyInt_FromLong(return_value);
  883. #endif
  884. }
  885. return nullptr;
  886. }
  887. /*
  888. * Python simple wrapper for
  889. * int interrogate_function_number_of_python_wrappers(FunctionIndex function)
  890. */
  891. static PyObject *
  892. _inP07ytRrg2(PyObject *, PyObject *args) {
  893. int param0;
  894. if (PyArg_ParseTuple(args, "i", &param0)) {
  895. int return_value = ::interrogate_function_number_of_python_wrappers((FunctionIndex)param0);
  896. #if PY_MAJOR_VERSION >= 3
  897. return PyLong_FromLong(return_value);
  898. #else
  899. return PyInt_FromLong(return_value);
  900. #endif
  901. }
  902. return nullptr;
  903. }
  904. /*
  905. * Python simple wrapper for
  906. * FunctionWrapperIndex interrogate_function_python_wrapper(FunctionIndex function, int n)
  907. */
  908. static PyObject *
  909. _inP07ytEJCx(PyObject *, PyObject *args) {
  910. int param0;
  911. int param1;
  912. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  913. FunctionWrapperIndex return_value = ::interrogate_function_python_wrapper((FunctionIndex)param0, (int)param1);
  914. #if PY_MAJOR_VERSION >= 3
  915. return PyLong_FromLong(return_value);
  916. #else
  917. return PyInt_FromLong(return_value);
  918. #endif
  919. }
  920. return nullptr;
  921. }
  922. /*
  923. * Python simple wrapper for
  924. * char const *interrogate_wrapper_name(FunctionWrapperIndex wrapper)
  925. */
  926. static PyObject *
  927. _inP07ytWAZr(PyObject *, PyObject *args) {
  928. int param0;
  929. if (PyArg_ParseTuple(args, "i", &param0)) {
  930. char const *return_value = ::interrogate_wrapper_name((FunctionWrapperIndex)param0);
  931. #if PY_MAJOR_VERSION >= 3
  932. return PyUnicode_FromString(return_value);
  933. #else
  934. return PyString_FromString(return_value);
  935. #endif
  936. }
  937. return nullptr;
  938. }
  939. /*
  940. * Python simple wrapper for
  941. * bool interrogate_wrapper_is_callable_by_name(FunctionWrapperIndex wrapper)
  942. */
  943. static PyObject *
  944. _inP07ytrD_M(PyObject *, PyObject *args) {
  945. int param0;
  946. if (PyArg_ParseTuple(args, "i", &param0)) {
  947. bool return_value = ::interrogate_wrapper_is_callable_by_name((FunctionWrapperIndex)param0);
  948. return PyBool_FromLong(return_value);
  949. }
  950. return nullptr;
  951. }
  952. /*
  953. * Python simple wrapper for
  954. * bool interrogate_wrapper_has_comment(FunctionWrapperIndex wrapper)
  955. */
  956. static PyObject *
  957. _inP07ytjolz(PyObject *, PyObject *args) {
  958. int param0;
  959. if (PyArg_ParseTuple(args, "i", &param0)) {
  960. bool return_value = ::interrogate_wrapper_has_comment((FunctionWrapperIndex)param0);
  961. return PyBool_FromLong(return_value);
  962. }
  963. return nullptr;
  964. }
  965. /*
  966. * Python simple wrapper for
  967. * char const *interrogate_wrapper_comment(FunctionWrapperIndex wrapper)
  968. */
  969. static PyObject *
  970. _inP07ytt_JD(PyObject *, PyObject *args) {
  971. int param0;
  972. if (PyArg_ParseTuple(args, "i", &param0)) {
  973. char const *return_value = ::interrogate_wrapper_comment((FunctionWrapperIndex)param0);
  974. #if PY_MAJOR_VERSION >= 3
  975. return PyUnicode_FromString(return_value);
  976. #else
  977. return PyString_FromString(return_value);
  978. #endif
  979. }
  980. return nullptr;
  981. }
  982. /*
  983. * Python simple wrapper for
  984. * bool interrogate_wrapper_has_return_value(FunctionWrapperIndex wrapper)
  985. */
  986. static PyObject *
  987. _inP07ytwEts(PyObject *, PyObject *args) {
  988. int param0;
  989. if (PyArg_ParseTuple(args, "i", &param0)) {
  990. bool return_value = ::interrogate_wrapper_has_return_value((FunctionWrapperIndex)param0);
  991. return PyBool_FromLong(return_value);
  992. }
  993. return nullptr;
  994. }
  995. /*
  996. * Python simple wrapper for
  997. * TypeIndex interrogate_wrapper_return_type(FunctionWrapperIndex wrapper)
  998. */
  999. static PyObject *
  1000. _inP07ytrJWs(PyObject *, PyObject *args) {
  1001. int param0;
  1002. if (PyArg_ParseTuple(args, "i", &param0)) {
  1003. TypeIndex return_value = ::interrogate_wrapper_return_type((FunctionWrapperIndex)param0);
  1004. #if PY_MAJOR_VERSION >= 3
  1005. return PyLong_FromLong(return_value);
  1006. #else
  1007. return PyInt_FromLong(return_value);
  1008. #endif
  1009. }
  1010. return nullptr;
  1011. }
  1012. /*
  1013. * Python simple wrapper for
  1014. * bool interrogate_wrapper_caller_manages_return_value(FunctionWrapperIndex wrapper)
  1015. */
  1016. static PyObject *
  1017. _inP07ytpmFD(PyObject *, PyObject *args) {
  1018. int param0;
  1019. if (PyArg_ParseTuple(args, "i", &param0)) {
  1020. bool return_value = ::interrogate_wrapper_caller_manages_return_value((FunctionWrapperIndex)param0);
  1021. return PyBool_FromLong(return_value);
  1022. }
  1023. return nullptr;
  1024. }
  1025. /*
  1026. * Python simple wrapper for
  1027. * FunctionIndex interrogate_wrapper_return_value_destructor(FunctionWrapperIndex wrapper)
  1028. */
  1029. static PyObject *
  1030. _inP07ytyYUX(PyObject *, PyObject *args) {
  1031. int param0;
  1032. if (PyArg_ParseTuple(args, "i", &param0)) {
  1033. FunctionIndex return_value = ::interrogate_wrapper_return_value_destructor((FunctionWrapperIndex)param0);
  1034. #if PY_MAJOR_VERSION >= 3
  1035. return PyLong_FromLong(return_value);
  1036. #else
  1037. return PyInt_FromLong(return_value);
  1038. #endif
  1039. }
  1040. return nullptr;
  1041. }
  1042. /*
  1043. * Python simple wrapper for
  1044. * int interrogate_wrapper_number_of_parameters(FunctionWrapperIndex wrapper)
  1045. */
  1046. static PyObject *
  1047. _inP07yt54dn(PyObject *, PyObject *args) {
  1048. int param0;
  1049. if (PyArg_ParseTuple(args, "i", &param0)) {
  1050. int return_value = ::interrogate_wrapper_number_of_parameters((FunctionWrapperIndex)param0);
  1051. #if PY_MAJOR_VERSION >= 3
  1052. return PyLong_FromLong(return_value);
  1053. #else
  1054. return PyInt_FromLong(return_value);
  1055. #endif
  1056. }
  1057. return nullptr;
  1058. }
  1059. /*
  1060. * Python simple wrapper for
  1061. * TypeIndex interrogate_wrapper_parameter_type(FunctionWrapperIndex wrapper, int n)
  1062. */
  1063. static PyObject *
  1064. _inP07ytGMpW(PyObject *, PyObject *args) {
  1065. int param0;
  1066. int param1;
  1067. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1068. TypeIndex return_value = ::interrogate_wrapper_parameter_type((FunctionWrapperIndex)param0, (int)param1);
  1069. #if PY_MAJOR_VERSION >= 3
  1070. return PyLong_FromLong(return_value);
  1071. #else
  1072. return PyInt_FromLong(return_value);
  1073. #endif
  1074. }
  1075. return nullptr;
  1076. }
  1077. /*
  1078. * Python simple wrapper for
  1079. * bool interrogate_wrapper_parameter_has_name(FunctionWrapperIndex wrapper, int n)
  1080. */
  1081. static PyObject *
  1082. _inP07ytNuBV(PyObject *, PyObject *args) {
  1083. int param0;
  1084. int param1;
  1085. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1086. bool return_value = ::interrogate_wrapper_parameter_has_name((FunctionWrapperIndex)param0, (int)param1);
  1087. return PyBool_FromLong(return_value);
  1088. }
  1089. return nullptr;
  1090. }
  1091. /*
  1092. * Python simple wrapper for
  1093. * char const *interrogate_wrapper_parameter_name(FunctionWrapperIndex wrapper, int n)
  1094. */
  1095. static PyObject *
  1096. _inP07yt9UwA(PyObject *, PyObject *args) {
  1097. int param0;
  1098. int param1;
  1099. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1100. char const *return_value = ::interrogate_wrapper_parameter_name((FunctionWrapperIndex)param0, (int)param1);
  1101. #if PY_MAJOR_VERSION >= 3
  1102. return PyUnicode_FromString(return_value);
  1103. #else
  1104. return PyString_FromString(return_value);
  1105. #endif
  1106. }
  1107. return nullptr;
  1108. }
  1109. /*
  1110. * Python simple wrapper for
  1111. * bool interrogate_wrapper_parameter_is_this(FunctionWrapperIndex wrapper, int n)
  1112. */
  1113. static PyObject *
  1114. _inP07yt3FDt(PyObject *, PyObject *args) {
  1115. int param0;
  1116. int param1;
  1117. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1118. bool return_value = ::interrogate_wrapper_parameter_is_this((FunctionWrapperIndex)param0, (int)param1);
  1119. return PyBool_FromLong(return_value);
  1120. }
  1121. return nullptr;
  1122. }
  1123. /*
  1124. * Python simple wrapper for
  1125. * bool interrogate_wrapper_has_pointer(FunctionWrapperIndex wrapper)
  1126. */
  1127. static PyObject *
  1128. _inP07ytf513(PyObject *, PyObject *args) {
  1129. int param0;
  1130. if (PyArg_ParseTuple(args, "i", &param0)) {
  1131. bool return_value = ::interrogate_wrapper_has_pointer((FunctionWrapperIndex)param0);
  1132. return PyBool_FromLong(return_value);
  1133. }
  1134. return nullptr;
  1135. }
  1136. /*
  1137. * Python simple wrapper for
  1138. * void *interrogate_wrapper_pointer(FunctionWrapperIndex wrapper)
  1139. */
  1140. static PyObject *
  1141. _inP07ytsqGH(PyObject *, PyObject *args) {
  1142. int param0;
  1143. if (PyArg_ParseTuple(args, "i", &param0)) {
  1144. ::interrogate_wrapper_pointer((FunctionWrapperIndex)param0);
  1145. return Py_BuildValue("");
  1146. }
  1147. return nullptr;
  1148. }
  1149. /*
  1150. * Python simple wrapper for
  1151. * char const *interrogate_wrapper_unique_name(FunctionWrapperIndex wrapper)
  1152. */
  1153. static PyObject *
  1154. _inP07yt7shV(PyObject *, PyObject *args) {
  1155. int param0;
  1156. if (PyArg_ParseTuple(args, "i", &param0)) {
  1157. char const *return_value = ::interrogate_wrapper_unique_name((FunctionWrapperIndex)param0);
  1158. #if PY_MAJOR_VERSION >= 3
  1159. return PyUnicode_FromString(return_value);
  1160. #else
  1161. return PyString_FromString(return_value);
  1162. #endif
  1163. }
  1164. return nullptr;
  1165. }
  1166. /*
  1167. * Python simple wrapper for
  1168. * FunctionWrapperIndex interrogate_get_wrapper_by_unique_name(char const *unique_name)
  1169. */
  1170. static PyObject *
  1171. _inP07ytA1eF(PyObject *, PyObject *args) {
  1172. char *param0;
  1173. if (PyArg_ParseTuple(args, "s", &param0)) {
  1174. FunctionWrapperIndex return_value = ::interrogate_get_wrapper_by_unique_name((char const *)param0);
  1175. #if PY_MAJOR_VERSION >= 3
  1176. return PyLong_FromLong(return_value);
  1177. #else
  1178. return PyInt_FromLong(return_value);
  1179. #endif
  1180. }
  1181. return nullptr;
  1182. }
  1183. /*
  1184. * Python simple wrapper for
  1185. * char const *interrogate_make_seq_seq_name(MakeSeqIndex make_seq)
  1186. */
  1187. static PyObject *
  1188. _inP07yt776V(PyObject *, PyObject *args) {
  1189. int param0;
  1190. if (PyArg_ParseTuple(args, "i", &param0)) {
  1191. char const *return_value = ::interrogate_make_seq_seq_name((MakeSeqIndex)param0);
  1192. #if PY_MAJOR_VERSION >= 3
  1193. return PyUnicode_FromString(return_value);
  1194. #else
  1195. return PyString_FromString(return_value);
  1196. #endif
  1197. }
  1198. return nullptr;
  1199. }
  1200. /*
  1201. * Python simple wrapper for
  1202. * char const *interrogate_make_seq_scoped_name(MakeSeqIndex make_seq)
  1203. */
  1204. static PyObject *
  1205. _inP07ytryup(PyObject *, PyObject *args) {
  1206. int param0;
  1207. if (PyArg_ParseTuple(args, "i", &param0)) {
  1208. char const *return_value = ::interrogate_make_seq_scoped_name((MakeSeqIndex)param0);
  1209. #if PY_MAJOR_VERSION >= 3
  1210. return PyUnicode_FromString(return_value);
  1211. #else
  1212. return PyString_FromString(return_value);
  1213. #endif
  1214. }
  1215. return nullptr;
  1216. }
  1217. /*
  1218. * Python simple wrapper for
  1219. * bool interrogate_make_seq_has_comment(ElementIndex element)
  1220. */
  1221. static PyObject *
  1222. _inP07ytiytI(PyObject *, PyObject *args) {
  1223. int param0;
  1224. if (PyArg_ParseTuple(args, "i", &param0)) {
  1225. bool return_value = ::interrogate_make_seq_has_comment((ElementIndex)param0);
  1226. return PyBool_FromLong(return_value);
  1227. }
  1228. return nullptr;
  1229. }
  1230. /*
  1231. * Python simple wrapper for
  1232. * char const *interrogate_make_seq_comment(ElementIndex element)
  1233. */
  1234. static PyObject *
  1235. _inP07ytZc07(PyObject *, PyObject *args) {
  1236. int param0;
  1237. if (PyArg_ParseTuple(args, "i", &param0)) {
  1238. char const *return_value = ::interrogate_make_seq_comment((ElementIndex)param0);
  1239. #if PY_MAJOR_VERSION >= 3
  1240. return PyUnicode_FromString(return_value);
  1241. #else
  1242. return PyString_FromString(return_value);
  1243. #endif
  1244. }
  1245. return nullptr;
  1246. }
  1247. /*
  1248. * Python simple wrapper for
  1249. * char const *interrogate_make_seq_num_name(MakeSeqIndex make_seq)
  1250. */
  1251. static PyObject *
  1252. _inP07ytfaH0(PyObject *, PyObject *args) {
  1253. int param0;
  1254. if (PyArg_ParseTuple(args, "i", &param0)) {
  1255. char const *return_value = ::interrogate_make_seq_num_name((MakeSeqIndex)param0);
  1256. #if PY_MAJOR_VERSION >= 3
  1257. return PyUnicode_FromString(return_value);
  1258. #else
  1259. return PyString_FromString(return_value);
  1260. #endif
  1261. }
  1262. return nullptr;
  1263. }
  1264. /*
  1265. * Python simple wrapper for
  1266. * char const *interrogate_make_seq_element_name(MakeSeqIndex make_seq)
  1267. */
  1268. static PyObject *
  1269. _inP07ytGB9D(PyObject *, PyObject *args) {
  1270. int param0;
  1271. if (PyArg_ParseTuple(args, "i", &param0)) {
  1272. char const *return_value = ::interrogate_make_seq_element_name((MakeSeqIndex)param0);
  1273. #if PY_MAJOR_VERSION >= 3
  1274. return PyUnicode_FromString(return_value);
  1275. #else
  1276. return PyString_FromString(return_value);
  1277. #endif
  1278. }
  1279. return nullptr;
  1280. }
  1281. /*
  1282. * Python simple wrapper for
  1283. * int interrogate_number_of_global_types(void)
  1284. */
  1285. static PyObject *
  1286. _inP07ytsxxs(PyObject *, PyObject *args) {
  1287. if (PyArg_ParseTuple(args, "")) {
  1288. int return_value = ::interrogate_number_of_global_types();
  1289. #if PY_MAJOR_VERSION >= 3
  1290. return PyLong_FromLong(return_value);
  1291. #else
  1292. return PyInt_FromLong(return_value);
  1293. #endif
  1294. }
  1295. return nullptr;
  1296. }
  1297. /*
  1298. * Python simple wrapper for
  1299. * TypeIndex interrogate_get_global_type(int n)
  1300. */
  1301. static PyObject *
  1302. _inP07ytMT0z(PyObject *, PyObject *args) {
  1303. int param0;
  1304. if (PyArg_ParseTuple(args, "i", &param0)) {
  1305. TypeIndex return_value = ::interrogate_get_global_type((int)param0);
  1306. #if PY_MAJOR_VERSION >= 3
  1307. return PyLong_FromLong(return_value);
  1308. #else
  1309. return PyInt_FromLong(return_value);
  1310. #endif
  1311. }
  1312. return nullptr;
  1313. }
  1314. /*
  1315. * Python simple wrapper for
  1316. * int interrogate_number_of_types(void)
  1317. */
  1318. static PyObject *
  1319. _inP07ytiW3v(PyObject *, PyObject *args) {
  1320. if (PyArg_ParseTuple(args, "")) {
  1321. int return_value = ::interrogate_number_of_types();
  1322. #if PY_MAJOR_VERSION >= 3
  1323. return PyLong_FromLong(return_value);
  1324. #else
  1325. return PyInt_FromLong(return_value);
  1326. #endif
  1327. }
  1328. return nullptr;
  1329. }
  1330. /*
  1331. * Python simple wrapper for
  1332. * TypeIndex interrogate_get_type(int n)
  1333. */
  1334. static PyObject *
  1335. _inP07yt4Px8(PyObject *, PyObject *args) {
  1336. int param0;
  1337. if (PyArg_ParseTuple(args, "i", &param0)) {
  1338. TypeIndex return_value = ::interrogate_get_type((int)param0);
  1339. #if PY_MAJOR_VERSION >= 3
  1340. return PyLong_FromLong(return_value);
  1341. #else
  1342. return PyInt_FromLong(return_value);
  1343. #endif
  1344. }
  1345. return nullptr;
  1346. }
  1347. /*
  1348. * Python simple wrapper for
  1349. * TypeIndex interrogate_get_type_by_name(char const *type_name)
  1350. */
  1351. static PyObject *
  1352. _inP07ytNHcs(PyObject *, PyObject *args) {
  1353. char *param0;
  1354. if (PyArg_ParseTuple(args, "s", &param0)) {
  1355. TypeIndex return_value = ::interrogate_get_type_by_name((char const *)param0);
  1356. #if PY_MAJOR_VERSION >= 3
  1357. return PyLong_FromLong(return_value);
  1358. #else
  1359. return PyInt_FromLong(return_value);
  1360. #endif
  1361. }
  1362. return nullptr;
  1363. }
  1364. /*
  1365. * Python simple wrapper for
  1366. * TypeIndex interrogate_get_type_by_scoped_name(char const *type_name)
  1367. */
  1368. static PyObject *
  1369. _inP07ytqHrb(PyObject *, PyObject *args) {
  1370. char *param0;
  1371. if (PyArg_ParseTuple(args, "s", &param0)) {
  1372. TypeIndex return_value = ::interrogate_get_type_by_scoped_name((char const *)param0);
  1373. #if PY_MAJOR_VERSION >= 3
  1374. return PyLong_FromLong(return_value);
  1375. #else
  1376. return PyInt_FromLong(return_value);
  1377. #endif
  1378. }
  1379. return nullptr;
  1380. }
  1381. /*
  1382. * Python simple wrapper for
  1383. * TypeIndex interrogate_get_type_by_true_name(char const *type_name)
  1384. */
  1385. static PyObject *
  1386. _inP07ytaOqq(PyObject *, PyObject *args) {
  1387. char *param0;
  1388. if (PyArg_ParseTuple(args, "s", &param0)) {
  1389. TypeIndex return_value = ::interrogate_get_type_by_true_name((char const *)param0);
  1390. #if PY_MAJOR_VERSION >= 3
  1391. return PyLong_FromLong(return_value);
  1392. #else
  1393. return PyInt_FromLong(return_value);
  1394. #endif
  1395. }
  1396. return nullptr;
  1397. }
  1398. /*
  1399. * Python simple wrapper for
  1400. * bool interrogate_type_is_global(TypeIndex type)
  1401. */
  1402. static PyObject *
  1403. _inP07ytpTBb(PyObject *, PyObject *args) {
  1404. int param0;
  1405. if (PyArg_ParseTuple(args, "i", &param0)) {
  1406. bool return_value = ::interrogate_type_is_global((TypeIndex)param0);
  1407. return PyBool_FromLong(return_value);
  1408. }
  1409. return nullptr;
  1410. }
  1411. /*
  1412. * Python simple wrapper for
  1413. * char const *interrogate_type_name(TypeIndex type)
  1414. */
  1415. static PyObject *
  1416. _inP07ytqWOw(PyObject *, PyObject *args) {
  1417. int param0;
  1418. if (PyArg_ParseTuple(args, "i", &param0)) {
  1419. char const *return_value = ::interrogate_type_name((TypeIndex)param0);
  1420. #if PY_MAJOR_VERSION >= 3
  1421. return PyUnicode_FromString(return_value);
  1422. #else
  1423. return PyString_FromString(return_value);
  1424. #endif
  1425. }
  1426. return nullptr;
  1427. }
  1428. /*
  1429. * Python simple wrapper for
  1430. * char const *interrogate_type_scoped_name(TypeIndex type)
  1431. */
  1432. static PyObject *
  1433. _inP07ytHu7x(PyObject *, PyObject *args) {
  1434. int param0;
  1435. if (PyArg_ParseTuple(args, "i", &param0)) {
  1436. char const *return_value = ::interrogate_type_scoped_name((TypeIndex)param0);
  1437. #if PY_MAJOR_VERSION >= 3
  1438. return PyUnicode_FromString(return_value);
  1439. #else
  1440. return PyString_FromString(return_value);
  1441. #endif
  1442. }
  1443. return nullptr;
  1444. }
  1445. /*
  1446. * Python simple wrapper for
  1447. * char const *interrogate_type_true_name(TypeIndex type)
  1448. */
  1449. static PyObject *
  1450. _inP07ytwGnA(PyObject *, PyObject *args) {
  1451. int param0;
  1452. if (PyArg_ParseTuple(args, "i", &param0)) {
  1453. char const *return_value = ::interrogate_type_true_name((TypeIndex)param0);
  1454. #if PY_MAJOR_VERSION >= 3
  1455. return PyUnicode_FromString(return_value);
  1456. #else
  1457. return PyString_FromString(return_value);
  1458. #endif
  1459. }
  1460. return nullptr;
  1461. }
  1462. /*
  1463. * Python simple wrapper for
  1464. * bool interrogate_type_is_nested(TypeIndex type)
  1465. */
  1466. static PyObject *
  1467. _inP07ytXGxx(PyObject *, PyObject *args) {
  1468. int param0;
  1469. if (PyArg_ParseTuple(args, "i", &param0)) {
  1470. bool return_value = ::interrogate_type_is_nested((TypeIndex)param0);
  1471. return PyBool_FromLong(return_value);
  1472. }
  1473. return nullptr;
  1474. }
  1475. /*
  1476. * Python simple wrapper for
  1477. * TypeIndex interrogate_type_outer_class(TypeIndex type)
  1478. */
  1479. static PyObject *
  1480. _inP07ytj04Z(PyObject *, PyObject *args) {
  1481. int param0;
  1482. if (PyArg_ParseTuple(args, "i", &param0)) {
  1483. TypeIndex return_value = ::interrogate_type_outer_class((TypeIndex)param0);
  1484. #if PY_MAJOR_VERSION >= 3
  1485. return PyLong_FromLong(return_value);
  1486. #else
  1487. return PyInt_FromLong(return_value);
  1488. #endif
  1489. }
  1490. return nullptr;
  1491. }
  1492. /*
  1493. * Python simple wrapper for
  1494. * bool interrogate_type_has_comment(TypeIndex type)
  1495. */
  1496. static PyObject *
  1497. _inP07ytEOv4(PyObject *, PyObject *args) {
  1498. int param0;
  1499. if (PyArg_ParseTuple(args, "i", &param0)) {
  1500. bool return_value = ::interrogate_type_has_comment((TypeIndex)param0);
  1501. return PyBool_FromLong(return_value);
  1502. }
  1503. return nullptr;
  1504. }
  1505. /*
  1506. * Python simple wrapper for
  1507. * char const *interrogate_type_comment(TypeIndex type)
  1508. */
  1509. static PyObject *
  1510. _inP07ytpCqJ(PyObject *, PyObject *args) {
  1511. int param0;
  1512. if (PyArg_ParseTuple(args, "i", &param0)) {
  1513. char const *return_value = ::interrogate_type_comment((TypeIndex)param0);
  1514. #if PY_MAJOR_VERSION >= 3
  1515. return PyUnicode_FromString(return_value);
  1516. #else
  1517. return PyString_FromString(return_value);
  1518. #endif
  1519. }
  1520. return nullptr;
  1521. }
  1522. /*
  1523. * Python simple wrapper for
  1524. * bool interrogate_type_has_module_name(TypeIndex type)
  1525. */
  1526. static PyObject *
  1527. _inP07yt_Pz3(PyObject *, PyObject *args) {
  1528. int param0;
  1529. if (PyArg_ParseTuple(args, "i", &param0)) {
  1530. bool return_value = ::interrogate_type_has_module_name((TypeIndex)param0);
  1531. return PyBool_FromLong(return_value);
  1532. }
  1533. return nullptr;
  1534. }
  1535. /*
  1536. * Python simple wrapper for
  1537. * char const *interrogate_type_module_name(TypeIndex type)
  1538. */
  1539. static PyObject *
  1540. _inP07ytt_06(PyObject *, PyObject *args) {
  1541. int param0;
  1542. if (PyArg_ParseTuple(args, "i", &param0)) {
  1543. char const *return_value = ::interrogate_type_module_name((TypeIndex)param0);
  1544. #if PY_MAJOR_VERSION >= 3
  1545. return PyUnicode_FromString(return_value);
  1546. #else
  1547. return PyString_FromString(return_value);
  1548. #endif
  1549. }
  1550. return nullptr;
  1551. }
  1552. /*
  1553. * Python simple wrapper for
  1554. * bool interrogate_type_has_library_name(TypeIndex type)
  1555. */
  1556. static PyObject *
  1557. _inP07ytmuPs(PyObject *, PyObject *args) {
  1558. int param0;
  1559. if (PyArg_ParseTuple(args, "i", &param0)) {
  1560. bool return_value = ::interrogate_type_has_library_name((TypeIndex)param0);
  1561. return PyBool_FromLong(return_value);
  1562. }
  1563. return nullptr;
  1564. }
  1565. /*
  1566. * Python simple wrapper for
  1567. * char const *interrogate_type_library_name(TypeIndex type)
  1568. */
  1569. static PyObject *
  1570. _inP07ytvM8B(PyObject *, PyObject *args) {
  1571. int param0;
  1572. if (PyArg_ParseTuple(args, "i", &param0)) {
  1573. char const *return_value = ::interrogate_type_library_name((TypeIndex)param0);
  1574. #if PY_MAJOR_VERSION >= 3
  1575. return PyUnicode_FromString(return_value);
  1576. #else
  1577. return PyString_FromString(return_value);
  1578. #endif
  1579. }
  1580. return nullptr;
  1581. }
  1582. /*
  1583. * Python simple wrapper for
  1584. * bool interrogate_type_is_atomic(TypeIndex type)
  1585. */
  1586. static PyObject *
  1587. _inP07ytap97(PyObject *, PyObject *args) {
  1588. int param0;
  1589. if (PyArg_ParseTuple(args, "i", &param0)) {
  1590. bool return_value = ::interrogate_type_is_atomic((TypeIndex)param0);
  1591. return PyBool_FromLong(return_value);
  1592. }
  1593. return nullptr;
  1594. }
  1595. /*
  1596. * Python simple wrapper for
  1597. * AtomicToken interrogate_type_atomic_token(TypeIndex type)
  1598. */
  1599. static PyObject *
  1600. _inP07yt0o8D(PyObject *, PyObject *args) {
  1601. int param0;
  1602. if (PyArg_ParseTuple(args, "i", &param0)) {
  1603. AtomicToken return_value = ::interrogate_type_atomic_token((TypeIndex)param0);
  1604. #if PY_MAJOR_VERSION >= 3
  1605. return PyLong_FromLong(return_value);
  1606. #else
  1607. return PyInt_FromLong(return_value);
  1608. #endif
  1609. }
  1610. return nullptr;
  1611. }
  1612. /*
  1613. * Python simple wrapper for
  1614. * bool interrogate_type_is_unsigned(TypeIndex type)
  1615. */
  1616. static PyObject *
  1617. _inP07ytOoQ2(PyObject *, PyObject *args) {
  1618. int param0;
  1619. if (PyArg_ParseTuple(args, "i", &param0)) {
  1620. bool return_value = ::interrogate_type_is_unsigned((TypeIndex)param0);
  1621. return PyBool_FromLong(return_value);
  1622. }
  1623. return nullptr;
  1624. }
  1625. /*
  1626. * Python simple wrapper for
  1627. * bool interrogate_type_is_signed(TypeIndex type)
  1628. */
  1629. static PyObject *
  1630. _inP07ytKuFh(PyObject *, PyObject *args) {
  1631. int param0;
  1632. if (PyArg_ParseTuple(args, "i", &param0)) {
  1633. bool return_value = ::interrogate_type_is_signed((TypeIndex)param0);
  1634. return PyBool_FromLong(return_value);
  1635. }
  1636. return nullptr;
  1637. }
  1638. /*
  1639. * Python simple wrapper for
  1640. * bool interrogate_type_is_long(TypeIndex type)
  1641. */
  1642. static PyObject *
  1643. _inP07yto5L6(PyObject *, PyObject *args) {
  1644. int param0;
  1645. if (PyArg_ParseTuple(args, "i", &param0)) {
  1646. bool return_value = ::interrogate_type_is_long((TypeIndex)param0);
  1647. return PyBool_FromLong(return_value);
  1648. }
  1649. return nullptr;
  1650. }
  1651. /*
  1652. * Python simple wrapper for
  1653. * bool interrogate_type_is_longlong(TypeIndex type)
  1654. */
  1655. static PyObject *
  1656. _inP07ytzgKK(PyObject *, PyObject *args) {
  1657. int param0;
  1658. if (PyArg_ParseTuple(args, "i", &param0)) {
  1659. bool return_value = ::interrogate_type_is_longlong((TypeIndex)param0);
  1660. return PyBool_FromLong(return_value);
  1661. }
  1662. return nullptr;
  1663. }
  1664. /*
  1665. * Python simple wrapper for
  1666. * bool interrogate_type_is_short(TypeIndex type)
  1667. */
  1668. static PyObject *
  1669. _inP07yt0FIF(PyObject *, PyObject *args) {
  1670. int param0;
  1671. if (PyArg_ParseTuple(args, "i", &param0)) {
  1672. bool return_value = ::interrogate_type_is_short((TypeIndex)param0);
  1673. return PyBool_FromLong(return_value);
  1674. }
  1675. return nullptr;
  1676. }
  1677. /*
  1678. * Python simple wrapper for
  1679. * bool interrogate_type_is_wrapped(TypeIndex type)
  1680. */
  1681. static PyObject *
  1682. _inP07ytZqvD(PyObject *, PyObject *args) {
  1683. int param0;
  1684. if (PyArg_ParseTuple(args, "i", &param0)) {
  1685. bool return_value = ::interrogate_type_is_wrapped((TypeIndex)param0);
  1686. return PyBool_FromLong(return_value);
  1687. }
  1688. return nullptr;
  1689. }
  1690. /*
  1691. * Python simple wrapper for
  1692. * bool interrogate_type_is_pointer(TypeIndex type)
  1693. */
  1694. static PyObject *
  1695. _inP07ytDyRd(PyObject *, PyObject *args) {
  1696. int param0;
  1697. if (PyArg_ParseTuple(args, "i", &param0)) {
  1698. bool return_value = ::interrogate_type_is_pointer((TypeIndex)param0);
  1699. return PyBool_FromLong(return_value);
  1700. }
  1701. return nullptr;
  1702. }
  1703. /*
  1704. * Python simple wrapper for
  1705. * bool interrogate_type_is_const(TypeIndex type)
  1706. */
  1707. static PyObject *
  1708. _inP07ytMnKa(PyObject *, PyObject *args) {
  1709. int param0;
  1710. if (PyArg_ParseTuple(args, "i", &param0)) {
  1711. bool return_value = ::interrogate_type_is_const((TypeIndex)param0);
  1712. return PyBool_FromLong(return_value);
  1713. }
  1714. return nullptr;
  1715. }
  1716. /*
  1717. * Python simple wrapper for
  1718. * bool interrogate_type_is_typedef(TypeIndex type)
  1719. */
  1720. static PyObject *
  1721. _inP07ytRtji(PyObject *, PyObject *args) {
  1722. int param0;
  1723. if (PyArg_ParseTuple(args, "i", &param0)) {
  1724. bool return_value = ::interrogate_type_is_typedef((TypeIndex)param0);
  1725. return PyBool_FromLong(return_value);
  1726. }
  1727. return nullptr;
  1728. }
  1729. /*
  1730. * Python simple wrapper for
  1731. * TypeIndex interrogate_type_wrapped_type(TypeIndex type)
  1732. */
  1733. static PyObject *
  1734. _inP07ytCnbQ(PyObject *, PyObject *args) {
  1735. int param0;
  1736. if (PyArg_ParseTuple(args, "i", &param0)) {
  1737. TypeIndex return_value = ::interrogate_type_wrapped_type((TypeIndex)param0);
  1738. #if PY_MAJOR_VERSION >= 3
  1739. return PyLong_FromLong(return_value);
  1740. #else
  1741. return PyInt_FromLong(return_value);
  1742. #endif
  1743. }
  1744. return nullptr;
  1745. }
  1746. /*
  1747. * Python simple wrapper for
  1748. * bool interrogate_type_is_enum(TypeIndex type)
  1749. */
  1750. static PyObject *
  1751. _inP07ytdUVN(PyObject *, PyObject *args) {
  1752. int param0;
  1753. if (PyArg_ParseTuple(args, "i", &param0)) {
  1754. bool return_value = ::interrogate_type_is_enum((TypeIndex)param0);
  1755. return PyBool_FromLong(return_value);
  1756. }
  1757. return nullptr;
  1758. }
  1759. /*
  1760. * Python simple wrapper for
  1761. * int interrogate_type_number_of_enum_values(TypeIndex type)
  1762. */
  1763. static PyObject *
  1764. _inP07ytihbt(PyObject *, PyObject *args) {
  1765. int param0;
  1766. if (PyArg_ParseTuple(args, "i", &param0)) {
  1767. int return_value = ::interrogate_type_number_of_enum_values((TypeIndex)param0);
  1768. #if PY_MAJOR_VERSION >= 3
  1769. return PyLong_FromLong(return_value);
  1770. #else
  1771. return PyInt_FromLong(return_value);
  1772. #endif
  1773. }
  1774. return nullptr;
  1775. }
  1776. /*
  1777. * Python simple wrapper for
  1778. * char const *interrogate_type_enum_value_name(TypeIndex type, int n)
  1779. */
  1780. static PyObject *
  1781. _inP07ytbyPY(PyObject *, PyObject *args) {
  1782. int param0;
  1783. int param1;
  1784. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1785. char const *return_value = ::interrogate_type_enum_value_name((TypeIndex)param0, (int)param1);
  1786. #if PY_MAJOR_VERSION >= 3
  1787. return PyUnicode_FromString(return_value);
  1788. #else
  1789. return PyString_FromString(return_value);
  1790. #endif
  1791. }
  1792. return nullptr;
  1793. }
  1794. /*
  1795. * Python simple wrapper for
  1796. * char const *interrogate_type_enum_value_scoped_name(TypeIndex type, int n)
  1797. */
  1798. static PyObject *
  1799. _inP07ytAaT6(PyObject *, PyObject *args) {
  1800. int param0;
  1801. int param1;
  1802. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1803. char const *return_value = ::interrogate_type_enum_value_scoped_name((TypeIndex)param0, (int)param1);
  1804. #if PY_MAJOR_VERSION >= 3
  1805. return PyUnicode_FromString(return_value);
  1806. #else
  1807. return PyString_FromString(return_value);
  1808. #endif
  1809. }
  1810. return nullptr;
  1811. }
  1812. /*
  1813. * Python simple wrapper for
  1814. * char const *interrogate_type_enum_value_comment(TypeIndex type, int n)
  1815. */
  1816. static PyObject *
  1817. _inP07ytgL9q(PyObject *, PyObject *args) {
  1818. int param0;
  1819. int param1;
  1820. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1821. char const *return_value = ::interrogate_type_enum_value_comment((TypeIndex)param0, (int)param1);
  1822. #if PY_MAJOR_VERSION >= 3
  1823. return PyUnicode_FromString(return_value);
  1824. #else
  1825. return PyString_FromString(return_value);
  1826. #endif
  1827. }
  1828. return nullptr;
  1829. }
  1830. /*
  1831. * Python simple wrapper for
  1832. * int interrogate_type_enum_value(TypeIndex type, int n)
  1833. */
  1834. static PyObject *
  1835. _inP07ytWB97(PyObject *, PyObject *args) {
  1836. int param0;
  1837. int param1;
  1838. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1839. int return_value = ::interrogate_type_enum_value((TypeIndex)param0, (int)param1);
  1840. #if PY_MAJOR_VERSION >= 3
  1841. return PyLong_FromLong(return_value);
  1842. #else
  1843. return PyInt_FromLong(return_value);
  1844. #endif
  1845. }
  1846. return nullptr;
  1847. }
  1848. /*
  1849. * Python simple wrapper for
  1850. * bool interrogate_type_is_struct(TypeIndex type)
  1851. */
  1852. static PyObject *
  1853. _inP07ytDUAl(PyObject *, PyObject *args) {
  1854. int param0;
  1855. if (PyArg_ParseTuple(args, "i", &param0)) {
  1856. bool return_value = ::interrogate_type_is_struct((TypeIndex)param0);
  1857. return PyBool_FromLong(return_value);
  1858. }
  1859. return nullptr;
  1860. }
  1861. /*
  1862. * Python simple wrapper for
  1863. * bool interrogate_type_is_class(TypeIndex type)
  1864. */
  1865. static PyObject *
  1866. _inP07yt1_Kf(PyObject *, PyObject *args) {
  1867. int param0;
  1868. if (PyArg_ParseTuple(args, "i", &param0)) {
  1869. bool return_value = ::interrogate_type_is_class((TypeIndex)param0);
  1870. return PyBool_FromLong(return_value);
  1871. }
  1872. return nullptr;
  1873. }
  1874. /*
  1875. * Python simple wrapper for
  1876. * bool interrogate_type_is_union(TypeIndex type)
  1877. */
  1878. static PyObject *
  1879. _inP07yt98lD(PyObject *, PyObject *args) {
  1880. int param0;
  1881. if (PyArg_ParseTuple(args, "i", &param0)) {
  1882. bool return_value = ::interrogate_type_is_union((TypeIndex)param0);
  1883. return PyBool_FromLong(return_value);
  1884. }
  1885. return nullptr;
  1886. }
  1887. /*
  1888. * Python simple wrapper for
  1889. * bool interrogate_type_is_fully_defined(TypeIndex type)
  1890. */
  1891. static PyObject *
  1892. _inP07yt9SHr(PyObject *, PyObject *args) {
  1893. int param0;
  1894. if (PyArg_ParseTuple(args, "i", &param0)) {
  1895. bool return_value = ::interrogate_type_is_fully_defined((TypeIndex)param0);
  1896. return PyBool_FromLong(return_value);
  1897. }
  1898. return nullptr;
  1899. }
  1900. /*
  1901. * Python simple wrapper for
  1902. * bool interrogate_type_is_unpublished(TypeIndex type)
  1903. */
  1904. static PyObject *
  1905. _inP07ytdiZP(PyObject *, PyObject *args) {
  1906. int param0;
  1907. if (PyArg_ParseTuple(args, "i", &param0)) {
  1908. bool return_value = ::interrogate_type_is_unpublished((TypeIndex)param0);
  1909. return PyBool_FromLong(return_value);
  1910. }
  1911. return nullptr;
  1912. }
  1913. /*
  1914. * Python simple wrapper for
  1915. * int interrogate_type_number_of_constructors(TypeIndex type)
  1916. */
  1917. static PyObject *
  1918. _inP07ytTdER(PyObject *, PyObject *args) {
  1919. int param0;
  1920. if (PyArg_ParseTuple(args, "i", &param0)) {
  1921. int return_value = ::interrogate_type_number_of_constructors((TypeIndex)param0);
  1922. #if PY_MAJOR_VERSION >= 3
  1923. return PyLong_FromLong(return_value);
  1924. #else
  1925. return PyInt_FromLong(return_value);
  1926. #endif
  1927. }
  1928. return nullptr;
  1929. }
  1930. /*
  1931. * Python simple wrapper for
  1932. * FunctionIndex interrogate_type_get_constructor(TypeIndex type, int n)
  1933. */
  1934. static PyObject *
  1935. _inP07ytYO56(PyObject *, PyObject *args) {
  1936. int param0;
  1937. int param1;
  1938. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  1939. FunctionIndex return_value = ::interrogate_type_get_constructor((TypeIndex)param0, (int)param1);
  1940. #if PY_MAJOR_VERSION >= 3
  1941. return PyLong_FromLong(return_value);
  1942. #else
  1943. return PyInt_FromLong(return_value);
  1944. #endif
  1945. }
  1946. return nullptr;
  1947. }
  1948. /*
  1949. * Python simple wrapper for
  1950. * bool interrogate_type_has_destructor(TypeIndex type)
  1951. */
  1952. static PyObject *
  1953. _inP07ytxtCG(PyObject *, PyObject *args) {
  1954. int param0;
  1955. if (PyArg_ParseTuple(args, "i", &param0)) {
  1956. bool return_value = ::interrogate_type_has_destructor((TypeIndex)param0);
  1957. return PyBool_FromLong(return_value);
  1958. }
  1959. return nullptr;
  1960. }
  1961. /*
  1962. * Python simple wrapper for
  1963. * bool interrogate_type_destructor_is_inherited(TypeIndex type)
  1964. */
  1965. static PyObject *
  1966. _inP07yt_EB2(PyObject *, PyObject *args) {
  1967. int param0;
  1968. if (PyArg_ParseTuple(args, "i", &param0)) {
  1969. bool return_value = ::interrogate_type_destructor_is_inherited((TypeIndex)param0);
  1970. return PyBool_FromLong(return_value);
  1971. }
  1972. return nullptr;
  1973. }
  1974. /*
  1975. * Python simple wrapper for
  1976. * FunctionIndex interrogate_type_get_destructor(TypeIndex type)
  1977. */
  1978. static PyObject *
  1979. _inP07ytEG1l(PyObject *, PyObject *args) {
  1980. int param0;
  1981. if (PyArg_ParseTuple(args, "i", &param0)) {
  1982. FunctionIndex return_value = ::interrogate_type_get_destructor((TypeIndex)param0);
  1983. #if PY_MAJOR_VERSION >= 3
  1984. return PyLong_FromLong(return_value);
  1985. #else
  1986. return PyInt_FromLong(return_value);
  1987. #endif
  1988. }
  1989. return nullptr;
  1990. }
  1991. /*
  1992. * Python simple wrapper for
  1993. * int interrogate_type_number_of_elements(TypeIndex type)
  1994. */
  1995. static PyObject *
  1996. _inP07yt7tUq(PyObject *, PyObject *args) {
  1997. int param0;
  1998. if (PyArg_ParseTuple(args, "i", &param0)) {
  1999. int return_value = ::interrogate_type_number_of_elements((TypeIndex)param0);
  2000. #if PY_MAJOR_VERSION >= 3
  2001. return PyLong_FromLong(return_value);
  2002. #else
  2003. return PyInt_FromLong(return_value);
  2004. #endif
  2005. }
  2006. return nullptr;
  2007. }
  2008. /*
  2009. * Python simple wrapper for
  2010. * ElementIndex interrogate_type_get_element(TypeIndex type, int n)
  2011. */
  2012. static PyObject *
  2013. _inP07ytyStU(PyObject *, PyObject *args) {
  2014. int param0;
  2015. int param1;
  2016. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2017. ElementIndex return_value = ::interrogate_type_get_element((TypeIndex)param0, (int)param1);
  2018. #if PY_MAJOR_VERSION >= 3
  2019. return PyLong_FromLong(return_value);
  2020. #else
  2021. return PyInt_FromLong(return_value);
  2022. #endif
  2023. }
  2024. return nullptr;
  2025. }
  2026. /*
  2027. * Python simple wrapper for
  2028. * int interrogate_type_number_of_methods(TypeIndex type)
  2029. */
  2030. static PyObject *
  2031. _inP07ytdM85(PyObject *, PyObject *args) {
  2032. int param0;
  2033. if (PyArg_ParseTuple(args, "i", &param0)) {
  2034. int return_value = ::interrogate_type_number_of_methods((TypeIndex)param0);
  2035. #if PY_MAJOR_VERSION >= 3
  2036. return PyLong_FromLong(return_value);
  2037. #else
  2038. return PyInt_FromLong(return_value);
  2039. #endif
  2040. }
  2041. return nullptr;
  2042. }
  2043. /*
  2044. * Python simple wrapper for
  2045. * FunctionIndex interrogate_type_get_method(TypeIndex type, int n)
  2046. */
  2047. static PyObject *
  2048. _inP07ytk_GN(PyObject *, PyObject *args) {
  2049. int param0;
  2050. int param1;
  2051. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2052. FunctionIndex return_value = ::interrogate_type_get_method((TypeIndex)param0, (int)param1);
  2053. #if PY_MAJOR_VERSION >= 3
  2054. return PyLong_FromLong(return_value);
  2055. #else
  2056. return PyInt_FromLong(return_value);
  2057. #endif
  2058. }
  2059. return nullptr;
  2060. }
  2061. /*
  2062. * Python simple wrapper for
  2063. * int interrogate_type_number_of_make_seqs(TypeIndex type)
  2064. */
  2065. static PyObject *
  2066. _inP07yt8QjG(PyObject *, PyObject *args) {
  2067. int param0;
  2068. if (PyArg_ParseTuple(args, "i", &param0)) {
  2069. int return_value = ::interrogate_type_number_of_make_seqs((TypeIndex)param0);
  2070. #if PY_MAJOR_VERSION >= 3
  2071. return PyLong_FromLong(return_value);
  2072. #else
  2073. return PyInt_FromLong(return_value);
  2074. #endif
  2075. }
  2076. return nullptr;
  2077. }
  2078. /*
  2079. * Python simple wrapper for
  2080. * MakeSeqIndex interrogate_type_get_make_seq(TypeIndex type, int n)
  2081. */
  2082. static PyObject *
  2083. _inP07ytyMtj(PyObject *, PyObject *args) {
  2084. int param0;
  2085. int param1;
  2086. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2087. MakeSeqIndex return_value = ::interrogate_type_get_make_seq((TypeIndex)param0, (int)param1);
  2088. #if PY_MAJOR_VERSION >= 3
  2089. return PyLong_FromLong(return_value);
  2090. #else
  2091. return PyInt_FromLong(return_value);
  2092. #endif
  2093. }
  2094. return nullptr;
  2095. }
  2096. /*
  2097. * Python simple wrapper for
  2098. * int interrogate_type_number_of_casts(TypeIndex type)
  2099. */
  2100. static PyObject *
  2101. _inP07ytHDtN(PyObject *, PyObject *args) {
  2102. int param0;
  2103. if (PyArg_ParseTuple(args, "i", &param0)) {
  2104. int return_value = ::interrogate_type_number_of_casts((TypeIndex)param0);
  2105. #if PY_MAJOR_VERSION >= 3
  2106. return PyLong_FromLong(return_value);
  2107. #else
  2108. return PyInt_FromLong(return_value);
  2109. #endif
  2110. }
  2111. return nullptr;
  2112. }
  2113. /*
  2114. * Python simple wrapper for
  2115. * FunctionIndex interrogate_type_get_cast(TypeIndex type, int n)
  2116. */
  2117. static PyObject *
  2118. _inP07ytHFjA(PyObject *, PyObject *args) {
  2119. int param0;
  2120. int param1;
  2121. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2122. FunctionIndex return_value = ::interrogate_type_get_cast((TypeIndex)param0, (int)param1);
  2123. #if PY_MAJOR_VERSION >= 3
  2124. return PyLong_FromLong(return_value);
  2125. #else
  2126. return PyInt_FromLong(return_value);
  2127. #endif
  2128. }
  2129. return nullptr;
  2130. }
  2131. /*
  2132. * Python simple wrapper for
  2133. * int interrogate_type_number_of_derivations(TypeIndex type)
  2134. */
  2135. static PyObject *
  2136. _inP07yt_NPR(PyObject *, PyObject *args) {
  2137. int param0;
  2138. if (PyArg_ParseTuple(args, "i", &param0)) {
  2139. int return_value = ::interrogate_type_number_of_derivations((TypeIndex)param0);
  2140. #if PY_MAJOR_VERSION >= 3
  2141. return PyLong_FromLong(return_value);
  2142. #else
  2143. return PyInt_FromLong(return_value);
  2144. #endif
  2145. }
  2146. return nullptr;
  2147. }
  2148. /*
  2149. * Python simple wrapper for
  2150. * TypeIndex interrogate_type_get_derivation(TypeIndex type, int n)
  2151. */
  2152. static PyObject *
  2153. _inP07ytcTOH(PyObject *, PyObject *args) {
  2154. int param0;
  2155. int param1;
  2156. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2157. TypeIndex return_value = ::interrogate_type_get_derivation((TypeIndex)param0, (int)param1);
  2158. #if PY_MAJOR_VERSION >= 3
  2159. return PyLong_FromLong(return_value);
  2160. #else
  2161. return PyInt_FromLong(return_value);
  2162. #endif
  2163. }
  2164. return nullptr;
  2165. }
  2166. /*
  2167. * Python simple wrapper for
  2168. * bool interrogate_type_derivation_has_upcast(TypeIndex type, int n)
  2169. */
  2170. static PyObject *
  2171. _inP07ythdU7(PyObject *, PyObject *args) {
  2172. int param0;
  2173. int param1;
  2174. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2175. bool return_value = ::interrogate_type_derivation_has_upcast((TypeIndex)param0, (int)param1);
  2176. return PyBool_FromLong(return_value);
  2177. }
  2178. return nullptr;
  2179. }
  2180. /*
  2181. * Python simple wrapper for
  2182. * FunctionIndex interrogate_type_get_upcast(TypeIndex type, int n)
  2183. */
  2184. static PyObject *
  2185. _inP07ytQPxU(PyObject *, PyObject *args) {
  2186. int param0;
  2187. int param1;
  2188. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2189. FunctionIndex return_value = ::interrogate_type_get_upcast((TypeIndex)param0, (int)param1);
  2190. #if PY_MAJOR_VERSION >= 3
  2191. return PyLong_FromLong(return_value);
  2192. #else
  2193. return PyInt_FromLong(return_value);
  2194. #endif
  2195. }
  2196. return nullptr;
  2197. }
  2198. /*
  2199. * Python simple wrapper for
  2200. * bool interrogate_type_derivation_downcast_is_impossible(TypeIndex type, int n)
  2201. */
  2202. static PyObject *
  2203. _inP07ytO7Pz(PyObject *, PyObject *args) {
  2204. int param0;
  2205. int param1;
  2206. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2207. bool return_value = ::interrogate_type_derivation_downcast_is_impossible((TypeIndex)param0, (int)param1);
  2208. return PyBool_FromLong(return_value);
  2209. }
  2210. return nullptr;
  2211. }
  2212. /*
  2213. * Python simple wrapper for
  2214. * bool interrogate_type_derivation_has_downcast(TypeIndex type, int n)
  2215. */
  2216. static PyObject *
  2217. _inP07ytvu_E(PyObject *, PyObject *args) {
  2218. int param0;
  2219. int param1;
  2220. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2221. bool return_value = ::interrogate_type_derivation_has_downcast((TypeIndex)param0, (int)param1);
  2222. return PyBool_FromLong(return_value);
  2223. }
  2224. return nullptr;
  2225. }
  2226. /*
  2227. * Python simple wrapper for
  2228. * FunctionIndex interrogate_type_get_downcast(TypeIndex type, int n)
  2229. */
  2230. static PyObject *
  2231. _inP07ytxGUt(PyObject *, PyObject *args) {
  2232. int param0;
  2233. int param1;
  2234. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2235. FunctionIndex return_value = ::interrogate_type_get_downcast((TypeIndex)param0, (int)param1);
  2236. #if PY_MAJOR_VERSION >= 3
  2237. return PyLong_FromLong(return_value);
  2238. #else
  2239. return PyInt_FromLong(return_value);
  2240. #endif
  2241. }
  2242. return nullptr;
  2243. }
  2244. /*
  2245. * Python simple wrapper for
  2246. * int interrogate_type_number_of_nested_types(TypeIndex type)
  2247. */
  2248. static PyObject *
  2249. _inP07ytzM1P(PyObject *, PyObject *args) {
  2250. int param0;
  2251. if (PyArg_ParseTuple(args, "i", &param0)) {
  2252. int return_value = ::interrogate_type_number_of_nested_types((TypeIndex)param0);
  2253. #if PY_MAJOR_VERSION >= 3
  2254. return PyLong_FromLong(return_value);
  2255. #else
  2256. return PyInt_FromLong(return_value);
  2257. #endif
  2258. }
  2259. return nullptr;
  2260. }
  2261. /*
  2262. * Python simple wrapper for
  2263. * TypeIndex interrogate_type_get_nested_type(TypeIndex type, int n)
  2264. */
  2265. static PyObject *
  2266. _inP07ytoY5L(PyObject *, PyObject *args) {
  2267. int param0;
  2268. int param1;
  2269. if (PyArg_ParseTuple(args, "ii", &param0, &param1)) {
  2270. TypeIndex return_value = ::interrogate_type_get_nested_type((TypeIndex)param0, (int)param1);
  2271. #if PY_MAJOR_VERSION >= 3
  2272. return PyLong_FromLong(return_value);
  2273. #else
  2274. return PyInt_FromLong(return_value);
  2275. #endif
  2276. }
  2277. return nullptr;
  2278. }
  2279. /*
  2280. * Python simple wrapper for
  2281. * void interrogate_request_database(char const *database_filename)
  2282. */
  2283. static PyObject *
  2284. _inP07yte_7S(PyObject *, PyObject *args) {
  2285. char *param0;
  2286. if (PyArg_ParseTuple(args, "s", &param0)) {
  2287. ::interrogate_request_database((char const *)param0);
  2288. return Py_BuildValue("");
  2289. }
  2290. return nullptr;
  2291. }
  2292. /*
  2293. * Python simple wrapper for
  2294. * void interrogate_request_module(InterrogateModuleDef *def)
  2295. */
  2296. static PyObject *
  2297. _inP07ytw_15(PyObject *, PyObject *args) {
  2298. Py_ssize_t param0;
  2299. if (PyArg_ParseTuple(args, "n", &param0)) {
  2300. ::interrogate_request_module((InterrogateModuleDef *)param0);
  2301. return Py_BuildValue("");
  2302. }
  2303. return nullptr;
  2304. }
  2305. static PyMethodDef python_simple_funcs[] = {
  2306. { "interrogate_add_search_directory", &_inP07yttbRf, METH_VARARGS },
  2307. { "interrogate_add_search_path", &_inP07ytda_g, METH_VARARGS },
  2308. { "interrogate_error_flag", &_inP07yt4RgX, METH_VARARGS },
  2309. { "interrogate_number_of_manifests", &_inP07yt3Gip, METH_VARARGS },
  2310. { "interrogate_get_manifest", &_inP07ytRKDz, METH_VARARGS },
  2311. { "interrogate_get_manifest_by_name", &_inP07ytgZ9N, METH_VARARGS },
  2312. { "interrogate_manifest_name", &_inP07ytFnRZ, METH_VARARGS },
  2313. { "interrogate_manifest_definition", &_inP07ytg0Qv, METH_VARARGS },
  2314. { "interrogate_manifest_has_type", &_inP07yttrqw, METH_VARARGS },
  2315. { "interrogate_manifest_get_type", &_inP07ytdmpW, METH_VARARGS },
  2316. { "interrogate_manifest_has_getter", &_inP07ytUYgQ, METH_VARARGS },
  2317. { "interrogate_manifest_getter", &_inP07yt0k7F, METH_VARARGS },
  2318. { "interrogate_manifest_has_int_value", &_inP07ytfIsr, METH_VARARGS },
  2319. { "interrogate_manifest_get_int_value", &_inP07ytvysR, METH_VARARGS },
  2320. { "interrogate_element_name", &_inP07ytYQ_2, METH_VARARGS },
  2321. { "interrogate_element_scoped_name", &_inP07yt3kdv, METH_VARARGS },
  2322. { "interrogate_element_has_comment", &_inP07ytew01, METH_VARARGS },
  2323. { "interrogate_element_comment", &_inP07ytQna7, METH_VARARGS },
  2324. { "interrogate_get_element_by_name", &_inP07ytkg95, METH_VARARGS },
  2325. { "interrogate_get_element_by_scoped_name", &_inP07ytluRc, METH_VARARGS },
  2326. { "interrogate_element_type", &_inP07yttHdM, METH_VARARGS },
  2327. { "interrogate_element_has_getter", &_inP07ytDId0, METH_VARARGS },
  2328. { "interrogate_element_getter", &_inP07ytHuAm, METH_VARARGS },
  2329. { "interrogate_element_has_setter", &_inP07yt_xr0, METH_VARARGS },
  2330. { "interrogate_element_setter", &_inP07ytH5qp, METH_VARARGS },
  2331. { "interrogate_element_is_sequence", &_inP07ytq45U, METH_VARARGS },
  2332. { "interrogate_element_is_mapping", &_inP07yt6IPa, METH_VARARGS },
  2333. { "interrogate_number_of_globals", &_inP07ytU2_B, METH_VARARGS },
  2334. { "interrogate_get_global", &_inP07ytHFO2, METH_VARARGS },
  2335. { "interrogate_number_of_global_functions", &_inP07ytcfjm, METH_VARARGS },
  2336. { "interrogate_get_global_function", &_inP07yt3Sjw, METH_VARARGS },
  2337. { "interrogate_number_of_functions", &_inP07ytgJcX, METH_VARARGS },
  2338. { "interrogate_get_function", &_inP07ytYlw6, METH_VARARGS },
  2339. { "interrogate_function_name", &_inP07ytsmnz, METH_VARARGS },
  2340. { "interrogate_function_scoped_name", &_inP07ytxQ10, METH_VARARGS },
  2341. { "interrogate_function_has_comment", &_inP07yt6gPB, METH_VARARGS },
  2342. { "interrogate_function_comment", &_inP07ytISgV, METH_VARARGS },
  2343. { "interrogate_function_prototype", &_inP07ytH3bx, METH_VARARGS },
  2344. { "interrogate_function_is_method", &_inP07ytzeUk, METH_VARARGS },
  2345. { "interrogate_function_class", &_inP07ytUeI5, METH_VARARGS },
  2346. { "interrogate_function_has_module_name", &_inP07ytuSvx, METH_VARARGS },
  2347. { "interrogate_function_module_name", &_inP07ytwpYd, METH_VARARGS },
  2348. { "interrogate_function_has_library_name", &_inP07ytOfNh, METH_VARARGS },
  2349. { "interrogate_function_library_name", &_inP07ytf5_U, METH_VARARGS },
  2350. { "interrogate_function_is_virtual", &_inP07ytL3ZB, METH_VARARGS },
  2351. { "interrogate_function_number_of_c_wrappers", &_inP07ytXw0I, METH_VARARGS },
  2352. { "interrogate_function_c_wrapper", &_inP07yt3zru, METH_VARARGS },
  2353. { "interrogate_function_number_of_python_wrappers", &_inP07ytRrg2, METH_VARARGS },
  2354. { "interrogate_function_python_wrapper", &_inP07ytEJCx, METH_VARARGS },
  2355. { "interrogate_wrapper_name", &_inP07ytWAZr, METH_VARARGS },
  2356. { "interrogate_wrapper_is_callable_by_name", &_inP07ytrD_M, METH_VARARGS },
  2357. { "interrogate_wrapper_has_comment", &_inP07ytjolz, METH_VARARGS },
  2358. { "interrogate_wrapper_comment", &_inP07ytt_JD, METH_VARARGS },
  2359. { "interrogate_wrapper_has_return_value", &_inP07ytwEts, METH_VARARGS },
  2360. { "interrogate_wrapper_return_type", &_inP07ytrJWs, METH_VARARGS },
  2361. { "interrogate_wrapper_caller_manages_return_value", &_inP07ytpmFD, METH_VARARGS },
  2362. { "interrogate_wrapper_return_value_destructor", &_inP07ytyYUX, METH_VARARGS },
  2363. { "interrogate_wrapper_number_of_parameters", &_inP07yt54dn, METH_VARARGS },
  2364. { "interrogate_wrapper_parameter_type", &_inP07ytGMpW, METH_VARARGS },
  2365. { "interrogate_wrapper_parameter_has_name", &_inP07ytNuBV, METH_VARARGS },
  2366. { "interrogate_wrapper_parameter_name", &_inP07yt9UwA, METH_VARARGS },
  2367. { "interrogate_wrapper_parameter_is_this", &_inP07yt3FDt, METH_VARARGS },
  2368. { "interrogate_wrapper_has_pointer", &_inP07ytf513, METH_VARARGS },
  2369. { "interrogate_wrapper_pointer", &_inP07ytsqGH, METH_VARARGS },
  2370. { "interrogate_wrapper_unique_name", &_inP07yt7shV, METH_VARARGS },
  2371. { "interrogate_get_wrapper_by_unique_name", &_inP07ytA1eF, METH_VARARGS },
  2372. { "interrogate_make_seq_seq_name", &_inP07yt776V, METH_VARARGS },
  2373. { "interrogate_make_seq_scoped_name", &_inP07ytryup, METH_VARARGS },
  2374. { "interrogate_make_seq_has_comment", &_inP07ytiytI, METH_VARARGS },
  2375. { "interrogate_make_seq_comment", &_inP07ytZc07, METH_VARARGS },
  2376. { "interrogate_make_seq_num_name", &_inP07ytfaH0, METH_VARARGS },
  2377. { "interrogate_make_seq_element_name", &_inP07ytGB9D, METH_VARARGS },
  2378. { "interrogate_number_of_global_types", &_inP07ytsxxs, METH_VARARGS },
  2379. { "interrogate_get_global_type", &_inP07ytMT0z, METH_VARARGS },
  2380. { "interrogate_number_of_types", &_inP07ytiW3v, METH_VARARGS },
  2381. { "interrogate_get_type", &_inP07yt4Px8, METH_VARARGS },
  2382. { "interrogate_get_type_by_name", &_inP07ytNHcs, METH_VARARGS },
  2383. { "interrogate_get_type_by_scoped_name", &_inP07ytqHrb, METH_VARARGS },
  2384. { "interrogate_get_type_by_true_name", &_inP07ytaOqq, METH_VARARGS },
  2385. { "interrogate_type_is_global", &_inP07ytpTBb, METH_VARARGS },
  2386. { "interrogate_type_name", &_inP07ytqWOw, METH_VARARGS },
  2387. { "interrogate_type_scoped_name", &_inP07ytHu7x, METH_VARARGS },
  2388. { "interrogate_type_true_name", &_inP07ytwGnA, METH_VARARGS },
  2389. { "interrogate_type_is_nested", &_inP07ytXGxx, METH_VARARGS },
  2390. { "interrogate_type_outer_class", &_inP07ytj04Z, METH_VARARGS },
  2391. { "interrogate_type_has_comment", &_inP07ytEOv4, METH_VARARGS },
  2392. { "interrogate_type_comment", &_inP07ytpCqJ, METH_VARARGS },
  2393. { "interrogate_type_has_module_name", &_inP07yt_Pz3, METH_VARARGS },
  2394. { "interrogate_type_module_name", &_inP07ytt_06, METH_VARARGS },
  2395. { "interrogate_type_has_library_name", &_inP07ytmuPs, METH_VARARGS },
  2396. { "interrogate_type_library_name", &_inP07ytvM8B, METH_VARARGS },
  2397. { "interrogate_type_is_atomic", &_inP07ytap97, METH_VARARGS },
  2398. { "interrogate_type_atomic_token", &_inP07yt0o8D, METH_VARARGS },
  2399. { "interrogate_type_is_unsigned", &_inP07ytOoQ2, METH_VARARGS },
  2400. { "interrogate_type_is_signed", &_inP07ytKuFh, METH_VARARGS },
  2401. { "interrogate_type_is_long", &_inP07yto5L6, METH_VARARGS },
  2402. { "interrogate_type_is_longlong", &_inP07ytzgKK, METH_VARARGS },
  2403. { "interrogate_type_is_short", &_inP07yt0FIF, METH_VARARGS },
  2404. { "interrogate_type_is_wrapped", &_inP07ytZqvD, METH_VARARGS },
  2405. { "interrogate_type_is_pointer", &_inP07ytDyRd, METH_VARARGS },
  2406. { "interrogate_type_is_const", &_inP07ytMnKa, METH_VARARGS },
  2407. { "interrogate_type_is_typedef", &_inP07ytRtji, METH_VARARGS },
  2408. { "interrogate_type_wrapped_type", &_inP07ytCnbQ, METH_VARARGS },
  2409. { "interrogate_type_is_enum", &_inP07ytdUVN, METH_VARARGS },
  2410. { "interrogate_type_number_of_enum_values", &_inP07ytihbt, METH_VARARGS },
  2411. { "interrogate_type_enum_value_name", &_inP07ytbyPY, METH_VARARGS },
  2412. { "interrogate_type_enum_value_scoped_name", &_inP07ytAaT6, METH_VARARGS },
  2413. { "interrogate_type_enum_value_comment", &_inP07ytgL9q, METH_VARARGS },
  2414. { "interrogate_type_enum_value", &_inP07ytWB97, METH_VARARGS },
  2415. { "interrogate_type_is_struct", &_inP07ytDUAl, METH_VARARGS },
  2416. { "interrogate_type_is_class", &_inP07yt1_Kf, METH_VARARGS },
  2417. { "interrogate_type_is_union", &_inP07yt98lD, METH_VARARGS },
  2418. { "interrogate_type_is_fully_defined", &_inP07yt9SHr, METH_VARARGS },
  2419. { "interrogate_type_is_unpublished", &_inP07ytdiZP, METH_VARARGS },
  2420. { "interrogate_type_number_of_constructors", &_inP07ytTdER, METH_VARARGS },
  2421. { "interrogate_type_get_constructor", &_inP07ytYO56, METH_VARARGS },
  2422. { "interrogate_type_has_destructor", &_inP07ytxtCG, METH_VARARGS },
  2423. { "interrogate_type_destructor_is_inherited", &_inP07yt_EB2, METH_VARARGS },
  2424. { "interrogate_type_get_destructor", &_inP07ytEG1l, METH_VARARGS },
  2425. { "interrogate_type_number_of_elements", &_inP07yt7tUq, METH_VARARGS },
  2426. { "interrogate_type_get_element", &_inP07ytyStU, METH_VARARGS },
  2427. { "interrogate_type_number_of_methods", &_inP07ytdM85, METH_VARARGS },
  2428. { "interrogate_type_get_method", &_inP07ytk_GN, METH_VARARGS },
  2429. { "interrogate_type_number_of_make_seqs", &_inP07yt8QjG, METH_VARARGS },
  2430. { "interrogate_type_get_make_seq", &_inP07ytyMtj, METH_VARARGS },
  2431. { "interrogate_type_number_of_casts", &_inP07ytHDtN, METH_VARARGS },
  2432. { "interrogate_type_get_cast", &_inP07ytHFjA, METH_VARARGS },
  2433. { "interrogate_type_number_of_derivations", &_inP07yt_NPR, METH_VARARGS },
  2434. { "interrogate_type_get_derivation", &_inP07ytcTOH, METH_VARARGS },
  2435. { "interrogate_type_derivation_has_upcast", &_inP07ythdU7, METH_VARARGS },
  2436. { "interrogate_type_get_upcast", &_inP07ytQPxU, METH_VARARGS },
  2437. { "interrogate_type_derivation_downcast_is_impossible", &_inP07ytO7Pz, METH_VARARGS },
  2438. { "interrogate_type_derivation_has_downcast", &_inP07ytvu_E, METH_VARARGS },
  2439. { "interrogate_type_get_downcast", &_inP07ytxGUt, METH_VARARGS },
  2440. { "interrogate_type_number_of_nested_types", &_inP07ytzM1P, METH_VARARGS },
  2441. { "interrogate_type_get_nested_type", &_inP07ytoY5L, METH_VARARGS },
  2442. { "interrogate_request_database", &_inP07yte_7S, METH_VARARGS },
  2443. { "interrogate_request_module", &_inP07ytw_15, METH_VARARGS },
  2444. { nullptr, nullptr }
  2445. };
  2446. #if PY_MAJOR_VERSION >= 3
  2447. static struct PyModuleDef python_simple_module = {
  2448. PyModuleDef_HEAD_INIT,
  2449. "interrogatedb",
  2450. nullptr,
  2451. -1,
  2452. python_simple_funcs,
  2453. nullptr, nullptr, nullptr, nullptr
  2454. };
  2455. #define INIT_FUNC PyObject *PyInit_interrogatedb
  2456. #else
  2457. #define INIT_FUNC void initinterrogatedb
  2458. #endif
  2459. #ifdef _WIN32
  2460. extern "C" __declspec(dllexport) INIT_FUNC();
  2461. #elif __GNUC__ >= 4
  2462. extern "C" __attribute__((visibility("default"))) INIT_FUNC();
  2463. #else
  2464. extern "C" INIT_FUNC();
  2465. #endif
  2466. INIT_FUNC() {
  2467. #if PY_MAJOR_VERSION >= 3
  2468. return PyModule_Create(&python_simple_module);
  2469. #else
  2470. Py_InitModule("interrogatedb", python_simple_funcs);
  2471. #endif
  2472. }