fontconfig-so_wrap.c 76 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091
  1. // This file is generated. Do not edit!
  2. // see https://github.com/hpvb/dynload-wrapper for details
  3. // generated by ./generate-wrapper.py 0.3 on 2022-07-29 05:40:07
  4. // flags: ./generate-wrapper.py --include /usr/include/fontconfig/fontconfig.h --sys-include <fontconfig/fontconfig.h> --soname libfontconfig.so --init-name fontconfig --output-header fontconfig-so_wrap.h --output-implementation fontconfig-so_wrap.c --omit-prefix FcCharSet
  5. //
  6. #include <stdint.h>
  7. #define FcBlanksCreate FcBlanksCreate_dylibloader_orig_fontconfig
  8. #define FcBlanksDestroy FcBlanksDestroy_dylibloader_orig_fontconfig
  9. #define FcBlanksAdd FcBlanksAdd_dylibloader_orig_fontconfig
  10. #define FcBlanksIsMember FcBlanksIsMember_dylibloader_orig_fontconfig
  11. #define FcCacheDir FcCacheDir_dylibloader_orig_fontconfig
  12. #define FcCacheCopySet FcCacheCopySet_dylibloader_orig_fontconfig
  13. #define FcCacheSubdir FcCacheSubdir_dylibloader_orig_fontconfig
  14. #define FcCacheNumSubdir FcCacheNumSubdir_dylibloader_orig_fontconfig
  15. #define FcCacheNumFont FcCacheNumFont_dylibloader_orig_fontconfig
  16. #define FcDirCacheUnlink FcDirCacheUnlink_dylibloader_orig_fontconfig
  17. #define FcDirCacheValid FcDirCacheValid_dylibloader_orig_fontconfig
  18. #define FcDirCacheClean FcDirCacheClean_dylibloader_orig_fontconfig
  19. #define FcCacheCreateTagFile FcCacheCreateTagFile_dylibloader_orig_fontconfig
  20. #define FcConfigHome FcConfigHome_dylibloader_orig_fontconfig
  21. #define FcConfigEnableHome FcConfigEnableHome_dylibloader_orig_fontconfig
  22. #define FcConfigFilename FcConfigFilename_dylibloader_orig_fontconfig
  23. #define FcConfigCreate FcConfigCreate_dylibloader_orig_fontconfig
  24. #define FcConfigReference FcConfigReference_dylibloader_orig_fontconfig
  25. #define FcConfigDestroy FcConfigDestroy_dylibloader_orig_fontconfig
  26. #define FcConfigSetCurrent FcConfigSetCurrent_dylibloader_orig_fontconfig
  27. #define FcConfigGetCurrent FcConfigGetCurrent_dylibloader_orig_fontconfig
  28. #define FcConfigUptoDate FcConfigUptoDate_dylibloader_orig_fontconfig
  29. #define FcConfigBuildFonts FcConfigBuildFonts_dylibloader_orig_fontconfig
  30. #define FcConfigGetFontDirs FcConfigGetFontDirs_dylibloader_orig_fontconfig
  31. #define FcConfigGetConfigDirs FcConfigGetConfigDirs_dylibloader_orig_fontconfig
  32. #define FcConfigGetConfigFiles FcConfigGetConfigFiles_dylibloader_orig_fontconfig
  33. #define FcConfigGetCache FcConfigGetCache_dylibloader_orig_fontconfig
  34. #define FcConfigGetBlanks FcConfigGetBlanks_dylibloader_orig_fontconfig
  35. #define FcConfigGetCacheDirs FcConfigGetCacheDirs_dylibloader_orig_fontconfig
  36. #define FcConfigGetRescanInterval FcConfigGetRescanInterval_dylibloader_orig_fontconfig
  37. #define FcConfigSetRescanInterval FcConfigSetRescanInterval_dylibloader_orig_fontconfig
  38. #define FcConfigGetFonts FcConfigGetFonts_dylibloader_orig_fontconfig
  39. #define FcConfigAppFontAddFile FcConfigAppFontAddFile_dylibloader_orig_fontconfig
  40. #define FcConfigAppFontAddDir FcConfigAppFontAddDir_dylibloader_orig_fontconfig
  41. #define FcConfigAppFontClear FcConfigAppFontClear_dylibloader_orig_fontconfig
  42. #define FcConfigSubstituteWithPat FcConfigSubstituteWithPat_dylibloader_orig_fontconfig
  43. #define FcConfigSubstitute FcConfigSubstitute_dylibloader_orig_fontconfig
  44. #define FcConfigGetSysRoot FcConfigGetSysRoot_dylibloader_orig_fontconfig
  45. #define FcConfigSetSysRoot FcConfigSetSysRoot_dylibloader_orig_fontconfig
  46. #define FcValuePrint FcValuePrint_dylibloader_orig_fontconfig
  47. #define FcPatternPrint FcPatternPrint_dylibloader_orig_fontconfig
  48. #define FcFontSetPrint FcFontSetPrint_dylibloader_orig_fontconfig
  49. #define FcGetDefaultLangs FcGetDefaultLangs_dylibloader_orig_fontconfig
  50. #define FcDefaultSubstitute FcDefaultSubstitute_dylibloader_orig_fontconfig
  51. #define FcFileIsDir FcFileIsDir_dylibloader_orig_fontconfig
  52. #define FcFileScan FcFileScan_dylibloader_orig_fontconfig
  53. #define FcDirScan FcDirScan_dylibloader_orig_fontconfig
  54. #define FcDirSave FcDirSave_dylibloader_orig_fontconfig
  55. #define FcDirCacheLoad FcDirCacheLoad_dylibloader_orig_fontconfig
  56. #define FcDirCacheRescan FcDirCacheRescan_dylibloader_orig_fontconfig
  57. #define FcDirCacheRead FcDirCacheRead_dylibloader_orig_fontconfig
  58. #define FcDirCacheLoadFile FcDirCacheLoadFile_dylibloader_orig_fontconfig
  59. #define FcDirCacheUnload FcDirCacheUnload_dylibloader_orig_fontconfig
  60. #define FcFreeTypeQuery FcFreeTypeQuery_dylibloader_orig_fontconfig
  61. #define FcFontSetCreate FcFontSetCreate_dylibloader_orig_fontconfig
  62. #define FcFontSetDestroy FcFontSetDestroy_dylibloader_orig_fontconfig
  63. #define FcFontSetAdd FcFontSetAdd_dylibloader_orig_fontconfig
  64. #define FcInitLoadConfig FcInitLoadConfig_dylibloader_orig_fontconfig
  65. #define FcInitLoadConfigAndFonts FcInitLoadConfigAndFonts_dylibloader_orig_fontconfig
  66. #define FcInit FcInit_dylibloader_orig_fontconfig
  67. #define FcFini FcFini_dylibloader_orig_fontconfig
  68. #define FcGetVersion FcGetVersion_dylibloader_orig_fontconfig
  69. #define FcInitReinitialize FcInitReinitialize_dylibloader_orig_fontconfig
  70. #define FcInitBringUptoDate FcInitBringUptoDate_dylibloader_orig_fontconfig
  71. #define FcGetLangs FcGetLangs_dylibloader_orig_fontconfig
  72. #define FcLangNormalize FcLangNormalize_dylibloader_orig_fontconfig
  73. #define FcLangGetCharSet FcLangGetCharSet_dylibloader_orig_fontconfig
  74. #define FcLangSetCreate FcLangSetCreate_dylibloader_orig_fontconfig
  75. #define FcLangSetDestroy FcLangSetDestroy_dylibloader_orig_fontconfig
  76. #define FcLangSetCopy FcLangSetCopy_dylibloader_orig_fontconfig
  77. #define FcLangSetAdd FcLangSetAdd_dylibloader_orig_fontconfig
  78. #define FcLangSetDel FcLangSetDel_dylibloader_orig_fontconfig
  79. #define FcLangSetHasLang FcLangSetHasLang_dylibloader_orig_fontconfig
  80. #define FcLangSetCompare FcLangSetCompare_dylibloader_orig_fontconfig
  81. #define FcLangSetContains FcLangSetContains_dylibloader_orig_fontconfig
  82. #define FcLangSetEqual FcLangSetEqual_dylibloader_orig_fontconfig
  83. #define FcLangSetHash FcLangSetHash_dylibloader_orig_fontconfig
  84. #define FcLangSetGetLangs FcLangSetGetLangs_dylibloader_orig_fontconfig
  85. #define FcLangSetUnion FcLangSetUnion_dylibloader_orig_fontconfig
  86. #define FcLangSetSubtract FcLangSetSubtract_dylibloader_orig_fontconfig
  87. #define FcObjectSetCreate FcObjectSetCreate_dylibloader_orig_fontconfig
  88. #define FcObjectSetAdd FcObjectSetAdd_dylibloader_orig_fontconfig
  89. #define FcObjectSetDestroy FcObjectSetDestroy_dylibloader_orig_fontconfig
  90. #define FcObjectSetVaBuild FcObjectSetVaBuild_dylibloader_orig_fontconfig
  91. #define FcObjectSetBuild FcObjectSetBuild_dylibloader_orig_fontconfig
  92. #define FcFontSetList FcFontSetList_dylibloader_orig_fontconfig
  93. #define FcFontList FcFontList_dylibloader_orig_fontconfig
  94. #define FcAtomicCreate FcAtomicCreate_dylibloader_orig_fontconfig
  95. #define FcAtomicLock FcAtomicLock_dylibloader_orig_fontconfig
  96. #define FcAtomicNewFile FcAtomicNewFile_dylibloader_orig_fontconfig
  97. #define FcAtomicOrigFile FcAtomicOrigFile_dylibloader_orig_fontconfig
  98. #define FcAtomicReplaceOrig FcAtomicReplaceOrig_dylibloader_orig_fontconfig
  99. #define FcAtomicDeleteNew FcAtomicDeleteNew_dylibloader_orig_fontconfig
  100. #define FcAtomicUnlock FcAtomicUnlock_dylibloader_orig_fontconfig
  101. #define FcAtomicDestroy FcAtomicDestroy_dylibloader_orig_fontconfig
  102. #define FcFontSetMatch FcFontSetMatch_dylibloader_orig_fontconfig
  103. #define FcFontMatch FcFontMatch_dylibloader_orig_fontconfig
  104. #define FcFontRenderPrepare FcFontRenderPrepare_dylibloader_orig_fontconfig
  105. #define FcFontSetSort FcFontSetSort_dylibloader_orig_fontconfig
  106. #define FcFontSort FcFontSort_dylibloader_orig_fontconfig
  107. #define FcFontSetSortDestroy FcFontSetSortDestroy_dylibloader_orig_fontconfig
  108. #define FcMatrixCopy FcMatrixCopy_dylibloader_orig_fontconfig
  109. #define FcMatrixEqual FcMatrixEqual_dylibloader_orig_fontconfig
  110. #define FcMatrixMultiply FcMatrixMultiply_dylibloader_orig_fontconfig
  111. #define FcMatrixRotate FcMatrixRotate_dylibloader_orig_fontconfig
  112. #define FcMatrixScale FcMatrixScale_dylibloader_orig_fontconfig
  113. #define FcMatrixShear FcMatrixShear_dylibloader_orig_fontconfig
  114. #define FcNameRegisterObjectTypes FcNameRegisterObjectTypes_dylibloader_orig_fontconfig
  115. #define FcNameUnregisterObjectTypes FcNameUnregisterObjectTypes_dylibloader_orig_fontconfig
  116. #define FcNameGetObjectType FcNameGetObjectType_dylibloader_orig_fontconfig
  117. #define FcNameRegisterConstants FcNameRegisterConstants_dylibloader_orig_fontconfig
  118. #define FcNameUnregisterConstants FcNameUnregisterConstants_dylibloader_orig_fontconfig
  119. #define FcNameGetConstant FcNameGetConstant_dylibloader_orig_fontconfig
  120. #define FcNameConstant FcNameConstant_dylibloader_orig_fontconfig
  121. #define FcNameParse FcNameParse_dylibloader_orig_fontconfig
  122. #define FcNameUnparse FcNameUnparse_dylibloader_orig_fontconfig
  123. #define FcPatternCreate FcPatternCreate_dylibloader_orig_fontconfig
  124. #define FcPatternDuplicate FcPatternDuplicate_dylibloader_orig_fontconfig
  125. #define FcPatternReference FcPatternReference_dylibloader_orig_fontconfig
  126. #define FcPatternFilter FcPatternFilter_dylibloader_orig_fontconfig
  127. #define FcValueDestroy FcValueDestroy_dylibloader_orig_fontconfig
  128. #define FcValueEqual FcValueEqual_dylibloader_orig_fontconfig
  129. #define FcValueSave FcValueSave_dylibloader_orig_fontconfig
  130. #define FcPatternDestroy FcPatternDestroy_dylibloader_orig_fontconfig
  131. #define FcPatternEqual FcPatternEqual_dylibloader_orig_fontconfig
  132. #define FcPatternEqualSubset FcPatternEqualSubset_dylibloader_orig_fontconfig
  133. #define FcPatternHash FcPatternHash_dylibloader_orig_fontconfig
  134. #define FcPatternAdd FcPatternAdd_dylibloader_orig_fontconfig
  135. #define FcPatternAddWeak FcPatternAddWeak_dylibloader_orig_fontconfig
  136. #define FcPatternGet FcPatternGet_dylibloader_orig_fontconfig
  137. #define FcPatternGetWithBinding FcPatternGetWithBinding_dylibloader_orig_fontconfig
  138. #define FcPatternDel FcPatternDel_dylibloader_orig_fontconfig
  139. #define FcPatternRemove FcPatternRemove_dylibloader_orig_fontconfig
  140. #define FcPatternAddInteger FcPatternAddInteger_dylibloader_orig_fontconfig
  141. #define FcPatternAddDouble FcPatternAddDouble_dylibloader_orig_fontconfig
  142. #define FcPatternAddString FcPatternAddString_dylibloader_orig_fontconfig
  143. #define FcPatternAddMatrix FcPatternAddMatrix_dylibloader_orig_fontconfig
  144. #define FcPatternAddCharSet FcPatternAddCharSet_dylibloader_orig_fontconfig
  145. #define FcPatternAddBool FcPatternAddBool_dylibloader_orig_fontconfig
  146. #define FcPatternAddLangSet FcPatternAddLangSet_dylibloader_orig_fontconfig
  147. #define FcPatternAddRange FcPatternAddRange_dylibloader_orig_fontconfig
  148. #define FcPatternGetInteger FcPatternGetInteger_dylibloader_orig_fontconfig
  149. #define FcPatternGetDouble FcPatternGetDouble_dylibloader_orig_fontconfig
  150. #define FcPatternGetString FcPatternGetString_dylibloader_orig_fontconfig
  151. #define FcPatternGetMatrix FcPatternGetMatrix_dylibloader_orig_fontconfig
  152. #define FcPatternGetCharSet FcPatternGetCharSet_dylibloader_orig_fontconfig
  153. #define FcPatternGetBool FcPatternGetBool_dylibloader_orig_fontconfig
  154. #define FcPatternGetLangSet FcPatternGetLangSet_dylibloader_orig_fontconfig
  155. #define FcPatternGetRange FcPatternGetRange_dylibloader_orig_fontconfig
  156. #define FcPatternVaBuild FcPatternVaBuild_dylibloader_orig_fontconfig
  157. #define FcPatternBuild FcPatternBuild_dylibloader_orig_fontconfig
  158. #define FcPatternFormat FcPatternFormat_dylibloader_orig_fontconfig
  159. #define FcRangeCreateDouble FcRangeCreateDouble_dylibloader_orig_fontconfig
  160. #define FcRangeCreateInteger FcRangeCreateInteger_dylibloader_orig_fontconfig
  161. #define FcRangeDestroy FcRangeDestroy_dylibloader_orig_fontconfig
  162. #define FcRangeCopy FcRangeCopy_dylibloader_orig_fontconfig
  163. #define FcRangeGetDouble FcRangeGetDouble_dylibloader_orig_fontconfig
  164. #define FcWeightFromOpenType FcWeightFromOpenType_dylibloader_orig_fontconfig
  165. #define FcWeightToOpenType FcWeightToOpenType_dylibloader_orig_fontconfig
  166. #define FcStrCopy FcStrCopy_dylibloader_orig_fontconfig
  167. #define FcStrCopyFilename FcStrCopyFilename_dylibloader_orig_fontconfig
  168. #define FcStrPlus FcStrPlus_dylibloader_orig_fontconfig
  169. #define FcStrFree FcStrFree_dylibloader_orig_fontconfig
  170. #define FcStrDowncase FcStrDowncase_dylibloader_orig_fontconfig
  171. #define FcStrCmpIgnoreCase FcStrCmpIgnoreCase_dylibloader_orig_fontconfig
  172. #define FcStrCmp FcStrCmp_dylibloader_orig_fontconfig
  173. #define FcStrStrIgnoreCase FcStrStrIgnoreCase_dylibloader_orig_fontconfig
  174. #define FcStrStr FcStrStr_dylibloader_orig_fontconfig
  175. #define FcUtf8ToUcs4 FcUtf8ToUcs4_dylibloader_orig_fontconfig
  176. #define FcUtf8Len FcUtf8Len_dylibloader_orig_fontconfig
  177. #define FcUcs4ToUtf8 FcUcs4ToUtf8_dylibloader_orig_fontconfig
  178. #define FcUtf16ToUcs4 FcUtf16ToUcs4_dylibloader_orig_fontconfig
  179. #define FcUtf16Len FcUtf16Len_dylibloader_orig_fontconfig
  180. #define FcStrDirname FcStrDirname_dylibloader_orig_fontconfig
  181. #define FcStrBasename FcStrBasename_dylibloader_orig_fontconfig
  182. #define FcStrSetCreate FcStrSetCreate_dylibloader_orig_fontconfig
  183. #define FcStrSetMember FcStrSetMember_dylibloader_orig_fontconfig
  184. #define FcStrSetEqual FcStrSetEqual_dylibloader_orig_fontconfig
  185. #define FcStrSetAdd FcStrSetAdd_dylibloader_orig_fontconfig
  186. #define FcStrSetAddFilename FcStrSetAddFilename_dylibloader_orig_fontconfig
  187. #define FcStrSetDel FcStrSetDel_dylibloader_orig_fontconfig
  188. #define FcStrSetDestroy FcStrSetDestroy_dylibloader_orig_fontconfig
  189. #define FcStrListCreate FcStrListCreate_dylibloader_orig_fontconfig
  190. #define FcStrListFirst FcStrListFirst_dylibloader_orig_fontconfig
  191. #define FcStrListNext FcStrListNext_dylibloader_orig_fontconfig
  192. #define FcStrListDone FcStrListDone_dylibloader_orig_fontconfig
  193. #define FcConfigParseAndLoad FcConfigParseAndLoad_dylibloader_orig_fontconfig
  194. #define FcConfigParseAndLoadFromMemory FcConfigParseAndLoadFromMemory_dylibloader_orig_fontconfig
  195. #include <fontconfig/fontconfig.h>
  196. #undef FcBlanksCreate
  197. #undef FcBlanksDestroy
  198. #undef FcBlanksAdd
  199. #undef FcBlanksIsMember
  200. #undef FcCacheDir
  201. #undef FcCacheCopySet
  202. #undef FcCacheSubdir
  203. #undef FcCacheNumSubdir
  204. #undef FcCacheNumFont
  205. #undef FcDirCacheUnlink
  206. #undef FcDirCacheValid
  207. #undef FcDirCacheClean
  208. #undef FcCacheCreateTagFile
  209. #undef FcConfigHome
  210. #undef FcConfigEnableHome
  211. #undef FcConfigFilename
  212. #undef FcConfigCreate
  213. #undef FcConfigReference
  214. #undef FcConfigDestroy
  215. #undef FcConfigSetCurrent
  216. #undef FcConfigGetCurrent
  217. #undef FcConfigUptoDate
  218. #undef FcConfigBuildFonts
  219. #undef FcConfigGetFontDirs
  220. #undef FcConfigGetConfigDirs
  221. #undef FcConfigGetConfigFiles
  222. #undef FcConfigGetCache
  223. #undef FcConfigGetBlanks
  224. #undef FcConfigGetCacheDirs
  225. #undef FcConfigGetRescanInterval
  226. #undef FcConfigSetRescanInterval
  227. #undef FcConfigGetFonts
  228. #undef FcConfigAppFontAddFile
  229. #undef FcConfigAppFontAddDir
  230. #undef FcConfigAppFontClear
  231. #undef FcConfigSubstituteWithPat
  232. #undef FcConfigSubstitute
  233. #undef FcConfigGetSysRoot
  234. #undef FcConfigSetSysRoot
  235. #undef FcValuePrint
  236. #undef FcPatternPrint
  237. #undef FcFontSetPrint
  238. #undef FcGetDefaultLangs
  239. #undef FcDefaultSubstitute
  240. #undef FcFileIsDir
  241. #undef FcFileScan
  242. #undef FcDirScan
  243. #undef FcDirSave
  244. #undef FcDirCacheLoad
  245. #undef FcDirCacheRescan
  246. #undef FcDirCacheRead
  247. #undef FcDirCacheLoadFile
  248. #undef FcDirCacheUnload
  249. #undef FcFreeTypeQuery
  250. #undef FcFontSetCreate
  251. #undef FcFontSetDestroy
  252. #undef FcFontSetAdd
  253. #undef FcInitLoadConfig
  254. #undef FcInitLoadConfigAndFonts
  255. #undef FcInit
  256. #undef FcFini
  257. #undef FcGetVersion
  258. #undef FcInitReinitialize
  259. #undef FcInitBringUptoDate
  260. #undef FcGetLangs
  261. #undef FcLangNormalize
  262. #undef FcLangGetCharSet
  263. #undef FcLangSetCreate
  264. #undef FcLangSetDestroy
  265. #undef FcLangSetCopy
  266. #undef FcLangSetAdd
  267. #undef FcLangSetDel
  268. #undef FcLangSetHasLang
  269. #undef FcLangSetCompare
  270. #undef FcLangSetContains
  271. #undef FcLangSetEqual
  272. #undef FcLangSetHash
  273. #undef FcLangSetGetLangs
  274. #undef FcLangSetUnion
  275. #undef FcLangSetSubtract
  276. #undef FcObjectSetCreate
  277. #undef FcObjectSetAdd
  278. #undef FcObjectSetDestroy
  279. #undef FcObjectSetVaBuild
  280. #undef FcObjectSetBuild
  281. #undef FcFontSetList
  282. #undef FcFontList
  283. #undef FcAtomicCreate
  284. #undef FcAtomicLock
  285. #undef FcAtomicNewFile
  286. #undef FcAtomicOrigFile
  287. #undef FcAtomicReplaceOrig
  288. #undef FcAtomicDeleteNew
  289. #undef FcAtomicUnlock
  290. #undef FcAtomicDestroy
  291. #undef FcFontSetMatch
  292. #undef FcFontMatch
  293. #undef FcFontRenderPrepare
  294. #undef FcFontSetSort
  295. #undef FcFontSort
  296. #undef FcFontSetSortDestroy
  297. #undef FcMatrixCopy
  298. #undef FcMatrixEqual
  299. #undef FcMatrixMultiply
  300. #undef FcMatrixRotate
  301. #undef FcMatrixScale
  302. #undef FcMatrixShear
  303. #undef FcNameRegisterObjectTypes
  304. #undef FcNameUnregisterObjectTypes
  305. #undef FcNameGetObjectType
  306. #undef FcNameRegisterConstants
  307. #undef FcNameUnregisterConstants
  308. #undef FcNameGetConstant
  309. #undef FcNameConstant
  310. #undef FcNameParse
  311. #undef FcNameUnparse
  312. #undef FcPatternCreate
  313. #undef FcPatternDuplicate
  314. #undef FcPatternReference
  315. #undef FcPatternFilter
  316. #undef FcValueDestroy
  317. #undef FcValueEqual
  318. #undef FcValueSave
  319. #undef FcPatternDestroy
  320. #undef FcPatternEqual
  321. #undef FcPatternEqualSubset
  322. #undef FcPatternHash
  323. #undef FcPatternAdd
  324. #undef FcPatternAddWeak
  325. #undef FcPatternGet
  326. #undef FcPatternGetWithBinding
  327. #undef FcPatternDel
  328. #undef FcPatternRemove
  329. #undef FcPatternAddInteger
  330. #undef FcPatternAddDouble
  331. #undef FcPatternAddString
  332. #undef FcPatternAddMatrix
  333. #undef FcPatternAddCharSet
  334. #undef FcPatternAddBool
  335. #undef FcPatternAddLangSet
  336. #undef FcPatternAddRange
  337. #undef FcPatternGetInteger
  338. #undef FcPatternGetDouble
  339. #undef FcPatternGetString
  340. #undef FcPatternGetMatrix
  341. #undef FcPatternGetCharSet
  342. #undef FcPatternGetBool
  343. #undef FcPatternGetLangSet
  344. #undef FcPatternGetRange
  345. #undef FcPatternVaBuild
  346. #undef FcPatternBuild
  347. #undef FcPatternFormat
  348. #undef FcRangeCreateDouble
  349. #undef FcRangeCreateInteger
  350. #undef FcRangeDestroy
  351. #undef FcRangeCopy
  352. #undef FcRangeGetDouble
  353. #undef FcWeightFromOpenType
  354. #undef FcWeightToOpenType
  355. #undef FcStrCopy
  356. #undef FcStrCopyFilename
  357. #undef FcStrPlus
  358. #undef FcStrFree
  359. #undef FcStrDowncase
  360. #undef FcStrCmpIgnoreCase
  361. #undef FcStrCmp
  362. #undef FcStrStrIgnoreCase
  363. #undef FcStrStr
  364. #undef FcUtf8ToUcs4
  365. #undef FcUtf8Len
  366. #undef FcUcs4ToUtf8
  367. #undef FcUtf16ToUcs4
  368. #undef FcUtf16Len
  369. #undef FcStrDirname
  370. #undef FcStrBasename
  371. #undef FcStrSetCreate
  372. #undef FcStrSetMember
  373. #undef FcStrSetEqual
  374. #undef FcStrSetAdd
  375. #undef FcStrSetAddFilename
  376. #undef FcStrSetDel
  377. #undef FcStrSetDestroy
  378. #undef FcStrListCreate
  379. #undef FcStrListFirst
  380. #undef FcStrListNext
  381. #undef FcStrListDone
  382. #undef FcConfigParseAndLoad
  383. #undef FcConfigParseAndLoadFromMemory
  384. #include <dlfcn.h>
  385. #include <stdio.h>
  386. FcBlanks* (*FcBlanksCreate_dylibloader_wrapper_fontconfig)( void);
  387. void (*FcBlanksDestroy_dylibloader_wrapper_fontconfig)( FcBlanks*);
  388. FcBool (*FcBlanksAdd_dylibloader_wrapper_fontconfig)( FcBlanks*, FcChar32);
  389. FcBool (*FcBlanksIsMember_dylibloader_wrapper_fontconfig)( FcBlanks*, FcChar32);
  390. const FcChar8* (*FcCacheDir_dylibloader_wrapper_fontconfig)(const FcCache*);
  391. FcFontSet* (*FcCacheCopySet_dylibloader_wrapper_fontconfig)(const FcCache*);
  392. const FcChar8* (*FcCacheSubdir_dylibloader_wrapper_fontconfig)(const FcCache*, int);
  393. int (*FcCacheNumSubdir_dylibloader_wrapper_fontconfig)(const FcCache*);
  394. int (*FcCacheNumFont_dylibloader_wrapper_fontconfig)(const FcCache*);
  395. FcBool (*FcDirCacheUnlink_dylibloader_wrapper_fontconfig)(const FcChar8*, FcConfig*);
  396. FcBool (*FcDirCacheValid_dylibloader_wrapper_fontconfig)(const FcChar8*);
  397. FcBool (*FcDirCacheClean_dylibloader_wrapper_fontconfig)(const FcChar8*, FcBool);
  398. void (*FcCacheCreateTagFile_dylibloader_wrapper_fontconfig)(const FcConfig*);
  399. FcChar8* (*FcConfigHome_dylibloader_wrapper_fontconfig)( void);
  400. FcBool (*FcConfigEnableHome_dylibloader_wrapper_fontconfig)( FcBool);
  401. FcChar8* (*FcConfigFilename_dylibloader_wrapper_fontconfig)(const FcChar8*);
  402. FcConfig* (*FcConfigCreate_dylibloader_wrapper_fontconfig)( void);
  403. FcConfig* (*FcConfigReference_dylibloader_wrapper_fontconfig)( FcConfig*);
  404. void (*FcConfigDestroy_dylibloader_wrapper_fontconfig)( FcConfig*);
  405. FcBool (*FcConfigSetCurrent_dylibloader_wrapper_fontconfig)( FcConfig*);
  406. FcConfig* (*FcConfigGetCurrent_dylibloader_wrapper_fontconfig)( void);
  407. FcBool (*FcConfigUptoDate_dylibloader_wrapper_fontconfig)( FcConfig*);
  408. FcBool (*FcConfigBuildFonts_dylibloader_wrapper_fontconfig)( FcConfig*);
  409. FcStrList* (*FcConfigGetFontDirs_dylibloader_wrapper_fontconfig)( FcConfig*);
  410. FcStrList* (*FcConfigGetConfigDirs_dylibloader_wrapper_fontconfig)( FcConfig*);
  411. FcStrList* (*FcConfigGetConfigFiles_dylibloader_wrapper_fontconfig)( FcConfig*);
  412. FcChar8* (*FcConfigGetCache_dylibloader_wrapper_fontconfig)( FcConfig*);
  413. FcBlanks* (*FcConfigGetBlanks_dylibloader_wrapper_fontconfig)( FcConfig*);
  414. FcStrList* (*FcConfigGetCacheDirs_dylibloader_wrapper_fontconfig)(const FcConfig*);
  415. int (*FcConfigGetRescanInterval_dylibloader_wrapper_fontconfig)( FcConfig*);
  416. FcBool (*FcConfigSetRescanInterval_dylibloader_wrapper_fontconfig)( FcConfig*, int);
  417. FcFontSet* (*FcConfigGetFonts_dylibloader_wrapper_fontconfig)( FcConfig*, FcSetName);
  418. FcBool (*FcConfigAppFontAddFile_dylibloader_wrapper_fontconfig)( FcConfig*,const FcChar8*);
  419. FcBool (*FcConfigAppFontAddDir_dylibloader_wrapper_fontconfig)( FcConfig*,const FcChar8*);
  420. void (*FcConfigAppFontClear_dylibloader_wrapper_fontconfig)( FcConfig*);
  421. FcBool (*FcConfigSubstituteWithPat_dylibloader_wrapper_fontconfig)( FcConfig*, FcPattern*, FcPattern*, FcMatchKind);
  422. FcBool (*FcConfigSubstitute_dylibloader_wrapper_fontconfig)( FcConfig*, FcPattern*, FcMatchKind);
  423. const FcChar8* (*FcConfigGetSysRoot_dylibloader_wrapper_fontconfig)(const FcConfig*);
  424. void (*FcConfigSetSysRoot_dylibloader_wrapper_fontconfig)( FcConfig*,const FcChar8*);
  425. void (*FcValuePrint_dylibloader_wrapper_fontconfig)(const FcValue);
  426. void (*FcPatternPrint_dylibloader_wrapper_fontconfig)(const FcPattern*);
  427. void (*FcFontSetPrint_dylibloader_wrapper_fontconfig)(const FcFontSet*);
  428. FcStrSet* (*FcGetDefaultLangs_dylibloader_wrapper_fontconfig)( void);
  429. void (*FcDefaultSubstitute_dylibloader_wrapper_fontconfig)( FcPattern*);
  430. FcBool (*FcFileIsDir_dylibloader_wrapper_fontconfig)(const FcChar8*);
  431. FcBool (*FcFileScan_dylibloader_wrapper_fontconfig)( FcFontSet*, FcStrSet*, FcFileCache*, FcBlanks*,const FcChar8*, FcBool);
  432. FcBool (*FcDirScan_dylibloader_wrapper_fontconfig)( FcFontSet*, FcStrSet*, FcFileCache*, FcBlanks*,const FcChar8*, FcBool);
  433. FcBool (*FcDirSave_dylibloader_wrapper_fontconfig)( FcFontSet*, FcStrSet*,const FcChar8*);
  434. FcCache* (*FcDirCacheLoad_dylibloader_wrapper_fontconfig)(const FcChar8*, FcConfig*, FcChar8**);
  435. FcCache* (*FcDirCacheRescan_dylibloader_wrapper_fontconfig)(const FcChar8*, FcConfig*);
  436. FcCache* (*FcDirCacheRead_dylibloader_wrapper_fontconfig)(const FcChar8*, FcBool, FcConfig*);
  437. FcCache* (*FcDirCacheLoadFile_dylibloader_wrapper_fontconfig)(const FcChar8*,struct stat*);
  438. void (*FcDirCacheUnload_dylibloader_wrapper_fontconfig)( FcCache*);
  439. FcPattern* (*FcFreeTypeQuery_dylibloader_wrapper_fontconfig)(const FcChar8*, int, FcBlanks*, int*);
  440. FcFontSet* (*FcFontSetCreate_dylibloader_wrapper_fontconfig)( void);
  441. void (*FcFontSetDestroy_dylibloader_wrapper_fontconfig)( FcFontSet*);
  442. FcBool (*FcFontSetAdd_dylibloader_wrapper_fontconfig)( FcFontSet*, FcPattern*);
  443. FcConfig* (*FcInitLoadConfig_dylibloader_wrapper_fontconfig)( void);
  444. FcConfig* (*FcInitLoadConfigAndFonts_dylibloader_wrapper_fontconfig)( void);
  445. FcBool (*FcInit_dylibloader_wrapper_fontconfig)( void);
  446. void (*FcFini_dylibloader_wrapper_fontconfig)( void);
  447. int (*FcGetVersion_dylibloader_wrapper_fontconfig)( void);
  448. FcBool (*FcInitReinitialize_dylibloader_wrapper_fontconfig)( void);
  449. FcBool (*FcInitBringUptoDate_dylibloader_wrapper_fontconfig)( void);
  450. FcStrSet* (*FcGetLangs_dylibloader_wrapper_fontconfig)( void);
  451. FcChar8* (*FcLangNormalize_dylibloader_wrapper_fontconfig)(const FcChar8*);
  452. const FcCharSet* (*FcLangGetCharSet_dylibloader_wrapper_fontconfig)(const FcChar8*);
  453. FcLangSet* (*FcLangSetCreate_dylibloader_wrapper_fontconfig)( void);
  454. void (*FcLangSetDestroy_dylibloader_wrapper_fontconfig)( FcLangSet*);
  455. FcLangSet* (*FcLangSetCopy_dylibloader_wrapper_fontconfig)(const FcLangSet*);
  456. FcBool (*FcLangSetAdd_dylibloader_wrapper_fontconfig)( FcLangSet*,const FcChar8*);
  457. FcBool (*FcLangSetDel_dylibloader_wrapper_fontconfig)( FcLangSet*,const FcChar8*);
  458. FcLangResult (*FcLangSetHasLang_dylibloader_wrapper_fontconfig)(const FcLangSet*,const FcChar8*);
  459. FcLangResult (*FcLangSetCompare_dylibloader_wrapper_fontconfig)(const FcLangSet*,const FcLangSet*);
  460. FcBool (*FcLangSetContains_dylibloader_wrapper_fontconfig)(const FcLangSet*,const FcLangSet*);
  461. FcBool (*FcLangSetEqual_dylibloader_wrapper_fontconfig)(const FcLangSet*,const FcLangSet*);
  462. FcChar32 (*FcLangSetHash_dylibloader_wrapper_fontconfig)(const FcLangSet*);
  463. FcStrSet* (*FcLangSetGetLangs_dylibloader_wrapper_fontconfig)(const FcLangSet*);
  464. FcLangSet* (*FcLangSetUnion_dylibloader_wrapper_fontconfig)(const FcLangSet*,const FcLangSet*);
  465. FcLangSet* (*FcLangSetSubtract_dylibloader_wrapper_fontconfig)(const FcLangSet*,const FcLangSet*);
  466. FcObjectSet* (*FcObjectSetCreate_dylibloader_wrapper_fontconfig)( void);
  467. FcBool (*FcObjectSetAdd_dylibloader_wrapper_fontconfig)( FcObjectSet*,const char*);
  468. void (*FcObjectSetDestroy_dylibloader_wrapper_fontconfig)( FcObjectSet*);
  469. FcObjectSet* (*FcObjectSetVaBuild_dylibloader_wrapper_fontconfig)(const char*, va_list);
  470. FcObjectSet* (*FcObjectSetBuild_dylibloader_wrapper_fontconfig)(const char*,...);
  471. FcFontSet* (*FcFontSetList_dylibloader_wrapper_fontconfig)( FcConfig*, FcFontSet**, int, FcPattern*, FcObjectSet*);
  472. FcFontSet* (*FcFontList_dylibloader_wrapper_fontconfig)( FcConfig*, FcPattern*, FcObjectSet*);
  473. FcAtomic* (*FcAtomicCreate_dylibloader_wrapper_fontconfig)(const FcChar8*);
  474. FcBool (*FcAtomicLock_dylibloader_wrapper_fontconfig)( FcAtomic*);
  475. FcChar8* (*FcAtomicNewFile_dylibloader_wrapper_fontconfig)( FcAtomic*);
  476. FcChar8* (*FcAtomicOrigFile_dylibloader_wrapper_fontconfig)( FcAtomic*);
  477. FcBool (*FcAtomicReplaceOrig_dylibloader_wrapper_fontconfig)( FcAtomic*);
  478. void (*FcAtomicDeleteNew_dylibloader_wrapper_fontconfig)( FcAtomic*);
  479. void (*FcAtomicUnlock_dylibloader_wrapper_fontconfig)( FcAtomic*);
  480. void (*FcAtomicDestroy_dylibloader_wrapper_fontconfig)( FcAtomic*);
  481. FcPattern* (*FcFontSetMatch_dylibloader_wrapper_fontconfig)( FcConfig*, FcFontSet**, int, FcPattern*, FcResult*);
  482. FcPattern* (*FcFontMatch_dylibloader_wrapper_fontconfig)( FcConfig*, FcPattern*, FcResult*);
  483. FcPattern* (*FcFontRenderPrepare_dylibloader_wrapper_fontconfig)( FcConfig*, FcPattern*, FcPattern*);
  484. FcFontSet* (*FcFontSetSort_dylibloader_wrapper_fontconfig)( FcConfig*, FcFontSet**, int, FcPattern*, FcBool, FcCharSet**, FcResult*);
  485. FcFontSet* (*FcFontSort_dylibloader_wrapper_fontconfig)( FcConfig*, FcPattern*, FcBool, FcCharSet**, FcResult*);
  486. void (*FcFontSetSortDestroy_dylibloader_wrapper_fontconfig)( FcFontSet*);
  487. FcMatrix* (*FcMatrixCopy_dylibloader_wrapper_fontconfig)(const FcMatrix*);
  488. FcBool (*FcMatrixEqual_dylibloader_wrapper_fontconfig)(const FcMatrix*,const FcMatrix*);
  489. void (*FcMatrixMultiply_dylibloader_wrapper_fontconfig)( FcMatrix*,const FcMatrix*,const FcMatrix*);
  490. void (*FcMatrixRotate_dylibloader_wrapper_fontconfig)( FcMatrix*, double, double);
  491. void (*FcMatrixScale_dylibloader_wrapper_fontconfig)( FcMatrix*, double, double);
  492. void (*FcMatrixShear_dylibloader_wrapper_fontconfig)( FcMatrix*, double, double);
  493. FcBool (*FcNameRegisterObjectTypes_dylibloader_wrapper_fontconfig)(const FcObjectType*, int);
  494. FcBool (*FcNameUnregisterObjectTypes_dylibloader_wrapper_fontconfig)(const FcObjectType*, int);
  495. const FcObjectType* (*FcNameGetObjectType_dylibloader_wrapper_fontconfig)(const char*);
  496. FcBool (*FcNameRegisterConstants_dylibloader_wrapper_fontconfig)(const FcConstant*, int);
  497. FcBool (*FcNameUnregisterConstants_dylibloader_wrapper_fontconfig)(const FcConstant*, int);
  498. const FcConstant* (*FcNameGetConstant_dylibloader_wrapper_fontconfig)(const FcChar8*);
  499. FcBool (*FcNameConstant_dylibloader_wrapper_fontconfig)(const FcChar8*, int*);
  500. FcPattern* (*FcNameParse_dylibloader_wrapper_fontconfig)(const FcChar8*);
  501. FcChar8* (*FcNameUnparse_dylibloader_wrapper_fontconfig)( FcPattern*);
  502. FcPattern* (*FcPatternCreate_dylibloader_wrapper_fontconfig)( void);
  503. FcPattern* (*FcPatternDuplicate_dylibloader_wrapper_fontconfig)(const FcPattern*);
  504. void (*FcPatternReference_dylibloader_wrapper_fontconfig)( FcPattern*);
  505. FcPattern* (*FcPatternFilter_dylibloader_wrapper_fontconfig)( FcPattern*,const FcObjectSet*);
  506. void (*FcValueDestroy_dylibloader_wrapper_fontconfig)( FcValue);
  507. FcBool (*FcValueEqual_dylibloader_wrapper_fontconfig)( FcValue, FcValue);
  508. FcValue (*FcValueSave_dylibloader_wrapper_fontconfig)( FcValue);
  509. void (*FcPatternDestroy_dylibloader_wrapper_fontconfig)( FcPattern*);
  510. FcBool (*FcPatternEqual_dylibloader_wrapper_fontconfig)(const FcPattern*,const FcPattern*);
  511. FcBool (*FcPatternEqualSubset_dylibloader_wrapper_fontconfig)(const FcPattern*,const FcPattern*,const FcObjectSet*);
  512. FcChar32 (*FcPatternHash_dylibloader_wrapper_fontconfig)(const FcPattern*);
  513. FcBool (*FcPatternAdd_dylibloader_wrapper_fontconfig)( FcPattern*,const char*, FcValue, FcBool);
  514. FcBool (*FcPatternAddWeak_dylibloader_wrapper_fontconfig)( FcPattern*,const char*, FcValue, FcBool);
  515. FcResult (*FcPatternGet_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcValue*);
  516. FcResult (*FcPatternGetWithBinding_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcValue*, FcValueBinding*);
  517. FcBool (*FcPatternDel_dylibloader_wrapper_fontconfig)( FcPattern*,const char*);
  518. FcBool (*FcPatternRemove_dylibloader_wrapper_fontconfig)( FcPattern*,const char*, int);
  519. FcBool (*FcPatternAddInteger_dylibloader_wrapper_fontconfig)( FcPattern*,const char*, int);
  520. FcBool (*FcPatternAddDouble_dylibloader_wrapper_fontconfig)( FcPattern*,const char*, double);
  521. FcBool (*FcPatternAddString_dylibloader_wrapper_fontconfig)( FcPattern*,const char*,const FcChar8*);
  522. FcBool (*FcPatternAddMatrix_dylibloader_wrapper_fontconfig)( FcPattern*,const char*,const FcMatrix*);
  523. FcBool (*FcPatternAddCharSet_dylibloader_wrapper_fontconfig)( FcPattern*,const char*,const FcCharSet*);
  524. FcBool (*FcPatternAddBool_dylibloader_wrapper_fontconfig)( FcPattern*,const char*, FcBool);
  525. FcBool (*FcPatternAddLangSet_dylibloader_wrapper_fontconfig)( FcPattern*,const char*,const FcLangSet*);
  526. FcBool (*FcPatternAddRange_dylibloader_wrapper_fontconfig)( FcPattern*,const char*,const FcRange*);
  527. FcResult (*FcPatternGetInteger_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, int*);
  528. FcResult (*FcPatternGetDouble_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, double*);
  529. FcResult (*FcPatternGetString_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcChar8**);
  530. FcResult (*FcPatternGetMatrix_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcMatrix**);
  531. FcResult (*FcPatternGetCharSet_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcCharSet**);
  532. FcResult (*FcPatternGetBool_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcBool*);
  533. FcResult (*FcPatternGetLangSet_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcLangSet**);
  534. FcResult (*FcPatternGetRange_dylibloader_wrapper_fontconfig)(const FcPattern*,const char*, int, FcRange**);
  535. FcPattern* (*FcPatternVaBuild_dylibloader_wrapper_fontconfig)( FcPattern*, va_list);
  536. FcPattern* (*FcPatternBuild_dylibloader_wrapper_fontconfig)( FcPattern*,...);
  537. FcChar8* (*FcPatternFormat_dylibloader_wrapper_fontconfig)( FcPattern*,const FcChar8*);
  538. FcRange* (*FcRangeCreateDouble_dylibloader_wrapper_fontconfig)( double, double);
  539. FcRange* (*FcRangeCreateInteger_dylibloader_wrapper_fontconfig)( FcChar32, FcChar32);
  540. void (*FcRangeDestroy_dylibloader_wrapper_fontconfig)( FcRange*);
  541. FcRange* (*FcRangeCopy_dylibloader_wrapper_fontconfig)(const FcRange*);
  542. FcBool (*FcRangeGetDouble_dylibloader_wrapper_fontconfig)(const FcRange*, double*, double*);
  543. int (*FcWeightFromOpenType_dylibloader_wrapper_fontconfig)( int);
  544. int (*FcWeightToOpenType_dylibloader_wrapper_fontconfig)( int);
  545. FcChar8* (*FcStrCopy_dylibloader_wrapper_fontconfig)(const FcChar8*);
  546. FcChar8* (*FcStrCopyFilename_dylibloader_wrapper_fontconfig)(const FcChar8*);
  547. FcChar8* (*FcStrPlus_dylibloader_wrapper_fontconfig)(const FcChar8*,const FcChar8*);
  548. void (*FcStrFree_dylibloader_wrapper_fontconfig)( FcChar8*);
  549. FcChar8* (*FcStrDowncase_dylibloader_wrapper_fontconfig)(const FcChar8*);
  550. int (*FcStrCmpIgnoreCase_dylibloader_wrapper_fontconfig)(const FcChar8*,const FcChar8*);
  551. int (*FcStrCmp_dylibloader_wrapper_fontconfig)(const FcChar8*,const FcChar8*);
  552. const FcChar8* (*FcStrStrIgnoreCase_dylibloader_wrapper_fontconfig)(const FcChar8*,const FcChar8*);
  553. const FcChar8* (*FcStrStr_dylibloader_wrapper_fontconfig)(const FcChar8*,const FcChar8*);
  554. int (*FcUtf8ToUcs4_dylibloader_wrapper_fontconfig)(const FcChar8*, FcChar32*, int);
  555. FcBool (*FcUtf8Len_dylibloader_wrapper_fontconfig)(const FcChar8*, int, int*, int*);
  556. int (*FcUcs4ToUtf8_dylibloader_wrapper_fontconfig)( FcChar32, FcChar8 [6]);
  557. int (*FcUtf16ToUcs4_dylibloader_wrapper_fontconfig)(const FcChar8*, FcEndian, FcChar32*, int);
  558. FcBool (*FcUtf16Len_dylibloader_wrapper_fontconfig)(const FcChar8*, FcEndian, int, int*, int*);
  559. FcChar8* (*FcStrDirname_dylibloader_wrapper_fontconfig)(const FcChar8*);
  560. FcChar8* (*FcStrBasename_dylibloader_wrapper_fontconfig)(const FcChar8*);
  561. FcStrSet* (*FcStrSetCreate_dylibloader_wrapper_fontconfig)( void);
  562. FcBool (*FcStrSetMember_dylibloader_wrapper_fontconfig)( FcStrSet*,const FcChar8*);
  563. FcBool (*FcStrSetEqual_dylibloader_wrapper_fontconfig)( FcStrSet*, FcStrSet*);
  564. FcBool (*FcStrSetAdd_dylibloader_wrapper_fontconfig)( FcStrSet*,const FcChar8*);
  565. FcBool (*FcStrSetAddFilename_dylibloader_wrapper_fontconfig)( FcStrSet*,const FcChar8*);
  566. FcBool (*FcStrSetDel_dylibloader_wrapper_fontconfig)( FcStrSet*,const FcChar8*);
  567. void (*FcStrSetDestroy_dylibloader_wrapper_fontconfig)( FcStrSet*);
  568. FcStrList* (*FcStrListCreate_dylibloader_wrapper_fontconfig)( FcStrSet*);
  569. void (*FcStrListFirst_dylibloader_wrapper_fontconfig)( FcStrList*);
  570. FcChar8* (*FcStrListNext_dylibloader_wrapper_fontconfig)( FcStrList*);
  571. void (*FcStrListDone_dylibloader_wrapper_fontconfig)( FcStrList*);
  572. FcBool (*FcConfigParseAndLoad_dylibloader_wrapper_fontconfig)( FcConfig*,const FcChar8*, FcBool);
  573. FcBool (*FcConfigParseAndLoadFromMemory_dylibloader_wrapper_fontconfig)( FcConfig*,const FcChar8*, FcBool);
  574. int initialize_fontconfig(int verbose) {
  575. void *handle;
  576. char *error;
  577. handle = dlopen("libfontconfig.so", RTLD_LAZY);
  578. if (!handle) {
  579. if (verbose) {
  580. fprintf(stderr, "%s\n", dlerror());
  581. }
  582. return(1);
  583. }
  584. dlerror();
  585. // FcBlanksCreate
  586. *(void **) (&FcBlanksCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcBlanksCreate");
  587. if (verbose) {
  588. error = dlerror();
  589. if (error != NULL) {
  590. fprintf(stderr, "%s\n", error);
  591. }
  592. }
  593. // FcBlanksDestroy
  594. *(void **) (&FcBlanksDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcBlanksDestroy");
  595. if (verbose) {
  596. error = dlerror();
  597. if (error != NULL) {
  598. fprintf(stderr, "%s\n", error);
  599. }
  600. }
  601. // FcBlanksAdd
  602. *(void **) (&FcBlanksAdd_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcBlanksAdd");
  603. if (verbose) {
  604. error = dlerror();
  605. if (error != NULL) {
  606. fprintf(stderr, "%s\n", error);
  607. }
  608. }
  609. // FcBlanksIsMember
  610. *(void **) (&FcBlanksIsMember_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcBlanksIsMember");
  611. if (verbose) {
  612. error = dlerror();
  613. if (error != NULL) {
  614. fprintf(stderr, "%s\n", error);
  615. }
  616. }
  617. // FcCacheDir
  618. *(void **) (&FcCacheDir_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcCacheDir");
  619. if (verbose) {
  620. error = dlerror();
  621. if (error != NULL) {
  622. fprintf(stderr, "%s\n", error);
  623. }
  624. }
  625. // FcCacheCopySet
  626. *(void **) (&FcCacheCopySet_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcCacheCopySet");
  627. if (verbose) {
  628. error = dlerror();
  629. if (error != NULL) {
  630. fprintf(stderr, "%s\n", error);
  631. }
  632. }
  633. // FcCacheSubdir
  634. *(void **) (&FcCacheSubdir_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcCacheSubdir");
  635. if (verbose) {
  636. error = dlerror();
  637. if (error != NULL) {
  638. fprintf(stderr, "%s\n", error);
  639. }
  640. }
  641. // FcCacheNumSubdir
  642. *(void **) (&FcCacheNumSubdir_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcCacheNumSubdir");
  643. if (verbose) {
  644. error = dlerror();
  645. if (error != NULL) {
  646. fprintf(stderr, "%s\n", error);
  647. }
  648. }
  649. // FcCacheNumFont
  650. *(void **) (&FcCacheNumFont_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcCacheNumFont");
  651. if (verbose) {
  652. error = dlerror();
  653. if (error != NULL) {
  654. fprintf(stderr, "%s\n", error);
  655. }
  656. }
  657. // FcDirCacheUnlink
  658. *(void **) (&FcDirCacheUnlink_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheUnlink");
  659. if (verbose) {
  660. error = dlerror();
  661. if (error != NULL) {
  662. fprintf(stderr, "%s\n", error);
  663. }
  664. }
  665. // FcDirCacheValid
  666. *(void **) (&FcDirCacheValid_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheValid");
  667. if (verbose) {
  668. error = dlerror();
  669. if (error != NULL) {
  670. fprintf(stderr, "%s\n", error);
  671. }
  672. }
  673. // FcDirCacheClean
  674. *(void **) (&FcDirCacheClean_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheClean");
  675. if (verbose) {
  676. error = dlerror();
  677. if (error != NULL) {
  678. fprintf(stderr, "%s\n", error);
  679. }
  680. }
  681. // FcCacheCreateTagFile
  682. *(void **) (&FcCacheCreateTagFile_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcCacheCreateTagFile");
  683. if (verbose) {
  684. error = dlerror();
  685. if (error != NULL) {
  686. fprintf(stderr, "%s\n", error);
  687. }
  688. }
  689. // FcConfigHome
  690. *(void **) (&FcConfigHome_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigHome");
  691. if (verbose) {
  692. error = dlerror();
  693. if (error != NULL) {
  694. fprintf(stderr, "%s\n", error);
  695. }
  696. }
  697. // FcConfigEnableHome
  698. *(void **) (&FcConfigEnableHome_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigEnableHome");
  699. if (verbose) {
  700. error = dlerror();
  701. if (error != NULL) {
  702. fprintf(stderr, "%s\n", error);
  703. }
  704. }
  705. // FcConfigFilename
  706. *(void **) (&FcConfigFilename_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigFilename");
  707. if (verbose) {
  708. error = dlerror();
  709. if (error != NULL) {
  710. fprintf(stderr, "%s\n", error);
  711. }
  712. }
  713. // FcConfigCreate
  714. *(void **) (&FcConfigCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigCreate");
  715. if (verbose) {
  716. error = dlerror();
  717. if (error != NULL) {
  718. fprintf(stderr, "%s\n", error);
  719. }
  720. }
  721. // FcConfigReference
  722. *(void **) (&FcConfigReference_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigReference");
  723. if (verbose) {
  724. error = dlerror();
  725. if (error != NULL) {
  726. fprintf(stderr, "%s\n", error);
  727. }
  728. }
  729. // FcConfigDestroy
  730. *(void **) (&FcConfigDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigDestroy");
  731. if (verbose) {
  732. error = dlerror();
  733. if (error != NULL) {
  734. fprintf(stderr, "%s\n", error);
  735. }
  736. }
  737. // FcConfigSetCurrent
  738. *(void **) (&FcConfigSetCurrent_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigSetCurrent");
  739. if (verbose) {
  740. error = dlerror();
  741. if (error != NULL) {
  742. fprintf(stderr, "%s\n", error);
  743. }
  744. }
  745. // FcConfigGetCurrent
  746. *(void **) (&FcConfigGetCurrent_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetCurrent");
  747. if (verbose) {
  748. error = dlerror();
  749. if (error != NULL) {
  750. fprintf(stderr, "%s\n", error);
  751. }
  752. }
  753. // FcConfigUptoDate
  754. *(void **) (&FcConfigUptoDate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigUptoDate");
  755. if (verbose) {
  756. error = dlerror();
  757. if (error != NULL) {
  758. fprintf(stderr, "%s\n", error);
  759. }
  760. }
  761. // FcConfigBuildFonts
  762. *(void **) (&FcConfigBuildFonts_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigBuildFonts");
  763. if (verbose) {
  764. error = dlerror();
  765. if (error != NULL) {
  766. fprintf(stderr, "%s\n", error);
  767. }
  768. }
  769. // FcConfigGetFontDirs
  770. *(void **) (&FcConfigGetFontDirs_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetFontDirs");
  771. if (verbose) {
  772. error = dlerror();
  773. if (error != NULL) {
  774. fprintf(stderr, "%s\n", error);
  775. }
  776. }
  777. // FcConfigGetConfigDirs
  778. *(void **) (&FcConfigGetConfigDirs_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetConfigDirs");
  779. if (verbose) {
  780. error = dlerror();
  781. if (error != NULL) {
  782. fprintf(stderr, "%s\n", error);
  783. }
  784. }
  785. // FcConfigGetConfigFiles
  786. *(void **) (&FcConfigGetConfigFiles_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetConfigFiles");
  787. if (verbose) {
  788. error = dlerror();
  789. if (error != NULL) {
  790. fprintf(stderr, "%s\n", error);
  791. }
  792. }
  793. // FcConfigGetCache
  794. *(void **) (&FcConfigGetCache_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetCache");
  795. if (verbose) {
  796. error = dlerror();
  797. if (error != NULL) {
  798. fprintf(stderr, "%s\n", error);
  799. }
  800. }
  801. // FcConfigGetBlanks
  802. *(void **) (&FcConfigGetBlanks_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetBlanks");
  803. if (verbose) {
  804. error = dlerror();
  805. if (error != NULL) {
  806. fprintf(stderr, "%s\n", error);
  807. }
  808. }
  809. // FcConfigGetCacheDirs
  810. *(void **) (&FcConfigGetCacheDirs_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetCacheDirs");
  811. if (verbose) {
  812. error = dlerror();
  813. if (error != NULL) {
  814. fprintf(stderr, "%s\n", error);
  815. }
  816. }
  817. // FcConfigGetRescanInterval
  818. *(void **) (&FcConfigGetRescanInterval_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetRescanInterval");
  819. if (verbose) {
  820. error = dlerror();
  821. if (error != NULL) {
  822. fprintf(stderr, "%s\n", error);
  823. }
  824. }
  825. // FcConfigSetRescanInterval
  826. *(void **) (&FcConfigSetRescanInterval_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigSetRescanInterval");
  827. if (verbose) {
  828. error = dlerror();
  829. if (error != NULL) {
  830. fprintf(stderr, "%s\n", error);
  831. }
  832. }
  833. // FcConfigGetFonts
  834. *(void **) (&FcConfigGetFonts_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetFonts");
  835. if (verbose) {
  836. error = dlerror();
  837. if (error != NULL) {
  838. fprintf(stderr, "%s\n", error);
  839. }
  840. }
  841. // FcConfigAppFontAddFile
  842. *(void **) (&FcConfigAppFontAddFile_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigAppFontAddFile");
  843. if (verbose) {
  844. error = dlerror();
  845. if (error != NULL) {
  846. fprintf(stderr, "%s\n", error);
  847. }
  848. }
  849. // FcConfigAppFontAddDir
  850. *(void **) (&FcConfigAppFontAddDir_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigAppFontAddDir");
  851. if (verbose) {
  852. error = dlerror();
  853. if (error != NULL) {
  854. fprintf(stderr, "%s\n", error);
  855. }
  856. }
  857. // FcConfigAppFontClear
  858. *(void **) (&FcConfigAppFontClear_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigAppFontClear");
  859. if (verbose) {
  860. error = dlerror();
  861. if (error != NULL) {
  862. fprintf(stderr, "%s\n", error);
  863. }
  864. }
  865. // FcConfigSubstituteWithPat
  866. *(void **) (&FcConfigSubstituteWithPat_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigSubstituteWithPat");
  867. if (verbose) {
  868. error = dlerror();
  869. if (error != NULL) {
  870. fprintf(stderr, "%s\n", error);
  871. }
  872. }
  873. // FcConfigSubstitute
  874. *(void **) (&FcConfigSubstitute_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigSubstitute");
  875. if (verbose) {
  876. error = dlerror();
  877. if (error != NULL) {
  878. fprintf(stderr, "%s\n", error);
  879. }
  880. }
  881. // FcConfigGetSysRoot
  882. *(void **) (&FcConfigGetSysRoot_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigGetSysRoot");
  883. if (verbose) {
  884. error = dlerror();
  885. if (error != NULL) {
  886. fprintf(stderr, "%s\n", error);
  887. }
  888. }
  889. // FcConfigSetSysRoot
  890. *(void **) (&FcConfigSetSysRoot_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigSetSysRoot");
  891. if (verbose) {
  892. error = dlerror();
  893. if (error != NULL) {
  894. fprintf(stderr, "%s\n", error);
  895. }
  896. }
  897. // FcValuePrint
  898. *(void **) (&FcValuePrint_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcValuePrint");
  899. if (verbose) {
  900. error = dlerror();
  901. if (error != NULL) {
  902. fprintf(stderr, "%s\n", error);
  903. }
  904. }
  905. // FcPatternPrint
  906. *(void **) (&FcPatternPrint_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternPrint");
  907. if (verbose) {
  908. error = dlerror();
  909. if (error != NULL) {
  910. fprintf(stderr, "%s\n", error);
  911. }
  912. }
  913. // FcFontSetPrint
  914. *(void **) (&FcFontSetPrint_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetPrint");
  915. if (verbose) {
  916. error = dlerror();
  917. if (error != NULL) {
  918. fprintf(stderr, "%s\n", error);
  919. }
  920. }
  921. // FcGetDefaultLangs
  922. *(void **) (&FcGetDefaultLangs_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcGetDefaultLangs");
  923. if (verbose) {
  924. error = dlerror();
  925. if (error != NULL) {
  926. fprintf(stderr, "%s\n", error);
  927. }
  928. }
  929. // FcDefaultSubstitute
  930. *(void **) (&FcDefaultSubstitute_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDefaultSubstitute");
  931. if (verbose) {
  932. error = dlerror();
  933. if (error != NULL) {
  934. fprintf(stderr, "%s\n", error);
  935. }
  936. }
  937. // FcFileIsDir
  938. *(void **) (&FcFileIsDir_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFileIsDir");
  939. if (verbose) {
  940. error = dlerror();
  941. if (error != NULL) {
  942. fprintf(stderr, "%s\n", error);
  943. }
  944. }
  945. // FcFileScan
  946. *(void **) (&FcFileScan_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFileScan");
  947. if (verbose) {
  948. error = dlerror();
  949. if (error != NULL) {
  950. fprintf(stderr, "%s\n", error);
  951. }
  952. }
  953. // FcDirScan
  954. *(void **) (&FcDirScan_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirScan");
  955. if (verbose) {
  956. error = dlerror();
  957. if (error != NULL) {
  958. fprintf(stderr, "%s\n", error);
  959. }
  960. }
  961. // FcDirSave
  962. *(void **) (&FcDirSave_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirSave");
  963. if (verbose) {
  964. error = dlerror();
  965. if (error != NULL) {
  966. fprintf(stderr, "%s\n", error);
  967. }
  968. }
  969. // FcDirCacheLoad
  970. *(void **) (&FcDirCacheLoad_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheLoad");
  971. if (verbose) {
  972. error = dlerror();
  973. if (error != NULL) {
  974. fprintf(stderr, "%s\n", error);
  975. }
  976. }
  977. // FcDirCacheRescan
  978. *(void **) (&FcDirCacheRescan_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheRescan");
  979. if (verbose) {
  980. error = dlerror();
  981. if (error != NULL) {
  982. fprintf(stderr, "%s\n", error);
  983. }
  984. }
  985. // FcDirCacheRead
  986. *(void **) (&FcDirCacheRead_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheRead");
  987. if (verbose) {
  988. error = dlerror();
  989. if (error != NULL) {
  990. fprintf(stderr, "%s\n", error);
  991. }
  992. }
  993. // FcDirCacheLoadFile
  994. *(void **) (&FcDirCacheLoadFile_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheLoadFile");
  995. if (verbose) {
  996. error = dlerror();
  997. if (error != NULL) {
  998. fprintf(stderr, "%s\n", error);
  999. }
  1000. }
  1001. // FcDirCacheUnload
  1002. *(void **) (&FcDirCacheUnload_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcDirCacheUnload");
  1003. if (verbose) {
  1004. error = dlerror();
  1005. if (error != NULL) {
  1006. fprintf(stderr, "%s\n", error);
  1007. }
  1008. }
  1009. // FcFreeTypeQuery
  1010. *(void **) (&FcFreeTypeQuery_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFreeTypeQuery");
  1011. if (verbose) {
  1012. error = dlerror();
  1013. if (error != NULL) {
  1014. fprintf(stderr, "%s\n", error);
  1015. }
  1016. }
  1017. // FcFontSetCreate
  1018. *(void **) (&FcFontSetCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetCreate");
  1019. if (verbose) {
  1020. error = dlerror();
  1021. if (error != NULL) {
  1022. fprintf(stderr, "%s\n", error);
  1023. }
  1024. }
  1025. // FcFontSetDestroy
  1026. *(void **) (&FcFontSetDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetDestroy");
  1027. if (verbose) {
  1028. error = dlerror();
  1029. if (error != NULL) {
  1030. fprintf(stderr, "%s\n", error);
  1031. }
  1032. }
  1033. // FcFontSetAdd
  1034. *(void **) (&FcFontSetAdd_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetAdd");
  1035. if (verbose) {
  1036. error = dlerror();
  1037. if (error != NULL) {
  1038. fprintf(stderr, "%s\n", error);
  1039. }
  1040. }
  1041. // FcInitLoadConfig
  1042. *(void **) (&FcInitLoadConfig_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcInitLoadConfig");
  1043. if (verbose) {
  1044. error = dlerror();
  1045. if (error != NULL) {
  1046. fprintf(stderr, "%s\n", error);
  1047. }
  1048. }
  1049. // FcInitLoadConfigAndFonts
  1050. *(void **) (&FcInitLoadConfigAndFonts_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcInitLoadConfigAndFonts");
  1051. if (verbose) {
  1052. error = dlerror();
  1053. if (error != NULL) {
  1054. fprintf(stderr, "%s\n", error);
  1055. }
  1056. }
  1057. // FcInit
  1058. *(void **) (&FcInit_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcInit");
  1059. if (verbose) {
  1060. error = dlerror();
  1061. if (error != NULL) {
  1062. fprintf(stderr, "%s\n", error);
  1063. }
  1064. }
  1065. // FcFini
  1066. *(void **) (&FcFini_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFini");
  1067. if (verbose) {
  1068. error = dlerror();
  1069. if (error != NULL) {
  1070. fprintf(stderr, "%s\n", error);
  1071. }
  1072. }
  1073. // FcGetVersion
  1074. *(void **) (&FcGetVersion_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcGetVersion");
  1075. if (verbose) {
  1076. error = dlerror();
  1077. if (error != NULL) {
  1078. fprintf(stderr, "%s\n", error);
  1079. }
  1080. }
  1081. // FcInitReinitialize
  1082. *(void **) (&FcInitReinitialize_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcInitReinitialize");
  1083. if (verbose) {
  1084. error = dlerror();
  1085. if (error != NULL) {
  1086. fprintf(stderr, "%s\n", error);
  1087. }
  1088. }
  1089. // FcInitBringUptoDate
  1090. *(void **) (&FcInitBringUptoDate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcInitBringUptoDate");
  1091. if (verbose) {
  1092. error = dlerror();
  1093. if (error != NULL) {
  1094. fprintf(stderr, "%s\n", error);
  1095. }
  1096. }
  1097. // FcGetLangs
  1098. *(void **) (&FcGetLangs_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcGetLangs");
  1099. if (verbose) {
  1100. error = dlerror();
  1101. if (error != NULL) {
  1102. fprintf(stderr, "%s\n", error);
  1103. }
  1104. }
  1105. // FcLangNormalize
  1106. *(void **) (&FcLangNormalize_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangNormalize");
  1107. if (verbose) {
  1108. error = dlerror();
  1109. if (error != NULL) {
  1110. fprintf(stderr, "%s\n", error);
  1111. }
  1112. }
  1113. // FcLangGetCharSet
  1114. *(void **) (&FcLangGetCharSet_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangGetCharSet");
  1115. if (verbose) {
  1116. error = dlerror();
  1117. if (error != NULL) {
  1118. fprintf(stderr, "%s\n", error);
  1119. }
  1120. }
  1121. // FcLangSetCreate
  1122. *(void **) (&FcLangSetCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetCreate");
  1123. if (verbose) {
  1124. error = dlerror();
  1125. if (error != NULL) {
  1126. fprintf(stderr, "%s\n", error);
  1127. }
  1128. }
  1129. // FcLangSetDestroy
  1130. *(void **) (&FcLangSetDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetDestroy");
  1131. if (verbose) {
  1132. error = dlerror();
  1133. if (error != NULL) {
  1134. fprintf(stderr, "%s\n", error);
  1135. }
  1136. }
  1137. // FcLangSetCopy
  1138. *(void **) (&FcLangSetCopy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetCopy");
  1139. if (verbose) {
  1140. error = dlerror();
  1141. if (error != NULL) {
  1142. fprintf(stderr, "%s\n", error);
  1143. }
  1144. }
  1145. // FcLangSetAdd
  1146. *(void **) (&FcLangSetAdd_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetAdd");
  1147. if (verbose) {
  1148. error = dlerror();
  1149. if (error != NULL) {
  1150. fprintf(stderr, "%s\n", error);
  1151. }
  1152. }
  1153. // FcLangSetDel
  1154. *(void **) (&FcLangSetDel_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetDel");
  1155. if (verbose) {
  1156. error = dlerror();
  1157. if (error != NULL) {
  1158. fprintf(stderr, "%s\n", error);
  1159. }
  1160. }
  1161. // FcLangSetHasLang
  1162. *(void **) (&FcLangSetHasLang_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetHasLang");
  1163. if (verbose) {
  1164. error = dlerror();
  1165. if (error != NULL) {
  1166. fprintf(stderr, "%s\n", error);
  1167. }
  1168. }
  1169. // FcLangSetCompare
  1170. *(void **) (&FcLangSetCompare_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetCompare");
  1171. if (verbose) {
  1172. error = dlerror();
  1173. if (error != NULL) {
  1174. fprintf(stderr, "%s\n", error);
  1175. }
  1176. }
  1177. // FcLangSetContains
  1178. *(void **) (&FcLangSetContains_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetContains");
  1179. if (verbose) {
  1180. error = dlerror();
  1181. if (error != NULL) {
  1182. fprintf(stderr, "%s\n", error);
  1183. }
  1184. }
  1185. // FcLangSetEqual
  1186. *(void **) (&FcLangSetEqual_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetEqual");
  1187. if (verbose) {
  1188. error = dlerror();
  1189. if (error != NULL) {
  1190. fprintf(stderr, "%s\n", error);
  1191. }
  1192. }
  1193. // FcLangSetHash
  1194. *(void **) (&FcLangSetHash_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetHash");
  1195. if (verbose) {
  1196. error = dlerror();
  1197. if (error != NULL) {
  1198. fprintf(stderr, "%s\n", error);
  1199. }
  1200. }
  1201. // FcLangSetGetLangs
  1202. *(void **) (&FcLangSetGetLangs_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetGetLangs");
  1203. if (verbose) {
  1204. error = dlerror();
  1205. if (error != NULL) {
  1206. fprintf(stderr, "%s\n", error);
  1207. }
  1208. }
  1209. // FcLangSetUnion
  1210. *(void **) (&FcLangSetUnion_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetUnion");
  1211. if (verbose) {
  1212. error = dlerror();
  1213. if (error != NULL) {
  1214. fprintf(stderr, "%s\n", error);
  1215. }
  1216. }
  1217. // FcLangSetSubtract
  1218. *(void **) (&FcLangSetSubtract_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcLangSetSubtract");
  1219. if (verbose) {
  1220. error = dlerror();
  1221. if (error != NULL) {
  1222. fprintf(stderr, "%s\n", error);
  1223. }
  1224. }
  1225. // FcObjectSetCreate
  1226. *(void **) (&FcObjectSetCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcObjectSetCreate");
  1227. if (verbose) {
  1228. error = dlerror();
  1229. if (error != NULL) {
  1230. fprintf(stderr, "%s\n", error);
  1231. }
  1232. }
  1233. // FcObjectSetAdd
  1234. *(void **) (&FcObjectSetAdd_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcObjectSetAdd");
  1235. if (verbose) {
  1236. error = dlerror();
  1237. if (error != NULL) {
  1238. fprintf(stderr, "%s\n", error);
  1239. }
  1240. }
  1241. // FcObjectSetDestroy
  1242. *(void **) (&FcObjectSetDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcObjectSetDestroy");
  1243. if (verbose) {
  1244. error = dlerror();
  1245. if (error != NULL) {
  1246. fprintf(stderr, "%s\n", error);
  1247. }
  1248. }
  1249. // FcObjectSetVaBuild
  1250. *(void **) (&FcObjectSetVaBuild_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcObjectSetVaBuild");
  1251. if (verbose) {
  1252. error = dlerror();
  1253. if (error != NULL) {
  1254. fprintf(stderr, "%s\n", error);
  1255. }
  1256. }
  1257. // FcObjectSetBuild
  1258. *(void **) (&FcObjectSetBuild_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcObjectSetBuild");
  1259. if (verbose) {
  1260. error = dlerror();
  1261. if (error != NULL) {
  1262. fprintf(stderr, "%s\n", error);
  1263. }
  1264. }
  1265. // FcFontSetList
  1266. *(void **) (&FcFontSetList_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetList");
  1267. if (verbose) {
  1268. error = dlerror();
  1269. if (error != NULL) {
  1270. fprintf(stderr, "%s\n", error);
  1271. }
  1272. }
  1273. // FcFontList
  1274. *(void **) (&FcFontList_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontList");
  1275. if (verbose) {
  1276. error = dlerror();
  1277. if (error != NULL) {
  1278. fprintf(stderr, "%s\n", error);
  1279. }
  1280. }
  1281. // FcAtomicCreate
  1282. *(void **) (&FcAtomicCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicCreate");
  1283. if (verbose) {
  1284. error = dlerror();
  1285. if (error != NULL) {
  1286. fprintf(stderr, "%s\n", error);
  1287. }
  1288. }
  1289. // FcAtomicLock
  1290. *(void **) (&FcAtomicLock_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicLock");
  1291. if (verbose) {
  1292. error = dlerror();
  1293. if (error != NULL) {
  1294. fprintf(stderr, "%s\n", error);
  1295. }
  1296. }
  1297. // FcAtomicNewFile
  1298. *(void **) (&FcAtomicNewFile_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicNewFile");
  1299. if (verbose) {
  1300. error = dlerror();
  1301. if (error != NULL) {
  1302. fprintf(stderr, "%s\n", error);
  1303. }
  1304. }
  1305. // FcAtomicOrigFile
  1306. *(void **) (&FcAtomicOrigFile_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicOrigFile");
  1307. if (verbose) {
  1308. error = dlerror();
  1309. if (error != NULL) {
  1310. fprintf(stderr, "%s\n", error);
  1311. }
  1312. }
  1313. // FcAtomicReplaceOrig
  1314. *(void **) (&FcAtomicReplaceOrig_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicReplaceOrig");
  1315. if (verbose) {
  1316. error = dlerror();
  1317. if (error != NULL) {
  1318. fprintf(stderr, "%s\n", error);
  1319. }
  1320. }
  1321. // FcAtomicDeleteNew
  1322. *(void **) (&FcAtomicDeleteNew_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicDeleteNew");
  1323. if (verbose) {
  1324. error = dlerror();
  1325. if (error != NULL) {
  1326. fprintf(stderr, "%s\n", error);
  1327. }
  1328. }
  1329. // FcAtomicUnlock
  1330. *(void **) (&FcAtomicUnlock_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicUnlock");
  1331. if (verbose) {
  1332. error = dlerror();
  1333. if (error != NULL) {
  1334. fprintf(stderr, "%s\n", error);
  1335. }
  1336. }
  1337. // FcAtomicDestroy
  1338. *(void **) (&FcAtomicDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcAtomicDestroy");
  1339. if (verbose) {
  1340. error = dlerror();
  1341. if (error != NULL) {
  1342. fprintf(stderr, "%s\n", error);
  1343. }
  1344. }
  1345. // FcFontSetMatch
  1346. *(void **) (&FcFontSetMatch_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetMatch");
  1347. if (verbose) {
  1348. error = dlerror();
  1349. if (error != NULL) {
  1350. fprintf(stderr, "%s\n", error);
  1351. }
  1352. }
  1353. // FcFontMatch
  1354. *(void **) (&FcFontMatch_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontMatch");
  1355. if (verbose) {
  1356. error = dlerror();
  1357. if (error != NULL) {
  1358. fprintf(stderr, "%s\n", error);
  1359. }
  1360. }
  1361. // FcFontRenderPrepare
  1362. *(void **) (&FcFontRenderPrepare_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontRenderPrepare");
  1363. if (verbose) {
  1364. error = dlerror();
  1365. if (error != NULL) {
  1366. fprintf(stderr, "%s\n", error);
  1367. }
  1368. }
  1369. // FcFontSetSort
  1370. *(void **) (&FcFontSetSort_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetSort");
  1371. if (verbose) {
  1372. error = dlerror();
  1373. if (error != NULL) {
  1374. fprintf(stderr, "%s\n", error);
  1375. }
  1376. }
  1377. // FcFontSort
  1378. *(void **) (&FcFontSort_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSort");
  1379. if (verbose) {
  1380. error = dlerror();
  1381. if (error != NULL) {
  1382. fprintf(stderr, "%s\n", error);
  1383. }
  1384. }
  1385. // FcFontSetSortDestroy
  1386. *(void **) (&FcFontSetSortDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcFontSetSortDestroy");
  1387. if (verbose) {
  1388. error = dlerror();
  1389. if (error != NULL) {
  1390. fprintf(stderr, "%s\n", error);
  1391. }
  1392. }
  1393. // FcMatrixCopy
  1394. *(void **) (&FcMatrixCopy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcMatrixCopy");
  1395. if (verbose) {
  1396. error = dlerror();
  1397. if (error != NULL) {
  1398. fprintf(stderr, "%s\n", error);
  1399. }
  1400. }
  1401. // FcMatrixEqual
  1402. *(void **) (&FcMatrixEqual_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcMatrixEqual");
  1403. if (verbose) {
  1404. error = dlerror();
  1405. if (error != NULL) {
  1406. fprintf(stderr, "%s\n", error);
  1407. }
  1408. }
  1409. // FcMatrixMultiply
  1410. *(void **) (&FcMatrixMultiply_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcMatrixMultiply");
  1411. if (verbose) {
  1412. error = dlerror();
  1413. if (error != NULL) {
  1414. fprintf(stderr, "%s\n", error);
  1415. }
  1416. }
  1417. // FcMatrixRotate
  1418. *(void **) (&FcMatrixRotate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcMatrixRotate");
  1419. if (verbose) {
  1420. error = dlerror();
  1421. if (error != NULL) {
  1422. fprintf(stderr, "%s\n", error);
  1423. }
  1424. }
  1425. // FcMatrixScale
  1426. *(void **) (&FcMatrixScale_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcMatrixScale");
  1427. if (verbose) {
  1428. error = dlerror();
  1429. if (error != NULL) {
  1430. fprintf(stderr, "%s\n", error);
  1431. }
  1432. }
  1433. // FcMatrixShear
  1434. *(void **) (&FcMatrixShear_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcMatrixShear");
  1435. if (verbose) {
  1436. error = dlerror();
  1437. if (error != NULL) {
  1438. fprintf(stderr, "%s\n", error);
  1439. }
  1440. }
  1441. // FcNameRegisterObjectTypes
  1442. *(void **) (&FcNameRegisterObjectTypes_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameRegisterObjectTypes");
  1443. if (verbose) {
  1444. error = dlerror();
  1445. if (error != NULL) {
  1446. fprintf(stderr, "%s\n", error);
  1447. }
  1448. }
  1449. // FcNameUnregisterObjectTypes
  1450. *(void **) (&FcNameUnregisterObjectTypes_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameUnregisterObjectTypes");
  1451. if (verbose) {
  1452. error = dlerror();
  1453. if (error != NULL) {
  1454. fprintf(stderr, "%s\n", error);
  1455. }
  1456. }
  1457. // FcNameGetObjectType
  1458. *(void **) (&FcNameGetObjectType_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameGetObjectType");
  1459. if (verbose) {
  1460. error = dlerror();
  1461. if (error != NULL) {
  1462. fprintf(stderr, "%s\n", error);
  1463. }
  1464. }
  1465. // FcNameRegisterConstants
  1466. *(void **) (&FcNameRegisterConstants_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameRegisterConstants");
  1467. if (verbose) {
  1468. error = dlerror();
  1469. if (error != NULL) {
  1470. fprintf(stderr, "%s\n", error);
  1471. }
  1472. }
  1473. // FcNameUnregisterConstants
  1474. *(void **) (&FcNameUnregisterConstants_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameUnregisterConstants");
  1475. if (verbose) {
  1476. error = dlerror();
  1477. if (error != NULL) {
  1478. fprintf(stderr, "%s\n", error);
  1479. }
  1480. }
  1481. // FcNameGetConstant
  1482. *(void **) (&FcNameGetConstant_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameGetConstant");
  1483. if (verbose) {
  1484. error = dlerror();
  1485. if (error != NULL) {
  1486. fprintf(stderr, "%s\n", error);
  1487. }
  1488. }
  1489. // FcNameConstant
  1490. *(void **) (&FcNameConstant_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameConstant");
  1491. if (verbose) {
  1492. error = dlerror();
  1493. if (error != NULL) {
  1494. fprintf(stderr, "%s\n", error);
  1495. }
  1496. }
  1497. // FcNameParse
  1498. *(void **) (&FcNameParse_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameParse");
  1499. if (verbose) {
  1500. error = dlerror();
  1501. if (error != NULL) {
  1502. fprintf(stderr, "%s\n", error);
  1503. }
  1504. }
  1505. // FcNameUnparse
  1506. *(void **) (&FcNameUnparse_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcNameUnparse");
  1507. if (verbose) {
  1508. error = dlerror();
  1509. if (error != NULL) {
  1510. fprintf(stderr, "%s\n", error);
  1511. }
  1512. }
  1513. // FcPatternCreate
  1514. *(void **) (&FcPatternCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternCreate");
  1515. if (verbose) {
  1516. error = dlerror();
  1517. if (error != NULL) {
  1518. fprintf(stderr, "%s\n", error);
  1519. }
  1520. }
  1521. // FcPatternDuplicate
  1522. *(void **) (&FcPatternDuplicate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternDuplicate");
  1523. if (verbose) {
  1524. error = dlerror();
  1525. if (error != NULL) {
  1526. fprintf(stderr, "%s\n", error);
  1527. }
  1528. }
  1529. // FcPatternReference
  1530. *(void **) (&FcPatternReference_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternReference");
  1531. if (verbose) {
  1532. error = dlerror();
  1533. if (error != NULL) {
  1534. fprintf(stderr, "%s\n", error);
  1535. }
  1536. }
  1537. // FcPatternFilter
  1538. *(void **) (&FcPatternFilter_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternFilter");
  1539. if (verbose) {
  1540. error = dlerror();
  1541. if (error != NULL) {
  1542. fprintf(stderr, "%s\n", error);
  1543. }
  1544. }
  1545. // FcValueDestroy
  1546. *(void **) (&FcValueDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcValueDestroy");
  1547. if (verbose) {
  1548. error = dlerror();
  1549. if (error != NULL) {
  1550. fprintf(stderr, "%s\n", error);
  1551. }
  1552. }
  1553. // FcValueEqual
  1554. *(void **) (&FcValueEqual_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcValueEqual");
  1555. if (verbose) {
  1556. error = dlerror();
  1557. if (error != NULL) {
  1558. fprintf(stderr, "%s\n", error);
  1559. }
  1560. }
  1561. // FcValueSave
  1562. *(void **) (&FcValueSave_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcValueSave");
  1563. if (verbose) {
  1564. error = dlerror();
  1565. if (error != NULL) {
  1566. fprintf(stderr, "%s\n", error);
  1567. }
  1568. }
  1569. // FcPatternDestroy
  1570. *(void **) (&FcPatternDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternDestroy");
  1571. if (verbose) {
  1572. error = dlerror();
  1573. if (error != NULL) {
  1574. fprintf(stderr, "%s\n", error);
  1575. }
  1576. }
  1577. // FcPatternEqual
  1578. *(void **) (&FcPatternEqual_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternEqual");
  1579. if (verbose) {
  1580. error = dlerror();
  1581. if (error != NULL) {
  1582. fprintf(stderr, "%s\n", error);
  1583. }
  1584. }
  1585. // FcPatternEqualSubset
  1586. *(void **) (&FcPatternEqualSubset_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternEqualSubset");
  1587. if (verbose) {
  1588. error = dlerror();
  1589. if (error != NULL) {
  1590. fprintf(stderr, "%s\n", error);
  1591. }
  1592. }
  1593. // FcPatternHash
  1594. *(void **) (&FcPatternHash_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternHash");
  1595. if (verbose) {
  1596. error = dlerror();
  1597. if (error != NULL) {
  1598. fprintf(stderr, "%s\n", error);
  1599. }
  1600. }
  1601. // FcPatternAdd
  1602. *(void **) (&FcPatternAdd_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAdd");
  1603. if (verbose) {
  1604. error = dlerror();
  1605. if (error != NULL) {
  1606. fprintf(stderr, "%s\n", error);
  1607. }
  1608. }
  1609. // FcPatternAddWeak
  1610. *(void **) (&FcPatternAddWeak_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddWeak");
  1611. if (verbose) {
  1612. error = dlerror();
  1613. if (error != NULL) {
  1614. fprintf(stderr, "%s\n", error);
  1615. }
  1616. }
  1617. // FcPatternGet
  1618. *(void **) (&FcPatternGet_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGet");
  1619. if (verbose) {
  1620. error = dlerror();
  1621. if (error != NULL) {
  1622. fprintf(stderr, "%s\n", error);
  1623. }
  1624. }
  1625. // FcPatternGetWithBinding
  1626. *(void **) (&FcPatternGetWithBinding_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetWithBinding");
  1627. if (verbose) {
  1628. error = dlerror();
  1629. if (error != NULL) {
  1630. fprintf(stderr, "%s\n", error);
  1631. }
  1632. }
  1633. // FcPatternDel
  1634. *(void **) (&FcPatternDel_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternDel");
  1635. if (verbose) {
  1636. error = dlerror();
  1637. if (error != NULL) {
  1638. fprintf(stderr, "%s\n", error);
  1639. }
  1640. }
  1641. // FcPatternRemove
  1642. *(void **) (&FcPatternRemove_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternRemove");
  1643. if (verbose) {
  1644. error = dlerror();
  1645. if (error != NULL) {
  1646. fprintf(stderr, "%s\n", error);
  1647. }
  1648. }
  1649. // FcPatternAddInteger
  1650. *(void **) (&FcPatternAddInteger_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddInteger");
  1651. if (verbose) {
  1652. error = dlerror();
  1653. if (error != NULL) {
  1654. fprintf(stderr, "%s\n", error);
  1655. }
  1656. }
  1657. // FcPatternAddDouble
  1658. *(void **) (&FcPatternAddDouble_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddDouble");
  1659. if (verbose) {
  1660. error = dlerror();
  1661. if (error != NULL) {
  1662. fprintf(stderr, "%s\n", error);
  1663. }
  1664. }
  1665. // FcPatternAddString
  1666. *(void **) (&FcPatternAddString_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddString");
  1667. if (verbose) {
  1668. error = dlerror();
  1669. if (error != NULL) {
  1670. fprintf(stderr, "%s\n", error);
  1671. }
  1672. }
  1673. // FcPatternAddMatrix
  1674. *(void **) (&FcPatternAddMatrix_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddMatrix");
  1675. if (verbose) {
  1676. error = dlerror();
  1677. if (error != NULL) {
  1678. fprintf(stderr, "%s\n", error);
  1679. }
  1680. }
  1681. // FcPatternAddCharSet
  1682. *(void **) (&FcPatternAddCharSet_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddCharSet");
  1683. if (verbose) {
  1684. error = dlerror();
  1685. if (error != NULL) {
  1686. fprintf(stderr, "%s\n", error);
  1687. }
  1688. }
  1689. // FcPatternAddBool
  1690. *(void **) (&FcPatternAddBool_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddBool");
  1691. if (verbose) {
  1692. error = dlerror();
  1693. if (error != NULL) {
  1694. fprintf(stderr, "%s\n", error);
  1695. }
  1696. }
  1697. // FcPatternAddLangSet
  1698. *(void **) (&FcPatternAddLangSet_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddLangSet");
  1699. if (verbose) {
  1700. error = dlerror();
  1701. if (error != NULL) {
  1702. fprintf(stderr, "%s\n", error);
  1703. }
  1704. }
  1705. // FcPatternAddRange
  1706. *(void **) (&FcPatternAddRange_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternAddRange");
  1707. if (verbose) {
  1708. error = dlerror();
  1709. if (error != NULL) {
  1710. fprintf(stderr, "%s\n", error);
  1711. }
  1712. }
  1713. // FcPatternGetInteger
  1714. *(void **) (&FcPatternGetInteger_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetInteger");
  1715. if (verbose) {
  1716. error = dlerror();
  1717. if (error != NULL) {
  1718. fprintf(stderr, "%s\n", error);
  1719. }
  1720. }
  1721. // FcPatternGetDouble
  1722. *(void **) (&FcPatternGetDouble_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetDouble");
  1723. if (verbose) {
  1724. error = dlerror();
  1725. if (error != NULL) {
  1726. fprintf(stderr, "%s\n", error);
  1727. }
  1728. }
  1729. // FcPatternGetString
  1730. *(void **) (&FcPatternGetString_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetString");
  1731. if (verbose) {
  1732. error = dlerror();
  1733. if (error != NULL) {
  1734. fprintf(stderr, "%s\n", error);
  1735. }
  1736. }
  1737. // FcPatternGetMatrix
  1738. *(void **) (&FcPatternGetMatrix_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetMatrix");
  1739. if (verbose) {
  1740. error = dlerror();
  1741. if (error != NULL) {
  1742. fprintf(stderr, "%s\n", error);
  1743. }
  1744. }
  1745. // FcPatternGetCharSet
  1746. *(void **) (&FcPatternGetCharSet_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetCharSet");
  1747. if (verbose) {
  1748. error = dlerror();
  1749. if (error != NULL) {
  1750. fprintf(stderr, "%s\n", error);
  1751. }
  1752. }
  1753. // FcPatternGetBool
  1754. *(void **) (&FcPatternGetBool_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetBool");
  1755. if (verbose) {
  1756. error = dlerror();
  1757. if (error != NULL) {
  1758. fprintf(stderr, "%s\n", error);
  1759. }
  1760. }
  1761. // FcPatternGetLangSet
  1762. *(void **) (&FcPatternGetLangSet_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetLangSet");
  1763. if (verbose) {
  1764. error = dlerror();
  1765. if (error != NULL) {
  1766. fprintf(stderr, "%s\n", error);
  1767. }
  1768. }
  1769. // FcPatternGetRange
  1770. *(void **) (&FcPatternGetRange_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternGetRange");
  1771. if (verbose) {
  1772. error = dlerror();
  1773. if (error != NULL) {
  1774. fprintf(stderr, "%s\n", error);
  1775. }
  1776. }
  1777. // FcPatternVaBuild
  1778. *(void **) (&FcPatternVaBuild_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternVaBuild");
  1779. if (verbose) {
  1780. error = dlerror();
  1781. if (error != NULL) {
  1782. fprintf(stderr, "%s\n", error);
  1783. }
  1784. }
  1785. // FcPatternBuild
  1786. *(void **) (&FcPatternBuild_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternBuild");
  1787. if (verbose) {
  1788. error = dlerror();
  1789. if (error != NULL) {
  1790. fprintf(stderr, "%s\n", error);
  1791. }
  1792. }
  1793. // FcPatternFormat
  1794. *(void **) (&FcPatternFormat_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcPatternFormat");
  1795. if (verbose) {
  1796. error = dlerror();
  1797. if (error != NULL) {
  1798. fprintf(stderr, "%s\n", error);
  1799. }
  1800. }
  1801. // FcRangeCreateDouble
  1802. *(void **) (&FcRangeCreateDouble_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcRangeCreateDouble");
  1803. if (verbose) {
  1804. error = dlerror();
  1805. if (error != NULL) {
  1806. fprintf(stderr, "%s\n", error);
  1807. }
  1808. }
  1809. // FcRangeCreateInteger
  1810. *(void **) (&FcRangeCreateInteger_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcRangeCreateInteger");
  1811. if (verbose) {
  1812. error = dlerror();
  1813. if (error != NULL) {
  1814. fprintf(stderr, "%s\n", error);
  1815. }
  1816. }
  1817. // FcRangeDestroy
  1818. *(void **) (&FcRangeDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcRangeDestroy");
  1819. if (verbose) {
  1820. error = dlerror();
  1821. if (error != NULL) {
  1822. fprintf(stderr, "%s\n", error);
  1823. }
  1824. }
  1825. // FcRangeCopy
  1826. *(void **) (&FcRangeCopy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcRangeCopy");
  1827. if (verbose) {
  1828. error = dlerror();
  1829. if (error != NULL) {
  1830. fprintf(stderr, "%s\n", error);
  1831. }
  1832. }
  1833. // FcRangeGetDouble
  1834. *(void **) (&FcRangeGetDouble_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcRangeGetDouble");
  1835. if (verbose) {
  1836. error = dlerror();
  1837. if (error != NULL) {
  1838. fprintf(stderr, "%s\n", error);
  1839. }
  1840. }
  1841. // FcWeightFromOpenType
  1842. *(void **) (&FcWeightFromOpenType_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcWeightFromOpenType");
  1843. if (verbose) {
  1844. error = dlerror();
  1845. if (error != NULL) {
  1846. fprintf(stderr, "%s\n", error);
  1847. }
  1848. }
  1849. // FcWeightToOpenType
  1850. *(void **) (&FcWeightToOpenType_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcWeightToOpenType");
  1851. if (verbose) {
  1852. error = dlerror();
  1853. if (error != NULL) {
  1854. fprintf(stderr, "%s\n", error);
  1855. }
  1856. }
  1857. // FcStrCopy
  1858. *(void **) (&FcStrCopy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrCopy");
  1859. if (verbose) {
  1860. error = dlerror();
  1861. if (error != NULL) {
  1862. fprintf(stderr, "%s\n", error);
  1863. }
  1864. }
  1865. // FcStrCopyFilename
  1866. *(void **) (&FcStrCopyFilename_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrCopyFilename");
  1867. if (verbose) {
  1868. error = dlerror();
  1869. if (error != NULL) {
  1870. fprintf(stderr, "%s\n", error);
  1871. }
  1872. }
  1873. // FcStrPlus
  1874. *(void **) (&FcStrPlus_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrPlus");
  1875. if (verbose) {
  1876. error = dlerror();
  1877. if (error != NULL) {
  1878. fprintf(stderr, "%s\n", error);
  1879. }
  1880. }
  1881. // FcStrFree
  1882. *(void **) (&FcStrFree_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrFree");
  1883. if (verbose) {
  1884. error = dlerror();
  1885. if (error != NULL) {
  1886. fprintf(stderr, "%s\n", error);
  1887. }
  1888. }
  1889. // FcStrDowncase
  1890. *(void **) (&FcStrDowncase_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrDowncase");
  1891. if (verbose) {
  1892. error = dlerror();
  1893. if (error != NULL) {
  1894. fprintf(stderr, "%s\n", error);
  1895. }
  1896. }
  1897. // FcStrCmpIgnoreCase
  1898. *(void **) (&FcStrCmpIgnoreCase_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrCmpIgnoreCase");
  1899. if (verbose) {
  1900. error = dlerror();
  1901. if (error != NULL) {
  1902. fprintf(stderr, "%s\n", error);
  1903. }
  1904. }
  1905. // FcStrCmp
  1906. *(void **) (&FcStrCmp_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrCmp");
  1907. if (verbose) {
  1908. error = dlerror();
  1909. if (error != NULL) {
  1910. fprintf(stderr, "%s\n", error);
  1911. }
  1912. }
  1913. // FcStrStrIgnoreCase
  1914. *(void **) (&FcStrStrIgnoreCase_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrStrIgnoreCase");
  1915. if (verbose) {
  1916. error = dlerror();
  1917. if (error != NULL) {
  1918. fprintf(stderr, "%s\n", error);
  1919. }
  1920. }
  1921. // FcStrStr
  1922. *(void **) (&FcStrStr_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrStr");
  1923. if (verbose) {
  1924. error = dlerror();
  1925. if (error != NULL) {
  1926. fprintf(stderr, "%s\n", error);
  1927. }
  1928. }
  1929. // FcUtf8ToUcs4
  1930. *(void **) (&FcUtf8ToUcs4_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcUtf8ToUcs4");
  1931. if (verbose) {
  1932. error = dlerror();
  1933. if (error != NULL) {
  1934. fprintf(stderr, "%s\n", error);
  1935. }
  1936. }
  1937. // FcUtf8Len
  1938. *(void **) (&FcUtf8Len_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcUtf8Len");
  1939. if (verbose) {
  1940. error = dlerror();
  1941. if (error != NULL) {
  1942. fprintf(stderr, "%s\n", error);
  1943. }
  1944. }
  1945. // FcUcs4ToUtf8
  1946. *(void **) (&FcUcs4ToUtf8_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcUcs4ToUtf8");
  1947. if (verbose) {
  1948. error = dlerror();
  1949. if (error != NULL) {
  1950. fprintf(stderr, "%s\n", error);
  1951. }
  1952. }
  1953. // FcUtf16ToUcs4
  1954. *(void **) (&FcUtf16ToUcs4_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcUtf16ToUcs4");
  1955. if (verbose) {
  1956. error = dlerror();
  1957. if (error != NULL) {
  1958. fprintf(stderr, "%s\n", error);
  1959. }
  1960. }
  1961. // FcUtf16Len
  1962. *(void **) (&FcUtf16Len_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcUtf16Len");
  1963. if (verbose) {
  1964. error = dlerror();
  1965. if (error != NULL) {
  1966. fprintf(stderr, "%s\n", error);
  1967. }
  1968. }
  1969. // FcStrDirname
  1970. *(void **) (&FcStrDirname_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrDirname");
  1971. if (verbose) {
  1972. error = dlerror();
  1973. if (error != NULL) {
  1974. fprintf(stderr, "%s\n", error);
  1975. }
  1976. }
  1977. // FcStrBasename
  1978. *(void **) (&FcStrBasename_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrBasename");
  1979. if (verbose) {
  1980. error = dlerror();
  1981. if (error != NULL) {
  1982. fprintf(stderr, "%s\n", error);
  1983. }
  1984. }
  1985. // FcStrSetCreate
  1986. *(void **) (&FcStrSetCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrSetCreate");
  1987. if (verbose) {
  1988. error = dlerror();
  1989. if (error != NULL) {
  1990. fprintf(stderr, "%s\n", error);
  1991. }
  1992. }
  1993. // FcStrSetMember
  1994. *(void **) (&FcStrSetMember_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrSetMember");
  1995. if (verbose) {
  1996. error = dlerror();
  1997. if (error != NULL) {
  1998. fprintf(stderr, "%s\n", error);
  1999. }
  2000. }
  2001. // FcStrSetEqual
  2002. *(void **) (&FcStrSetEqual_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrSetEqual");
  2003. if (verbose) {
  2004. error = dlerror();
  2005. if (error != NULL) {
  2006. fprintf(stderr, "%s\n", error);
  2007. }
  2008. }
  2009. // FcStrSetAdd
  2010. *(void **) (&FcStrSetAdd_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrSetAdd");
  2011. if (verbose) {
  2012. error = dlerror();
  2013. if (error != NULL) {
  2014. fprintf(stderr, "%s\n", error);
  2015. }
  2016. }
  2017. // FcStrSetAddFilename
  2018. *(void **) (&FcStrSetAddFilename_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrSetAddFilename");
  2019. if (verbose) {
  2020. error = dlerror();
  2021. if (error != NULL) {
  2022. fprintf(stderr, "%s\n", error);
  2023. }
  2024. }
  2025. // FcStrSetDel
  2026. *(void **) (&FcStrSetDel_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrSetDel");
  2027. if (verbose) {
  2028. error = dlerror();
  2029. if (error != NULL) {
  2030. fprintf(stderr, "%s\n", error);
  2031. }
  2032. }
  2033. // FcStrSetDestroy
  2034. *(void **) (&FcStrSetDestroy_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrSetDestroy");
  2035. if (verbose) {
  2036. error = dlerror();
  2037. if (error != NULL) {
  2038. fprintf(stderr, "%s\n", error);
  2039. }
  2040. }
  2041. // FcStrListCreate
  2042. *(void **) (&FcStrListCreate_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrListCreate");
  2043. if (verbose) {
  2044. error = dlerror();
  2045. if (error != NULL) {
  2046. fprintf(stderr, "%s\n", error);
  2047. }
  2048. }
  2049. // FcStrListFirst
  2050. *(void **) (&FcStrListFirst_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrListFirst");
  2051. if (verbose) {
  2052. error = dlerror();
  2053. if (error != NULL) {
  2054. fprintf(stderr, "%s\n", error);
  2055. }
  2056. }
  2057. // FcStrListNext
  2058. *(void **) (&FcStrListNext_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrListNext");
  2059. if (verbose) {
  2060. error = dlerror();
  2061. if (error != NULL) {
  2062. fprintf(stderr, "%s\n", error);
  2063. }
  2064. }
  2065. // FcStrListDone
  2066. *(void **) (&FcStrListDone_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcStrListDone");
  2067. if (verbose) {
  2068. error = dlerror();
  2069. if (error != NULL) {
  2070. fprintf(stderr, "%s\n", error);
  2071. }
  2072. }
  2073. // FcConfigParseAndLoad
  2074. *(void **) (&FcConfigParseAndLoad_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigParseAndLoad");
  2075. if (verbose) {
  2076. error = dlerror();
  2077. if (error != NULL) {
  2078. fprintf(stderr, "%s\n", error);
  2079. }
  2080. }
  2081. // FcConfigParseAndLoadFromMemory
  2082. *(void **) (&FcConfigParseAndLoadFromMemory_dylibloader_wrapper_fontconfig) = dlsym(handle, "FcConfigParseAndLoadFromMemory");
  2083. if (verbose) {
  2084. error = dlerror();
  2085. if (error != NULL) {
  2086. fprintf(stderr, "%s\n", error);
  2087. }
  2088. }
  2089. return 0;
  2090. }