pydtool.cxx 93 KB

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