pydtool.cxx 91 KB

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