cybrid_api_bank_ruby 0.94.30 → 0.94.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1028) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/cybrid_api_bank_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_bank_ruby/api/accounts_bank_api.rb +1 -1
  6. data/lib/cybrid_api_bank_ruby/api/assets_bank_api.rb +1 -1
  7. data/lib/cybrid_api_bank_ruby/api/banks_bank_api.rb +1 -1
  8. data/lib/cybrid_api_bank_ruby/api/customers_bank_api.rb +1 -1
  9. data/lib/cybrid_api_bank_ruby/api/deposit_addresses_bank_api.rb +1 -1
  10. data/lib/cybrid_api_bank_ruby/api/external_bank_accounts_bank_api.rb +1 -1
  11. data/lib/cybrid_api_bank_ruby/api/external_wallets_bank_api.rb +1 -1
  12. data/lib/cybrid_api_bank_ruby/api/identity_verifications_bank_api.rb +1 -1
  13. data/lib/cybrid_api_bank_ruby/api/prices_bank_api.rb +1 -1
  14. data/lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb +1 -1
  15. data/lib/cybrid_api_bank_ruby/api/symbols_bank_api.rb +1 -1
  16. data/lib/cybrid_api_bank_ruby/api/trades_bank_api.rb +1 -1
  17. data/lib/cybrid_api_bank_ruby/api/transfers_bank_api.rb +1 -1
  18. data/lib/cybrid_api_bank_ruby/api/workflows_bank_api.rb +1 -1
  19. data/lib/cybrid_api_bank_ruby/api_client.rb +1 -1
  20. data/lib/cybrid_api_bank_ruby/api_error.rb +1 -1
  21. data/lib/cybrid_api_bank_ruby/configuration.rb +1 -1
  22. data/lib/cybrid_api_bank_ruby/models/account_bank_model.rb +1 -1
  23. data/lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb +1 -1
  24. data/lib/cybrid_api_bank_ruby/models/asset_bank_model.rb +1 -1
  25. data/lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb +1 -1
  26. data/lib/cybrid_api_bank_ruby/models/bank_bank_model.rb +1 -1
  27. data/lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb +1 -1
  28. data/lib/cybrid_api_bank_ruby/models/customer_address_bank_model.rb +1 -1
  29. data/lib/cybrid_api_bank_ruby/models/customer_bank_model.rb +1 -1
  30. data/lib/cybrid_api_bank_ruby/models/customer_list_bank_model.rb +1 -1
  31. data/lib/cybrid_api_bank_ruby/models/customer_name_bank_model.rb +1 -1
  32. data/lib/cybrid_api_bank_ruby/models/deposit_address_bank_model.rb +1 -1
  33. data/lib/cybrid_api_bank_ruby/models/deposit_address_list_bank_model.rb +1 -1
  34. data/lib/cybrid_api_bank_ruby/models/error_response_bank_model.rb +1 -1
  35. data/lib/cybrid_api_bank_ruby/models/external_bank_account_bank_model.rb +1 -1
  36. data/lib/cybrid_api_bank_ruby/models/external_bank_account_list_bank_model.rb +1 -1
  37. data/lib/cybrid_api_bank_ruby/models/external_wallet_bank_model.rb +1 -1
  38. data/lib/cybrid_api_bank_ruby/models/external_wallet_list_bank_model.rb +1 -1
  39. data/lib/cybrid_api_bank_ruby/models/identity_verification_bank_model.rb +1 -1
  40. data/lib/cybrid_api_bank_ruby/models/identity_verification_list_bank_model.rb +1 -1
  41. data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_all_of_bank_model.rb +1 -1
  42. data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_bank_model.rb +1 -1
  43. data/lib/cybrid_api_bank_ruby/models/list_request_owner_bank_model.rb +1 -1
  44. data/lib/cybrid_api_bank_ruby/models/patch_bank_bank_model.rb +1 -1
  45. data/lib/cybrid_api_bank_ruby/models/patch_external_bank_account_bank_model.rb +1 -1
  46. data/lib/cybrid_api_bank_ruby/models/post_account_bank_model.rb +1 -1
  47. data/lib/cybrid_api_bank_ruby/models/post_bank_bank_model.rb +1 -1
  48. data/lib/cybrid_api_bank_ruby/models/post_customer_address_bank_model.rb +1 -1
  49. data/lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb +1 -1
  50. data/lib/cybrid_api_bank_ruby/models/post_customer_name_bank_model.rb +1 -1
  51. data/lib/cybrid_api_bank_ruby/models/post_deposit_address_bank_model.rb +1 -1
  52. data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_bank_model.rb +1 -1
  53. data/lib/cybrid_api_bank_ruby/models/post_external_wallet_bank_model.rb +1 -1
  54. data/lib/cybrid_api_bank_ruby/models/post_identification_number_bank_model.rb +1 -1
  55. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_address_bank_model.rb +1 -1
  56. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_bank_model.rb +1 -1
  57. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_name_bank_model.rb +1 -1
  58. data/lib/cybrid_api_bank_ruby/models/post_quote_bank_model.rb +1 -1
  59. data/lib/cybrid_api_bank_ruby/models/post_reward_bank_model.rb +1 -1
  60. data/lib/cybrid_api_bank_ruby/models/post_trade_bank_model.rb +1 -1
  61. data/lib/cybrid_api_bank_ruby/models/post_transfer_bank_model.rb +1 -1
  62. data/lib/cybrid_api_bank_ruby/models/post_workflow_bank_model.rb +1 -1
  63. data/lib/cybrid_api_bank_ruby/models/quote_bank_model.rb +1 -1
  64. data/lib/cybrid_api_bank_ruby/models/quote_list_bank_model.rb +1 -1
  65. data/lib/cybrid_api_bank_ruby/models/symbol_price_bank_model.rb +1 -1
  66. data/lib/cybrid_api_bank_ruby/models/trade_bank_model.rb +1 -1
  67. data/lib/cybrid_api_bank_ruby/models/trade_list_bank_model.rb +1 -1
  68. data/lib/cybrid_api_bank_ruby/models/transfer_bank_model.rb +1 -1
  69. data/lib/cybrid_api_bank_ruby/models/transfer_destination_account_bank_model.rb +1 -1
  70. data/lib/cybrid_api_bank_ruby/models/transfer_list_bank_model.rb +1 -1
  71. data/lib/cybrid_api_bank_ruby/models/transfer_source_account_bank_model.rb +1 -1
  72. data/lib/cybrid_api_bank_ruby/models/workflow_bank_model.rb +1 -1
  73. data/lib/cybrid_api_bank_ruby/models/workflow_with_details_all_of_bank_model.rb +1 -1
  74. data/lib/cybrid_api_bank_ruby/models/workflow_with_details_bank_model.rb +1 -1
  75. data/lib/cybrid_api_bank_ruby/models/workflows_list_bank_model.rb +1 -1
  76. data/lib/cybrid_api_bank_ruby/version.rb +2 -2
  77. data/lib/cybrid_api_bank_ruby.rb +1 -1
  78. data/spec/api/accounts_bank_api_spec.rb +1 -1
  79. data/spec/api/assets_bank_api_spec.rb +1 -1
  80. data/spec/api/banks_bank_api_spec.rb +1 -1
  81. data/spec/api/customers_bank_api_spec.rb +1 -1
  82. data/spec/api/deposit_addresses_bank_api_spec.rb +1 -1
  83. data/spec/api/external_bank_accounts_bank_api_spec.rb +1 -1
  84. data/spec/api/external_wallets_bank_api_spec.rb +1 -1
  85. data/spec/api/identity_verifications_bank_api_spec.rb +1 -1
  86. data/spec/api/prices_bank_api_spec.rb +1 -1
  87. data/spec/api/quotes_bank_api_spec.rb +1 -1
  88. data/spec/api/symbols_bank_api_spec.rb +1 -1
  89. data/spec/api/trades_bank_api_spec.rb +1 -1
  90. data/spec/api/transfers_bank_api_spec.rb +1 -1
  91. data/spec/api/workflows_bank_api_spec.rb +1 -1
  92. data/spec/api_client_spec.rb +1 -1
  93. data/spec/configuration_spec.rb +1 -1
  94. data/spec/models/account_bank_model_spec.rb +1 -1
  95. data/spec/models/account_list_bank_model_spec.rb +1 -1
  96. data/spec/models/asset_bank_model_spec.rb +1 -1
  97. data/spec/models/asset_list_bank_model_spec.rb +1 -1
  98. data/spec/models/bank_bank_model_spec.rb +1 -1
  99. data/spec/models/bank_list_bank_model_spec.rb +1 -1
  100. data/spec/models/customer_address_bank_model_spec.rb +1 -1
  101. data/spec/models/customer_bank_model_spec.rb +1 -1
  102. data/spec/models/customer_list_bank_model_spec.rb +1 -1
  103. data/spec/models/customer_name_bank_model_spec.rb +1 -1
  104. data/spec/models/deposit_address_bank_model_spec.rb +1 -1
  105. data/spec/models/deposit_address_list_bank_model_spec.rb +1 -1
  106. data/spec/models/error_response_bank_model_spec.rb +1 -1
  107. data/spec/models/external_bank_account_bank_model_spec.rb +1 -1
  108. data/spec/models/external_bank_account_list_bank_model_spec.rb +1 -1
  109. data/spec/models/external_wallet_bank_model_spec.rb +1 -1
  110. data/spec/models/external_wallet_list_bank_model_spec.rb +1 -1
  111. data/spec/models/identity_verification_bank_model_spec.rb +1 -1
  112. data/spec/models/identity_verification_list_bank_model_spec.rb +1 -1
  113. data/spec/models/identity_verification_with_details_all_of_bank_model_spec.rb +1 -1
  114. data/spec/models/identity_verification_with_details_bank_model_spec.rb +1 -1
  115. data/spec/models/list_request_owner_bank_model_spec.rb +1 -1
  116. data/spec/models/patch_bank_bank_model_spec.rb +1 -1
  117. data/spec/models/patch_external_bank_account_bank_model_spec.rb +1 -1
  118. data/spec/models/post_account_bank_model_spec.rb +1 -1
  119. data/spec/models/post_bank_bank_model_spec.rb +1 -1
  120. data/spec/models/post_customer_address_bank_model_spec.rb +1 -1
  121. data/spec/models/post_customer_bank_model_spec.rb +1 -1
  122. data/spec/models/post_customer_name_bank_model_spec.rb +1 -1
  123. data/spec/models/post_deposit_address_bank_model_spec.rb +1 -1
  124. data/spec/models/post_external_bank_account_bank_model_spec.rb +1 -1
  125. data/spec/models/post_external_wallet_bank_model_spec.rb +1 -1
  126. data/spec/models/post_identification_number_bank_model_spec.rb +1 -1
  127. data/spec/models/post_identity_verification_address_bank_model_spec.rb +1 -1
  128. data/spec/models/post_identity_verification_bank_model_spec.rb +1 -1
  129. data/spec/models/post_identity_verification_name_bank_model_spec.rb +1 -1
  130. data/spec/models/post_quote_bank_model_spec.rb +1 -1
  131. data/spec/models/post_reward_bank_model_spec.rb +1 -1
  132. data/spec/models/post_trade_bank_model_spec.rb +1 -1
  133. data/spec/models/post_transfer_bank_model_spec.rb +1 -1
  134. data/spec/models/post_workflow_bank_model_spec.rb +1 -1
  135. data/spec/models/quote_bank_model_spec.rb +1 -1
  136. data/spec/models/quote_list_bank_model_spec.rb +1 -1
  137. data/spec/models/symbol_price_bank_model_spec.rb +1 -1
  138. data/spec/models/trade_bank_model_spec.rb +1 -1
  139. data/spec/models/trade_list_bank_model_spec.rb +1 -1
  140. data/spec/models/transfer_bank_model_spec.rb +1 -1
  141. data/spec/models/transfer_destination_account_bank_model_spec.rb +1 -1
  142. data/spec/models/transfer_list_bank_model_spec.rb +1 -1
  143. data/spec/models/transfer_source_account_bank_model_spec.rb +1 -1
  144. data/spec/models/workflow_bank_model_spec.rb +1 -1
  145. data/spec/models/workflow_with_details_all_of_bank_model_spec.rb +1 -1
  146. data/spec/models/workflow_with_details_bank_model_spec.rb +1 -1
  147. data/spec/models/workflows_list_bank_model_spec.rb +1 -1
  148. data/spec/spec_helper.rb +1 -1
  149. data/vendor/bundle/ruby/3.2.0/cache/ffi-1.16.1.gem +0 -0
  150. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  151. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.1/ffi_c.so +0 -0
  152. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.1/gem_make.out +55 -0
  153. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.1/mkmf.log +268 -0
  154. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  155. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
  156. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1/gem_make.out +5 -5
  157. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.8/gem_make.out +5 -5
  158. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/CHANGELOG.md +399 -0
  159. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/Gemfile +14 -0
  160. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/README.md +137 -0
  161. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/Rakefile +194 -0
  162. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/AbstractMemory.c +1126 -0
  163. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/AbstractMemory.h +176 -0
  164. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/ArrayType.c +198 -0
  165. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/ArrayType.h +60 -0
  166. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Buffer.c +417 -0
  167. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Call.c +495 -0
  168. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/DynamicLibrary.c +397 -0
  169. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Function.c +1057 -0
  170. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Function.h +84 -0
  171. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/FunctionInfo.c +320 -0
  172. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/LastError.c +243 -0
  173. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/MappedType.c +211 -0
  174. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/MappedType.h +57 -0
  175. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/MemoryPointer.c +219 -0
  176. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/MethodHandle.c +350 -0
  177. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Pointer.c +546 -0
  178. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Pointer.h +60 -0
  179. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Struct.c +893 -0
  180. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Struct.h +115 -0
  181. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/StructByValue.c +177 -0
  182. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/StructLayout.c +769 -0
  183. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Type.c +447 -0
  184. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Type.h +63 -0
  185. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Types.c +138 -0
  186. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/Variadic.c +345 -0
  187. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/compat.h +82 -0
  188. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/extconf.h +8 -0
  189. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/extconf.rb +115 -0
  190. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/ffi.c +97 -0
  191. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.appveyor/site.exp +16 -0
  192. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.appveyor/unix-noexec.exp +7 -0
  193. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.appveyor.yml +84 -0
  194. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.ci/build-cross-in-container.sh +18 -0
  195. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.ci/build-in-container.sh +10 -0
  196. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.ci/build.sh +124 -0
  197. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.ci/install.sh +78 -0
  198. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.ci/msvs-detect +1103 -0
  199. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.ci/site.exp +29 -0
  200. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.circleci/config.yml +156 -0
  201. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.github/workflows/build.yml +460 -0
  202. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.github/workflows/emscripten.yml +171 -0
  203. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/.gitignore +46 -0
  204. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/LICENSE +21 -0
  205. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/Makefile.am +157 -0
  206. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/Makefile.in +2127 -0
  207. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/README.md +526 -0
  208. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/acinclude.m4 +377 -0
  209. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/compile +347 -0
  210. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/config.guess +1754 -0
  211. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/config.sub +1892 -0
  212. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/configure +22791 -0
  213. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/configure.ac +451 -0
  214. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/configure.host +337 -0
  215. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/doc/Makefile.in +818 -0
  216. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/doc/libffi.texi +1046 -0
  217. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/doc/version.texi +4 -0
  218. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/fficonfig.h.in +188 -0
  219. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +312 -0
  220. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/include/Makefile.am +9 -0
  221. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/include/Makefile.in +609 -0
  222. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/include/ffi.h.in +527 -0
  223. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/include/ffi_cfi.h +76 -0
  224. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/include/ffi_common.h +182 -0
  225. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/include/tramp.h +45 -0
  226. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/install-sh +541 -0
  227. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/libtool-version +29 -0
  228. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/ltmain.sh +11448 -0
  229. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +198 -0
  230. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +158 -0
  231. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +119 -0
  232. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/m4/ax_prepend_flag.m4 +51 -0
  233. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/man/Makefile.in +565 -0
  234. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/missing +215 -0
  235. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
  236. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/msvcc.sh +353 -0
  237. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/aarch64/ffi.c +1129 -0
  238. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/aarch64/internal.h +100 -0
  239. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/aarch64/sysv.S +543 -0
  240. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/arc/arcompact.S +210 -0
  241. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/arc/ffi.c +443 -0
  242. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/arc/ffitarget.h +67 -0
  243. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/arm/ffi.c +921 -0
  244. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
  245. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/arm/internal.h +17 -0
  246. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/arm/sysv.S +456 -0
  247. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/closures.c +1107 -0
  248. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/dlmalloc.c +5171 -0
  249. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/ia64/ffi.c +616 -0
  250. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/ia64/unix.S +585 -0
  251. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/loongarch64/ffi.c +621 -0
  252. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/loongarch64/ffitarget.h +82 -0
  253. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/loongarch64/sysv.S +327 -0
  254. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/m32r/ffi.c +249 -0
  255. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/mips/ffi.c +1309 -0
  256. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/mips/ffitarget.h +251 -0
  257. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/mips/n32.S +772 -0
  258. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/mips/o32.S +561 -0
  259. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/moxie/ffi.c +310 -0
  260. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/or1k/ffi.c +341 -0
  261. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/pa/ffi.c +673 -0
  262. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/pa/ffi64.c +614 -0
  263. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/pa/ffitarget.h +94 -0
  264. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/pa/hpux32.S +417 -0
  265. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/pa/hpux64.S +681 -0
  266. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/pa/linux.S +427 -0
  267. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1153 -0
  268. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/powerpc/linux64.S +293 -0
  269. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +566 -0
  270. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/powerpc/t-aix +5 -0
  271. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/prep_cif.c +283 -0
  272. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/riscv/ffi.c +514 -0
  273. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/sparc/ffi64.c +624 -0
  274. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/tramp.c +716 -0
  275. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/wasm32/ffi.c +934 -0
  276. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/wasm32/ffitarget.h +62 -0
  277. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/ffi.c +832 -0
  278. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/ffi64.c +950 -0
  279. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/ffitarget.h +164 -0
  280. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/ffiw64.c +361 -0
  281. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/internal.h +43 -0
  282. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/internal64.h +36 -0
  283. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/sysv.S +1272 -0
  284. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/sysv_intel.S +998 -0
  285. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/unix64.S +711 -0
  286. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/x86/win64.S +254 -0
  287. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/xtensa/ffi.c +306 -0
  288. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/xtensa/ffitarget.h +57 -0
  289. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/src/xtensa/sysv.S +268 -0
  290. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/Makefile.am +135 -0
  291. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/Makefile.in +664 -0
  292. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/emscripten/build-tests.sh +54 -0
  293. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/emscripten/build.sh +63 -0
  294. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/emscripten/conftest.py +80 -0
  295. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/emscripten/node-tests.sh +48 -0
  296. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/emscripten/test.html +7 -0
  297. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/emscripten/test_libffi.py +51 -0
  298. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/lib/libffi.exp +682 -0
  299. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
  300. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1746 -0
  301. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +747 -0
  302. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/bpo_38748.c +41 -0
  303. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +163 -0
  304. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +110 -0
  305. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +48 -0
  306. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +42 -0
  307. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +42 -0
  308. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/s55.c +60 -0
  309. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +43 -0
  310. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
  311. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
  312. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
  313. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
  314. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_2.c +63 -0
  315. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3.c +65 -0
  316. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3f.c +65 -0
  317. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4.c +67 -0
  318. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4f.c +67 -0
  319. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_big.c +93 -0
  320. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_small.c +61 -0
  321. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_2H.c +63 -0
  322. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_8H.c +90 -0
  323. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +78 -0
  324. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/va_2.c +220 -0
  325. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/va_3.c +154 -0
  326. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +134 -0
  327. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +134 -0
  328. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +140 -0
  329. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +90 -0
  330. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +83 -0
  331. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +83 -0
  332. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +102 -0
  333. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +91 -0
  334. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +94 -0
  335. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +92 -0
  336. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +96 -0
  337. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +61 -0
  338. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +112 -0
  339. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +117 -0
  340. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +120 -0
  341. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +131 -0
  342. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +93 -0
  343. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +109 -0
  344. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +113 -0
  345. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +145 -0
  346. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +103 -0
  347. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +114 -0
  348. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +103 -0
  349. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +103 -0
  350. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +113 -0
  351. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +120 -0
  352. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +103 -0
  353. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +137 -0
  354. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +116 -0
  355. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +148 -0
  356. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +140 -0
  357. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +121 -0
  358. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +155 -0
  359. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +121 -0
  360. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +102 -0
  361. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +103 -0
  362. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +103 -0
  363. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +111 -0
  364. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +109 -0
  365. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +111 -0
  366. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +147 -0
  367. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +152 -0
  368. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +113 -0
  369. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +108 -0
  370. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +106 -0
  371. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +109 -0
  372. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +108 -0
  373. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +109 -0
  374. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +111 -0
  375. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +68 -0
  376. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +69 -0
  377. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +46 -0
  378. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +115 -0
  379. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +80 -0
  380. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +78 -0
  381. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +79 -0
  382. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +94 -0
  383. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +99 -0
  384. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +78 -0
  385. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +94 -0
  386. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +79 -0
  387. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +152 -0
  388. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +47 -0
  389. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +44 -0
  390. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +45 -0
  391. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +125 -0
  392. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +45 -0
  393. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +47 -0
  394. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +49 -0
  395. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +49 -0
  396. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +49 -0
  397. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +46 -0
  398. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +343 -0
  399. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +175 -0
  400. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +161 -0
  401. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +146 -0
  402. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +137 -0
  403. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct12.c +86 -0
  404. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct13.c +115 -0
  405. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +119 -0
  406. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +120 -0
  407. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +120 -0
  408. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +121 -0
  409. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +142 -0
  410. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +120 -0
  411. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +142 -0
  412. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +142 -0
  413. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs1.c +86 -0
  414. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs2.c +102 -0
  415. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs3.c +101 -0
  416. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +124 -0
  417. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +125 -0
  418. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +75 -0
  419. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +118 -0
  420. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +55 -0
  421. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
  422. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi.bsd.mk +40 -0
  423. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/libffi.gnu.mk +32 -0
  424. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ext/ffi_c/rbffi.h +55 -0
  425. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/ffi.gemspec +42 -0
  426. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/autopointer.rb +188 -0
  427. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/compat.rb +43 -0
  428. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/data_converter.rb +67 -0
  429. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/dynamic_library.rb +89 -0
  430. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/enum.rb +303 -0
  431. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/ffi.rb +50 -0
  432. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/function.rb +71 -0
  433. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/library.rb +576 -0
  434. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/library_path.rb +109 -0
  435. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/managedstruct.rb +84 -0
  436. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/platform/hppa1.1-linux/types.conf +178 -0
  437. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/platform/hppa2.0-linux/types.conf +178 -0
  438. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/platform/loongarch64-linux/types.conf +141 -0
  439. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/platform/sw_64-linux/types.conf +141 -0
  440. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/platform/x86_64-windows/types.conf +52 -0
  441. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/platform.rb +187 -0
  442. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/struct.rb +317 -0
  443. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/struct_layout.rb +96 -0
  444. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/struct_layout_builder.rb +227 -0
  445. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/types.rb +219 -0
  446. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/variadic.rb +80 -0
  447. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi/version.rb +3 -0
  448. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.1/lib/ffi_c.so +0 -0
  449. data/vendor/bundle/ruby/3.2.0/specifications/ffi-1.16.1.gemspec +34 -0
  450. metadata +628 -580
  451. data/vendor/bundle/ruby/3.2.0/cache/ffi-1.15.5.gem +0 -0
  452. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/ffi_c.so +0 -0
  453. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +0 -54
  454. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/mkmf.log +0 -244
  455. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/CHANGELOG.md +0 -338
  456. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/Gemfile +0 -14
  457. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/README.md +0 -136
  458. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/Rakefile +0 -191
  459. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.c +0 -1104
  460. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.h +0 -175
  461. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.c +0 -162
  462. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.h +0 -59
  463. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.c +0 -360
  464. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Call.c +0 -487
  465. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.c +0 -334
  466. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Function.c +0 -917
  467. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Function.h +0 -83
  468. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.c +0 -266
  469. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/LastError.c +0 -225
  470. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.c +0 -168
  471. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.h +0 -59
  472. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.c +0 -192
  473. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.c +0 -348
  474. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.c +0 -507
  475. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.h +0 -59
  476. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Struct.c +0 -822
  477. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Struct.h +0 -112
  478. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.c +0 -145
  479. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.c +0 -700
  480. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Type.c +0 -379
  481. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Type.h +0 -61
  482. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Types.c +0 -138
  483. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.c +0 -303
  484. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/compat.h +0 -82
  485. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/extconf.h +0 -7
  486. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/extconf.rb +0 -98
  487. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/ffi.c +0 -93
  488. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.appveyor.yml +0 -66
  489. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitignore +0 -38
  490. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +0 -14
  491. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-in-container.sh +0 -12
  492. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build.sh +0 -142
  493. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/install.sh +0 -71
  494. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/site.exp +0 -27
  495. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis.yml +0 -83
  496. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE +0 -21
  497. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.am +0 -150
  498. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.in +0 -2060
  499. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/README.md +0 -486
  500. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/acinclude.m4 +0 -479
  501. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.guess +0 -1687
  502. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.sub +0 -1851
  503. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure +0 -22050
  504. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.ac +0 -415
  505. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.host +0 -318
  506. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.in +0 -815
  507. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/libffi.texi +0 -997
  508. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/version.texi +0 -4
  509. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/fficonfig.h.in +0 -223
  510. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +0 -201
  511. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.am +0 -9
  512. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.in +0 -608
  513. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi.h.in +0 -523
  514. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_cfi.h +0 -55
  515. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_common.h +0 -153
  516. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/install-sh +0 -518
  517. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-version +0 -29
  518. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ltmain.sh +0 -11251
  519. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +0 -194
  520. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +0 -122
  521. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +0 -88
  522. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.in +0 -562
  523. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/missing +0 -215
  524. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +0 -511
  525. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvcc.sh +0 -353
  526. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffi.c +0 -1025
  527. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/internal.h +0 -68
  528. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/sysv.S +0 -451
  529. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/arcompact.S +0 -135
  530. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffi.c +0 -266
  531. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffitarget.h +0 -53
  532. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffi.c +0 -876
  533. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffitarget.h +0 -89
  534. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/internal.h +0 -7
  535. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv.S +0 -385
  536. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/closures.c +0 -1021
  537. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/dlmalloc.c +0 -5166
  538. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffi.c +0 -604
  539. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/unix.S +0 -567
  540. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffi.c +0 -232
  541. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffi.c +0 -1134
  542. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffitarget.h +0 -244
  543. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/n32.S +0 -663
  544. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/o32.S +0 -504
  545. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffi.c +0 -285
  546. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffi.c +0 -328
  547. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffi.c +0 -674
  548. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffitarget.h +0 -80
  549. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/hpux32.S +0 -370
  550. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/linux.S +0 -380
  551. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +0 -1153
  552. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64.S +0 -291
  553. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +0 -564
  554. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/prep_cif.c +0 -263
  555. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffi.c +0 -481
  556. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi64.c +0 -608
  557. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi.c +0 -770
  558. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi64.c +0 -895
  559. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffitarget.h +0 -160
  560. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffiw64.c +0 -318
  561. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal.h +0 -29
  562. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal64.h +0 -22
  563. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv.S +0 -1138
  564. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv_intel.S +0 -995
  565. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/unix64.S +0 -621
  566. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64.S +0 -241
  567. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffi.c +0 -298
  568. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffitarget.h +0 -53
  569. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/sysv.S +0 -258
  570. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.am +0 -122
  571. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.in +0 -648
  572. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/libffi.exp +0 -660
  573. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +0 -283
  574. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +0 -1745
  575. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +0 -743
  576. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +0 -138
  577. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +0 -107
  578. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +0 -43
  579. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +0 -38
  580. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +0 -38
  581. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +0 -44
  582. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +0 -49
  583. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +0 -49
  584. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +0 -55
  585. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +0 -57
  586. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +0 -196
  587. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +0 -121
  588. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +0 -123
  589. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +0 -125
  590. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +0 -89
  591. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +0 -81
  592. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +0 -81
  593. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +0 -82
  594. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +0 -89
  595. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +0 -92
  596. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +0 -90
  597. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +0 -95
  598. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +0 -55
  599. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +0 -94
  600. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +0 -95
  601. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +0 -96
  602. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +0 -102
  603. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +0 -89
  604. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +0 -91
  605. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +0 -93
  606. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +0 -113
  607. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +0 -90
  608. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +0 -95
  609. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +0 -90
  610. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +0 -90
  611. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +0 -95
  612. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +0 -98
  613. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +0 -90
  614. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +0 -109
  615. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +0 -98
  616. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +0 -124
  617. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +0 -113
  618. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +0 -99
  619. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +0 -117
  620. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +0 -97
  621. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +0 -88
  622. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +0 -90
  623. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +0 -91
  624. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +0 -93
  625. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +0 -91
  626. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +0 -92
  627. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +0 -132
  628. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +0 -115
  629. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +0 -95
  630. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +0 -91
  631. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +0 -91
  632. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +0 -92
  633. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +0 -91
  634. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +0 -91
  635. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +0 -93
  636. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +0 -66
  637. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +0 -61
  638. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +0 -42
  639. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +0 -105
  640. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +0 -61
  641. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +0 -74
  642. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +0 -74
  643. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +0 -86
  644. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +0 -91
  645. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +0 -74
  646. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +0 -86
  647. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +0 -74
  648. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +0 -142
  649. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +0 -44
  650. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +0 -42
  651. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +0 -42
  652. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +0 -114
  653. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +0 -42
  654. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c +0 -44
  655. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +0 -43
  656. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +0 -45
  657. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +0 -45
  658. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +0 -47
  659. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +0 -43
  660. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c +0 -44
  661. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +0 -138
  662. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +0 -343
  663. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +0 -152
  664. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +0 -161
  665. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +0 -134
  666. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +0 -121
  667. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +0 -110
  668. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +0 -111
  669. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +0 -111
  670. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +0 -112
  671. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +0 -131
  672. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +0 -111
  673. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +0 -131
  674. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +0 -131
  675. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +0 -124
  676. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +0 -125
  677. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +0 -70
  678. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +0 -117
  679. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +0 -54
  680. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi.bsd.mk +0 -40
  681. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/libffi.gnu.mk +0 -32
  682. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c/rbffi.h +0 -55
  683. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ffi.gemspec +0 -42
  684. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/autopointer.rb +0 -203
  685. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/data_converter.rb +0 -67
  686. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/enum.rb +0 -296
  687. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/ffi.rb +0 -47
  688. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/library.rb +0 -592
  689. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/managedstruct.rb +0 -84
  690. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/platform.rb +0 -185
  691. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/struct.rb +0 -316
  692. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/struct_layout.rb +0 -96
  693. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/struct_layout_builder.rb +0 -227
  694. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/types.rb +0 -194
  695. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/variadic.rb +0 -69
  696. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/version.rb +0 -3
  697. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
  698. data/vendor/bundle/ruby/3.2.0/specifications/ffi-1.15.5.gemspec +0 -33
  699. /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{ffi-1.15.5 → ffi-1.16.1}/gem.build_complete +0 -0
  700. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/COPYING +0 -0
  701. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/LICENSE +0 -0
  702. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/LICENSE.SPECS +0 -0
  703. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/Call.h +0 -0
  704. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/ClosurePool.c +0 -0
  705. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/ClosurePool.h +0 -0
  706. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/DynamicLibrary.h +0 -0
  707. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/LastError.h +0 -0
  708. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/LongDouble.c +0 -0
  709. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/LongDouble.h +0 -0
  710. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/Makefile +0 -0
  711. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/MemoryPointer.h +0 -0
  712. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/MethodHandle.h +0 -0
  713. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/Platform.c +0 -0
  714. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/Platform.h +0 -0
  715. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/StructByValue.h +0 -0
  716. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/Thread.c +0 -0
  717. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/Thread.h +0 -0
  718. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/Types.h +0 -0
  719. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/ar-lib +0 -0
  720. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/bfin-sim.exp +0 -0
  721. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/compile +0 -0
  722. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/m32r-sim.exp +0 -0
  723. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/moxie-sim.exp +0 -0
  724. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/or1k-sim.exp +0 -0
  725. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/powerpc-eabisim.exp +0 -0
  726. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/.travis → ffi-1.16.1/ext/ffi_c/libffi/.ci}/wine-sim.exp +0 -0
  727. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/.gitattributes +0 -0
  728. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/.github/issue_template.md +0 -0
  729. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/ChangeLog.old +0 -0
  730. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +0 -0
  731. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/autogen.sh +0 -0
  732. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/doc/Makefile.am +0 -0
  733. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/libffi.map.in +0 -0
  734. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/libffi.pc.in +0 -0
  735. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +0 -0
  736. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/libtool-ldflags +0 -0
  737. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/asmcfi.m4 +0 -0
  738. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/ax_append_flag.m4 +0 -0
  739. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +0 -0
  740. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/ax_configure_args.m4 +0 -0
  741. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +0 -0
  742. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +0 -0
  743. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +0 -0
  744. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/m4/ax_require_defined.m4 +0 -0
  745. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/make_sunver.pl +0 -0
  746. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/man/Makefile.am +0 -0
  747. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/man/ffi.3 +0 -0
  748. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/man/ffi_call.3 +0 -0
  749. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/man/ffi_prep_cif.3 +0 -0
  750. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +0 -0
  751. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +0 -0
  752. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +0 -0
  753. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +0 -0
  754. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +0 -0
  755. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +0 -0
  756. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/aarch64/ffitarget.h +0 -0
  757. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +0 -0
  758. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/alpha/ffi.c +0 -0
  759. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/alpha/ffitarget.h +0 -0
  760. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/alpha/internal.h +0 -0
  761. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/alpha/osf.S +0 -0
  762. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +0 -0
  763. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/avr32/ffi.c +0 -0
  764. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/avr32/ffitarget.h +0 -0
  765. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/avr32/sysv.S +0 -0
  766. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/bfin/ffi.c +0 -0
  767. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/bfin/ffitarget.h +0 -0
  768. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/bfin/sysv.S +0 -0
  769. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/cris/ffi.c +0 -0
  770. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/cris/ffitarget.h +0 -0
  771. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/cris/sysv.S +0 -0
  772. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/csky/ffi.c +0 -0
  773. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/csky/ffitarget.h +0 -0
  774. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/csky/sysv.S +0 -0
  775. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/debug.c +0 -0
  776. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/frv/eabi.S +0 -0
  777. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/frv/ffi.c +0 -0
  778. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/frv/ffitarget.h +0 -0
  779. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/ia64/ffitarget.h +0 -0
  780. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/ia64/ia64_flags.h +0 -0
  781. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/java_raw_api.c +0 -0
  782. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/kvx/asm.h +0 -0
  783. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/kvx/ffi.c +0 -0
  784. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/kvx/ffitarget.h +0 -0
  785. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/kvx/sysv.S +0 -0
  786. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m32r/ffitarget.h +0 -0
  787. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m32r/sysv.S +0 -0
  788. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m68k/ffi.c +0 -0
  789. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m68k/ffitarget.h +0 -0
  790. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m68k/sysv.S +0 -0
  791. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m88k/ffi.c +0 -0
  792. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m88k/ffitarget.h +0 -0
  793. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/m88k/obsd.S +0 -0
  794. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/metag/ffi.c +0 -0
  795. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/metag/ffitarget.h +0 -0
  796. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/metag/sysv.S +0 -0
  797. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/microblaze/ffi.c +0 -0
  798. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/microblaze/ffitarget.h +0 -0
  799. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/microblaze/sysv.S +0 -0
  800. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/moxie/eabi.S +0 -0
  801. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/moxie/ffitarget.h +0 -0
  802. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/nios2/ffi.c +0 -0
  803. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/nios2/ffitarget.h +0 -0
  804. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/nios2/sysv.S +0 -0
  805. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/or1k/ffitarget.h +0 -0
  806. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/or1k/sysv.S +0 -0
  807. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/aix.S +0 -0
  808. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/aix_closure.S +0 -0
  809. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/asm.h +0 -0
  810. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/darwin.S +0 -0
  811. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +0 -0
  812. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/ffi.c +0 -0
  813. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +0 -0
  814. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +0 -0
  815. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +0 -0
  816. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/ffitarget.h +0 -0
  817. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +0 -0
  818. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/powerpc/sysv.S +0 -0
  819. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/raw_api.c +0 -0
  820. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/riscv/ffitarget.h +0 -0
  821. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/riscv/sysv.S +0 -0
  822. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/s390/ffi.c +0 -0
  823. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/s390/ffitarget.h +0 -0
  824. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/s390/internal.h +0 -0
  825. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/s390/sysv.S +0 -0
  826. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sh/ffi.c +0 -0
  827. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sh/ffitarget.h +0 -0
  828. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sh/sysv.S +0 -0
  829. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sh64/ffi.c +0 -0
  830. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sh64/ffitarget.h +0 -0
  831. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sh64/sysv.S +0 -0
  832. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sparc/ffi.c +0 -0
  833. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sparc/ffitarget.h +0 -0
  834. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sparc/internal.h +0 -0
  835. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sparc/v8.S +0 -0
  836. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/sparc/v9.S +0 -0
  837. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/tile/ffi.c +0 -0
  838. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/tile/ffitarget.h +0 -0
  839. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/tile/tile.S +0 -0
  840. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/types.c +0 -0
  841. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/vax/elfbsd.S +0 -0
  842. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/vax/ffi.c +0 -0
  843. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/vax/ffitarget.h +0 -0
  844. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/x86/asmnames.h +0 -0
  845. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/src/x86/win64_intel.S +0 -0
  846. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/stamp-h.in +0 -0
  847. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/config/default.exp +0 -0
  848. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +0 -0
  849. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +0 -0
  850. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +0 -0
  851. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +0 -0
  852. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +0 -0
  853. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +0 -0
  854. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +0 -0
  855. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +0 -0
  856. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +0 -0
  857. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +0 -0
  858. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/float.c +0 -0
  859. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +0 -0
  860. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +0 -0
  861. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +0 -0
  862. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +0 -0
  863. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/many.c +0 -0
  864. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +0 -0
  865. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +0 -0
  866. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +0 -0
  867. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +0 -0
  868. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +0 -0
  869. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +0 -0
  870. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +0 -0
  871. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c → ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc_tc.c} +0 -0
  872. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +0 -0
  873. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +0 -0
  874. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +0 -0
  875. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +0 -0
  876. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +0 -0
  877. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +0 -0
  878. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +0 -0
  879. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +0 -0
  880. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +0 -0
  881. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +0 -0
  882. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +0 -0
  883. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +0 -0
  884. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +0 -0
  885. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +0 -0
  886. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +0 -0
  887. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +0 -0
  888. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +0 -0
  889. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +0 -0
  890. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +0 -0
  891. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +0 -0
  892. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +0 -0
  893. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +0 -0
  894. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +0 -0
  895. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +0 -0
  896. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +0 -0
  897. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +0 -0
  898. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex → ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.closures}/ffitest.h +0 -0
  899. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +0 -0
  900. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +0 -0
  901. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +0 -0
  902. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +0 -0
  903. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +0 -0
  904. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +0 -0
  905. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +0 -0
  906. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +0 -0
  907. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +0 -0
  908. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +0 -0
  909. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +0 -0
  910. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +0 -0
  911. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +0 -0
  912. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +0 -0
  913. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +0 -0
  914. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +0 -0
  915. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +0 -0
  916. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +0 -0
  917. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +0 -0
  918. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +0 -0
  919. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +0 -0
  920. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +0 -0
  921. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +0 -0
  922. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +0 -0
  923. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +0 -0
  924. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +0 -0
  925. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +0 -0
  926. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +0 -0
  927. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go → ffi-1.16.1/ext/ffi_c/libffi/testsuite/libffi.complex}/ffitest.h +0 -0
  928. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +0 -0
  929. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +0 -0
  930. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +0 -0
  931. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +0 -0
  932. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +0 -0
  933. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +0 -0
  934. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +0 -0
  935. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +0 -0
  936. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +0 -0
  937. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +0 -0
  938. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +0 -0
  939. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +0 -0
  940. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +0 -0
  941. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +0 -0
  942. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +0 -0
  943. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +0 -0
  944. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +0 -0
  945. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +0 -0
  946. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +0 -0
  947. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +0 -0
  948. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi.darwin.mk +0 -0
  949. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi.mk +0 -0
  950. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi.vc.mk +0 -0
  951. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/libffi.vc64.mk +0 -0
  952. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/ext/ffi_c/rbffi_endian.h +0 -0
  953. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/abstract_memory.rb +0 -0
  954. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/buffer.rb +0 -0
  955. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/callback.rb +0 -0
  956. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/errno.rb +0 -0
  957. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/io.rb +0 -0
  958. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/memorypointer.rb +0 -0
  959. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/aarch64-darwin/types.conf +0 -0
  960. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/aarch64-freebsd/types.conf +0 -0
  961. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/aarch64-freebsd12/types.conf +0 -0
  962. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/aarch64-linux/types.conf +0 -0
  963. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/aarch64-openbsd/types.conf +0 -0
  964. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/lib/ffi/platform/x86_64-windows → ffi-1.16.1/lib/ffi/platform/aarch64-windows}/types.conf +0 -0
  965. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/arm-freebsd/types.conf +0 -0
  966. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/arm-freebsd12/types.conf +0 -0
  967. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/arm-linux/types.conf +0 -0
  968. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-cygwin/types.conf +0 -0
  969. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-darwin/types.conf +0 -0
  970. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-freebsd/types.conf +0 -0
  971. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-freebsd12/types.conf +0 -0
  972. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-gnu/types.conf +0 -0
  973. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-linux/types.conf +0 -0
  974. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-netbsd/types.conf +0 -0
  975. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-openbsd/types.conf +0 -0
  976. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-solaris/types.conf +0 -0
  977. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/i386-windows/types.conf +0 -0
  978. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/ia64-linux/types.conf +0 -0
  979. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mips-linux/types.conf +0 -0
  980. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mips64-linux/types.conf +0 -0
  981. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mips64el-linux/types.conf +0 -0
  982. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mipsel-linux/types.conf +0 -0
  983. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mipsisa32r6-linux/types.conf +0 -0
  984. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mipsisa32r6el-linux/types.conf +0 -0
  985. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mipsisa64r6-linux/types.conf +0 -0
  986. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/mipsisa64r6el-linux/types.conf +0 -0
  987. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/powerpc-aix/types.conf +0 -0
  988. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/powerpc-darwin/types.conf +0 -0
  989. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/powerpc-linux/types.conf +0 -0
  990. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/powerpc-openbsd/types.conf +0 -0
  991. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/powerpc64-linux/types.conf +0 -0
  992. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/powerpc64le-linux/types.conf +0 -0
  993. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/riscv64-linux/types.conf +0 -0
  994. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/s390-linux/types.conf +0 -0
  995. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/s390x-linux/types.conf +0 -0
  996. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/sparc-linux/types.conf +0 -0
  997. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/sparc-solaris/types.conf +0 -0
  998. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5/lib/ffi/platform/sparc64-linux → ffi-1.16.1/lib/ffi/platform/sparcv9-linux}/types.conf +0 -0
  999. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/sparcv9-openbsd/types.conf +0 -0
  1000. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/sparcv9-solaris/types.conf +0 -0
  1001. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-cygwin/types.conf +0 -0
  1002. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-darwin/types.conf +0 -0
  1003. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-dragonflybsd/types.conf +0 -0
  1004. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-freebsd/types.conf +0 -0
  1005. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-freebsd12/types.conf +0 -0
  1006. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-haiku/types.conf +0 -0
  1007. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-linux/types.conf +0 -0
  1008. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-msys/types.conf +0 -0
  1009. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-netbsd/types.conf +0 -0
  1010. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-openbsd/types.conf +0 -0
  1011. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/platform/x86_64-solaris/types.conf +0 -0
  1012. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/pointer.rb +0 -0
  1013. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/struct_by_reference.rb +0 -0
  1014. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/tools/const_generator.rb +0 -0
  1015. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/tools/generator.rb +0 -0
  1016. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/tools/generator_task.rb +0 -0
  1017. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/tools/struct_generator.rb +0 -0
  1018. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/tools/types_generator.rb +0 -0
  1019. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi/union.rb +0 -0
  1020. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/lib/ffi.rb +0 -0
  1021. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/rakelib/ffi_gem_helper.rb +0 -0
  1022. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/samples/getlogin.rb +0 -0
  1023. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/samples/getpid.rb +0 -0
  1024. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/samples/gettimeofday.rb +0 -0
  1025. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/samples/hello.rb +0 -0
  1026. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/samples/inotify.rb +0 -0
  1027. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/samples/pty.rb +0 -0
  1028. /data/vendor/bundle/ruby/3.2.0/gems/{ffi-1.15.5 → ffi-1.16.1}/samples/qsort.rb +0 -0
@@ -0,0 +1,1057 @@
1
+ /*
2
+ * Copyright (c) 2009-2011 Wayne Meissner
3
+ *
4
+ * Copyright (c) 2008-2013, Ruby FFI project contributors
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of the Ruby FFI project nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ */
29
+
30
+ #ifndef _MSC_VER
31
+ #include <sys/param.h>
32
+ #endif
33
+ #include <sys/types.h>
34
+ #ifndef _WIN32
35
+ # include <sys/mman.h>
36
+ # include <unistd.h>
37
+ #endif
38
+
39
+ #include <stdio.h>
40
+ #include <stdint.h>
41
+ #include <stdbool.h>
42
+ #include <ruby.h>
43
+ #include <ruby/thread.h>
44
+
45
+ #if HAVE_RB_EXT_RACTOR_SAFE
46
+ #include <ruby/ractor.h>
47
+ #endif
48
+
49
+ #include <ffi.h>
50
+ #if defined(HAVE_NATIVETHREAD) && !defined(_WIN32)
51
+ #include <pthread.h>
52
+ #endif
53
+ #include <fcntl.h>
54
+
55
+ #include "rbffi.h"
56
+ #include "compat.h"
57
+
58
+ #include "AbstractMemory.h"
59
+ #include "Pointer.h"
60
+ #include "Struct.h"
61
+ #include "Platform.h"
62
+ #include "Type.h"
63
+ #include "LastError.h"
64
+ #include "Call.h"
65
+ #include "ClosurePool.h"
66
+ #include "MappedType.h"
67
+ #include "Thread.h"
68
+ #include "LongDouble.h"
69
+ #include "MethodHandle.h"
70
+ #include "Function.h"
71
+
72
+ #define DEFER_ASYNC_CALLBACK 1
73
+
74
+ struct async_cb_dispatcher;
75
+ typedef struct Function_ {
76
+ Pointer base;
77
+ FunctionType* info;
78
+ MethodHandle* methodHandle;
79
+ bool autorelease;
80
+ Closure* closure;
81
+ VALUE rbProc;
82
+ VALUE rbFunctionInfo;
83
+ #if defined(DEFER_ASYNC_CALLBACK)
84
+ struct async_cb_dispatcher *dispatcher;
85
+ #endif
86
+ } Function;
87
+
88
+ static void function_mark(void *data);
89
+ static void function_compact(void *data);
90
+ static void function_free(void *data);
91
+ static size_t function_memsize(const void *data);
92
+ static VALUE function_init(VALUE self, VALUE rbFunctionInfo, VALUE rbProc);
93
+ static void callback_invoke(ffi_cif* cif, void* retval, void** parameters, void* user_data);
94
+ static bool callback_prep(void* ctx, void* code, Closure* closure, char* errmsg, size_t errmsgsize);
95
+ static void* callback_with_gvl(void* data);
96
+ static VALUE invoke_callback(VALUE data);
97
+ static VALUE save_callback_exception(VALUE data, VALUE exc);
98
+
99
+ #if defined(DEFER_ASYNC_CALLBACK)
100
+ static VALUE async_cb_event(void *);
101
+ static VALUE async_cb_call(void *);
102
+ #endif
103
+
104
+ extern int ruby_thread_has_gvl_p(void);
105
+ extern int ruby_native_thread_p(void);
106
+
107
+ static const rb_data_type_t function_data_type = {
108
+ .wrap_struct_name = "FFI::Function",
109
+ .function = {
110
+ .dmark = function_mark,
111
+ .dfree = function_free,
112
+ .dsize = function_memsize,
113
+ ffi_compact_callback( function_compact )
114
+ },
115
+ .parent = &rbffi_pointer_data_type,
116
+ // IMPORTANT: WB_PROTECTED objects must only use the RB_OBJ_WRITE()
117
+ // macro to update VALUE references, as to trigger write barriers.
118
+ .flags = RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED | FFI_RUBY_TYPED_FROZEN_SHAREABLE
119
+ };
120
+
121
+ VALUE rbffi_FunctionClass = Qnil;
122
+
123
+ static ID id_call = 0, id_to_native = 0, id_from_native = 0, id_cbtable = 0, id_cb_ref = 0;
124
+
125
+ struct gvl_callback {
126
+ Closure* closure;
127
+ void* retval;
128
+ void** parameters;
129
+ bool done;
130
+ rbffi_frame_t *frame;
131
+ #if defined(DEFER_ASYNC_CALLBACK)
132
+ struct async_cb_dispatcher *dispatcher;
133
+ struct gvl_callback* next;
134
+
135
+ /* Signal when the callback has finished and retval is set */
136
+ # ifndef _WIN32
137
+ pthread_cond_t async_cond;
138
+ pthread_mutex_t async_mutex;
139
+ # else
140
+ HANDLE async_event;
141
+ # endif
142
+ #endif
143
+ };
144
+
145
+
146
+ #if defined(DEFER_ASYNC_CALLBACK)
147
+ struct async_cb_dispatcher {
148
+ /* the Ractor-local dispatcher thread */
149
+ VALUE thread;
150
+
151
+ /* single linked list of pending callbacks */
152
+ struct gvl_callback* async_cb_list;
153
+
154
+ /* Signal new entries in async_cb_list */
155
+ # ifndef _WIN32
156
+ pthread_mutex_t async_cb_mutex;
157
+ pthread_cond_t async_cb_cond;
158
+ # else
159
+ HANDLE async_cb_cond;
160
+ CRITICAL_SECTION async_cb_lock;
161
+ # endif
162
+ };
163
+
164
+ #if HAVE_RB_EXT_RACTOR_SAFE
165
+ static void
166
+ async_cb_dispatcher_mark(void *ptr)
167
+ {
168
+ struct async_cb_dispatcher *ctx = (struct async_cb_dispatcher *)ptr;
169
+ rb_gc_mark(ctx->thread);
170
+ }
171
+
172
+ static void
173
+ async_cb_dispatcher_free(void *ptr)
174
+ {
175
+ struct async_cb_dispatcher *ctx = (struct async_cb_dispatcher *)ptr;
176
+ xfree(ctx);
177
+ }
178
+
179
+ struct rb_ractor_local_storage_type async_cb_dispatcher_key_type = {
180
+ async_cb_dispatcher_mark,
181
+ async_cb_dispatcher_free,
182
+ };
183
+
184
+ static rb_ractor_local_key_t async_cb_dispatcher_key;
185
+
186
+ static struct async_cb_dispatcher *
187
+ async_cb_dispatcher_get(void)
188
+ {
189
+ struct async_cb_dispatcher *ctx = (struct async_cb_dispatcher *)rb_ractor_local_storage_ptr(async_cb_dispatcher_key);
190
+ return ctx;
191
+ }
192
+
193
+ static void
194
+ async_cb_dispatcher_set(struct async_cb_dispatcher *ctx)
195
+ {
196
+ rb_ractor_local_storage_ptr_set(async_cb_dispatcher_key, ctx);
197
+ }
198
+ #else
199
+ // for ruby 2.x
200
+ static struct async_cb_dispatcher *async_cb_dispatcher = NULL;
201
+
202
+ static struct async_cb_dispatcher *
203
+ async_cb_dispatcher_get(void)
204
+ {
205
+ return async_cb_dispatcher;
206
+ }
207
+
208
+ static void
209
+ async_cb_dispatcher_set(struct async_cb_dispatcher *ctx)
210
+ {
211
+ async_cb_dispatcher = ctx;
212
+ }
213
+ #endif
214
+ #endif
215
+
216
+ static VALUE
217
+ function_allocate(VALUE klass)
218
+ {
219
+ Function *fn;
220
+ VALUE obj;
221
+
222
+ obj = TypedData_Make_Struct(klass, Function, &function_data_type, fn);
223
+
224
+ fn->base.memory.flags = MEM_RD;
225
+ RB_OBJ_WRITE(obj, &fn->base.rbParent, Qnil);
226
+ RB_OBJ_WRITE(obj, &fn->rbProc, Qnil);
227
+ RB_OBJ_WRITE(obj, &fn->rbFunctionInfo, Qnil);
228
+ fn->autorelease = true;
229
+
230
+ return obj;
231
+ }
232
+
233
+ static void
234
+ function_mark(void *data)
235
+ {
236
+ Function *fn = (Function *)data;
237
+ rb_gc_mark_movable(fn->base.rbParent);
238
+ rb_gc_mark_movable(fn->rbProc);
239
+ rb_gc_mark_movable(fn->rbFunctionInfo);
240
+ }
241
+
242
+ static void
243
+ function_compact(void *data)
244
+ {
245
+ Function *fn = (Function *)data;
246
+ ffi_gc_location(fn->base.rbParent);
247
+ ffi_gc_location(fn->rbProc);
248
+ ffi_gc_location(fn->rbFunctionInfo);
249
+ }
250
+
251
+ static void
252
+ function_free(void *data)
253
+ {
254
+ Function *fn = (Function *)data;
255
+ if (fn->methodHandle != NULL) {
256
+ rbffi_MethodHandle_Free(fn->methodHandle);
257
+ }
258
+
259
+ if (fn->closure != NULL && fn->autorelease) {
260
+ rbffi_Closure_Free(fn->closure);
261
+ }
262
+
263
+ xfree(fn);
264
+ }
265
+
266
+ static size_t
267
+ function_memsize(const void *data)
268
+ {
269
+ const Function *fn = (const Function *)data;
270
+ size_t memsize = sizeof(Function);
271
+
272
+ // Would be nice to better account for MethodHandle and Closure too.
273
+ if (fn->closure) {
274
+ memsize += sizeof(Closure);
275
+ }
276
+
277
+ return memsize;
278
+ }
279
+
280
+ /*
281
+ * @param [Type, Symbol] return_type return type for the function
282
+ * @param [Array<Type, Symbol>] param_types array of parameters types
283
+ * @param [Hash] options see {FFI::FunctionType} for available options
284
+ * @return [self]
285
+ * A new Function instance.
286
+ *
287
+ * Define a function from a Proc or a block.
288
+ *
289
+ * @overload initialize(return_type, param_types, options = {}) { |i| ... }
290
+ * @yieldparam i parameters for the function
291
+ * @overload initialize(return_type, param_types, proc, options = {})
292
+ * @param [Proc] proc
293
+ */
294
+ static VALUE
295
+ function_initialize(int argc, VALUE* argv, VALUE self)
296
+ {
297
+
298
+ VALUE rbReturnType = Qnil, rbParamTypes = Qnil, rbProc = Qnil, rbOptions = Qnil;
299
+ VALUE rbFunctionInfo = Qnil;
300
+ VALUE infoArgv[3];
301
+ int nargs;
302
+
303
+ nargs = rb_scan_args(argc, argv, "22", &rbReturnType, &rbParamTypes, &rbProc, &rbOptions);
304
+
305
+ /*
306
+ * Callback with block,
307
+ * e.g. Function.new(:int, [ :int ]) { |i| blah }
308
+ * or Function.new(:int, [ :int ], { :convention => :stdcall }) { |i| blah }
309
+ */
310
+ if (rb_block_given_p()) {
311
+ if (nargs > 3) {
312
+ rb_raise(rb_eArgError, "cannot create function with both proc/address and block");
313
+ }
314
+ rbOptions = rbProc;
315
+ rbProc = rb_block_proc();
316
+ } else {
317
+ /* Callback with proc, or Function with address
318
+ * e.g. Function.new(:int, [ :int ], Proc.new { |i| })
319
+ * Function.new(:int, [ :int ], Proc.new { |i| }, { :convention => :stdcall })
320
+ * Function.new(:int, [ :int ], addr)
321
+ * Function.new(:int, [ :int ], addr, { :convention => :stdcall })
322
+ */
323
+ }
324
+
325
+ infoArgv[0] = rbReturnType;
326
+ infoArgv[1] = rbParamTypes;
327
+ infoArgv[2] = rbOptions;
328
+ rbFunctionInfo = rb_class_new_instance(rbOptions != Qnil ? 3 : 2, infoArgv, rbffi_FunctionTypeClass);
329
+
330
+ function_init(self, rbFunctionInfo, rbProc);
331
+
332
+ return self;
333
+ }
334
+
335
+ /*
336
+ * call-seq: initialize_copy(other)
337
+ * @return [nil]
338
+ * DO NOT CALL THIS METHOD
339
+ */
340
+ static VALUE
341
+ function_initialize_copy(VALUE self, VALUE other)
342
+ {
343
+ rb_raise(rb_eRuntimeError, "cannot duplicate function instances");
344
+ return Qnil;
345
+ }
346
+
347
+ VALUE
348
+ rbffi_Function_NewInstance(VALUE rbFunctionInfo, VALUE rbProc)
349
+ {
350
+ return function_init(function_allocate(rbffi_FunctionClass), rbFunctionInfo, rbProc);
351
+ }
352
+
353
+ VALUE
354
+ rbffi_Function_ForProc(VALUE rbFunctionInfo, VALUE proc)
355
+ {
356
+ VALUE callback, cbref, cbTable;
357
+
358
+ cbref = RTEST(rb_ivar_defined(proc, id_cb_ref)) ? rb_ivar_get(proc, id_cb_ref) : Qnil;
359
+ /* If the first callback reference has the same function function signature, use it */
360
+ if (cbref != Qnil && CLASS_OF(cbref) == rbffi_FunctionClass) {
361
+ Function* fp;
362
+ TypedData_Get_Struct(cbref, Function, &function_data_type, fp);
363
+ if (fp->rbFunctionInfo == rbFunctionInfo) {
364
+ return cbref;
365
+ }
366
+ }
367
+
368
+ cbTable = RTEST(rb_ivar_defined(proc, id_cbtable)) ? rb_ivar_get(proc, id_cbtable) : Qnil;
369
+ if (cbTable != Qnil && (callback = rb_hash_aref(cbTable, rbFunctionInfo)) != Qnil) {
370
+ return callback;
371
+ }
372
+
373
+ /* No existing function for the proc with that signature, create a new one and cache it */
374
+ callback = rbffi_Function_NewInstance(rbFunctionInfo, proc);
375
+ if (cbref == Qnil) {
376
+ /* If there is no other cb already cached for this proc, we can use the ivar slot */
377
+ rb_ivar_set(proc, id_cb_ref, callback);
378
+ } else {
379
+ /* The proc instance has been used as more than one type of callback, store extras in a hash */
380
+ if(cbTable == Qnil) {
381
+ cbTable = rb_hash_new();
382
+ rb_ivar_set(proc, id_cbtable, cbTable);
383
+ }
384
+ rb_hash_aset(cbTable, rbFunctionInfo, callback);
385
+ }
386
+
387
+ return callback;
388
+ }
389
+
390
+ #if !defined(_WIN32) && defined(DEFER_ASYNC_CALLBACK)
391
+ static void
392
+ after_fork_callback(void)
393
+ {
394
+ /* Ensure that a new dispatcher thread is started in a forked process */
395
+ async_cb_dispatcher_set(NULL);
396
+ }
397
+ #endif
398
+
399
+ static VALUE
400
+ function_init(VALUE self, VALUE rbFunctionInfo, VALUE rbProc)
401
+ {
402
+ Function* fn = NULL;
403
+
404
+ TypedData_Get_Struct(self, Function, &function_data_type, fn);
405
+
406
+ RB_OBJ_WRITE(self, &fn->rbFunctionInfo, rbFunctionInfo);
407
+
408
+ TypedData_Get_Struct(fn->rbFunctionInfo, FunctionType, &rbffi_fntype_data_type, fn->info);
409
+
410
+ if (rb_obj_is_kind_of(rbProc, rbffi_PointerClass)) {
411
+ Pointer* orig;
412
+ TypedData_Get_Struct(rbProc, Pointer, &rbffi_pointer_data_type, orig);
413
+ fn->base.memory = orig->memory;
414
+ RB_OBJ_WRITE(self, &fn->base.rbParent, rbProc);
415
+
416
+ } else if (rb_obj_is_kind_of(rbProc, rb_cProc) || rb_respond_to(rbProc, id_call)) {
417
+ if (fn->info->closurePool == NULL) {
418
+ fn->info->closurePool = rbffi_ClosurePool_New(sizeof(ffi_closure), callback_prep, fn->info);
419
+ if (fn->info->closurePool == NULL) {
420
+ rb_raise(rb_eNoMemError, "failed to create closure pool");
421
+ }
422
+ }
423
+
424
+ #if defined(DEFER_ASYNC_CALLBACK)
425
+ {
426
+ struct async_cb_dispatcher *ctx = async_cb_dispatcher_get();
427
+ if (ctx == NULL) {
428
+ ctx = (struct async_cb_dispatcher*)ALLOC(struct async_cb_dispatcher);
429
+ ctx->async_cb_list = NULL;
430
+
431
+ #if !defined(_WIN32)
432
+ pthread_mutex_init(&ctx->async_cb_mutex, NULL);
433
+ pthread_cond_init(&ctx->async_cb_cond, NULL);
434
+ if( pthread_atfork(NULL, NULL, after_fork_callback) ){
435
+ rb_warn("FFI: unable to register fork callback");
436
+ }
437
+ #else
438
+ InitializeCriticalSection(&ctx->async_cb_lock);
439
+ ctx->async_cb_cond = CreateEvent(NULL, FALSE, FALSE, NULL);
440
+ #endif
441
+ ctx->thread = rb_thread_create(async_cb_event, ctx);
442
+
443
+ /* Name thread, for better debugging */
444
+ rb_funcall(ctx->thread, rb_intern("name="), 1, rb_str_new2("FFI Callback Dispatcher"));
445
+
446
+ async_cb_dispatcher_set(ctx);
447
+ }
448
+ fn->dispatcher = ctx;
449
+ }
450
+ #endif
451
+
452
+ fn->closure = rbffi_Closure_Alloc(fn->info->closurePool);
453
+ fn->closure->info = fn;
454
+ fn->base.memory.address = fn->closure->code;
455
+ fn->base.memory.size = sizeof(*fn->closure);
456
+ fn->autorelease = true;
457
+
458
+ } else {
459
+ rb_raise(rb_eTypeError, "wrong argument type %s, expected pointer or proc",
460
+ rb_obj_classname(rbProc));
461
+ }
462
+
463
+ RB_OBJ_WRITE(self, &fn->rbProc, rbProc);
464
+
465
+ return self;
466
+ }
467
+
468
+ /*
469
+ * call-seq: call(*args)
470
+ * @param [Array] args function arguments
471
+ * @return [FFI::Type]
472
+ * Call the function
473
+ */
474
+ static VALUE
475
+ function_call(int argc, VALUE* argv, VALUE self)
476
+ {
477
+ Function* fn;
478
+
479
+ TypedData_Get_Struct(self, Function, &function_data_type, fn);
480
+
481
+ return (*fn->info->invoke)(argc, argv, fn->base.memory.address, fn->info);
482
+ }
483
+
484
+ /*
485
+ * call-seq: attach(m, name)
486
+ * @param [Module] m
487
+ * @param [String] name
488
+ * @return [self]
489
+ * Attach a Function to the Module +m+ as +name+.
490
+ */
491
+ static VALUE
492
+ function_attach(VALUE self, VALUE module, VALUE name)
493
+ {
494
+ Function* fn;
495
+
496
+ StringValue(name);
497
+ TypedData_Get_Struct(self, Function, &function_data_type, fn);
498
+
499
+ if (fn->info->parameterCount == -1) {
500
+ rb_raise(rb_eRuntimeError, "cannot attach variadic functions");
501
+ return Qnil;
502
+ }
503
+
504
+ if (!rb_obj_is_kind_of(module, rb_cModule)) {
505
+ rb_raise(rb_eRuntimeError, "trying to attach function to non-module");
506
+ return Qnil;
507
+ }
508
+
509
+ if (fn->methodHandle == NULL) {
510
+ fn->methodHandle = rbffi_MethodHandle_Alloc(fn->info, fn->base.memory.address);
511
+ }
512
+
513
+ rb_define_singleton_method(module, StringValueCStr(name),
514
+ rbffi_MethodHandle_CodeAddress(fn->methodHandle), -1);
515
+
516
+
517
+ rb_define_method(module, StringValueCStr(name),
518
+ rbffi_MethodHandle_CodeAddress(fn->methodHandle), -1);
519
+
520
+ return self;
521
+ }
522
+
523
+ /*
524
+ * call-seq: autorelease = autorelease
525
+ * @param [Boolean] autorelease
526
+ * @return [self]
527
+ * Set +autorelease+ attribute (See {Pointer}).
528
+ */
529
+ static VALUE
530
+ function_set_autorelease(VALUE self, VALUE autorelease)
531
+ {
532
+ Function* fn;
533
+
534
+ rb_check_frozen(self);
535
+ TypedData_Get_Struct(self, Function, &function_data_type, fn);
536
+
537
+ fn->autorelease = RTEST(autorelease);
538
+
539
+ return self;
540
+ }
541
+
542
+ static VALUE
543
+ function_autorelease_p(VALUE self)
544
+ {
545
+ Function* fn;
546
+
547
+ TypedData_Get_Struct(self, Function, &function_data_type, fn);
548
+
549
+ return fn->autorelease ? Qtrue : Qfalse;
550
+ }
551
+
552
+ static VALUE
553
+ function_type(VALUE self)
554
+ {
555
+ Function* fn;
556
+
557
+ TypedData_Get_Struct(self, Function, &function_data_type, fn);
558
+
559
+ return fn->rbFunctionInfo;
560
+ }
561
+
562
+ /*
563
+ * call-seq: free
564
+ * @return [self]
565
+ * Free memory allocated by Function.
566
+ */
567
+ static VALUE
568
+ function_release(VALUE self)
569
+ {
570
+ Function* fn;
571
+
572
+ TypedData_Get_Struct(self, Function, &function_data_type, fn);
573
+
574
+ if (fn->closure == NULL) {
575
+ rb_raise(rb_eRuntimeError, "cannot free function which was not allocated");
576
+ }
577
+
578
+ rbffi_Closure_Free(fn->closure);
579
+ fn->closure = NULL;
580
+
581
+ return self;
582
+ }
583
+
584
+ static void
585
+ callback_invoke(ffi_cif* cif, void* retval, void** parameters, void* user_data)
586
+ {
587
+ Function* fn;
588
+ struct gvl_callback cb = { 0 };
589
+
590
+ cb.closure = (Closure *) user_data;
591
+ cb.retval = retval;
592
+ cb.parameters = parameters;
593
+ cb.done = false;
594
+ cb.frame = rbffi_frame_current();
595
+ fn = (Function *) cb.closure->info;
596
+
597
+ if (cb.frame != NULL) cb.frame->exc = Qnil;
598
+
599
+ if (ruby_native_thread_p()) {
600
+ if(ruby_thread_has_gvl_p()) {
601
+ callback_with_gvl(&cb);
602
+ } else {
603
+ rb_thread_call_with_gvl(callback_with_gvl, &cb);
604
+ }
605
+ #if defined(DEFER_ASYNC_CALLBACK) && !defined(_WIN32)
606
+ } else {
607
+ bool empty = false;
608
+ struct async_cb_dispatcher *ctx = fn->dispatcher;
609
+
610
+ pthread_mutex_init(&cb.async_mutex, NULL);
611
+ pthread_cond_init(&cb.async_cond, NULL);
612
+
613
+ /* Now signal the async callback dispatcher thread */
614
+ pthread_mutex_lock(&ctx->async_cb_mutex);
615
+ empty = ctx->async_cb_list == NULL;
616
+ cb.next = ctx->async_cb_list;
617
+ ctx->async_cb_list = &cb;
618
+
619
+ pthread_cond_signal(&ctx->async_cb_cond);
620
+ pthread_mutex_unlock(&ctx->async_cb_mutex);
621
+
622
+ /* Wait for the thread executing the ruby callback to signal it is done */
623
+ pthread_mutex_lock(&cb.async_mutex);
624
+ while (!cb.done) {
625
+ pthread_cond_wait(&cb.async_cond, &cb.async_mutex);
626
+ }
627
+ pthread_mutex_unlock(&cb.async_mutex);
628
+ pthread_cond_destroy(&cb.async_cond);
629
+ pthread_mutex_destroy(&cb.async_mutex);
630
+
631
+ #elif defined(DEFER_ASYNC_CALLBACK) && defined(_WIN32)
632
+ } else {
633
+ bool empty = false;
634
+ struct async_cb_dispatcher *ctx = fn->dispatcher;
635
+
636
+ cb.async_event = CreateEvent(NULL, FALSE, FALSE, NULL);
637
+
638
+ /* Now signal the async callback dispatcher thread */
639
+ EnterCriticalSection(&ctx->async_cb_lock);
640
+ empty = ctx->async_cb_list == NULL;
641
+ cb.next = ctx->async_cb_list;
642
+ ctx->async_cb_list = &cb;
643
+ LeaveCriticalSection(&ctx->async_cb_lock);
644
+
645
+ SetEvent(ctx->async_cb_cond);
646
+
647
+ /* Wait for the thread executing the ruby callback to signal it is done */
648
+ WaitForSingleObject(cb.async_event, INFINITE);
649
+ CloseHandle(cb.async_event);
650
+ #endif
651
+ }
652
+ }
653
+
654
+ #if defined(DEFER_ASYNC_CALLBACK)
655
+ struct async_wait {
656
+ struct async_cb_dispatcher *dispatcher;
657
+ void* cb;
658
+ bool stop;
659
+ };
660
+
661
+ static void * async_cb_wait(void *);
662
+ static void async_cb_stop(void *);
663
+
664
+ static VALUE
665
+ async_cb_event(void* ptr)
666
+ {
667
+ struct async_cb_dispatcher *ctx = (struct async_cb_dispatcher *)ptr;
668
+ struct async_wait w = { ctx };
669
+
670
+ w.stop = false;
671
+ while (!w.stop) {
672
+ rb_thread_call_without_gvl(async_cb_wait, &w, async_cb_stop, &w);
673
+ if (w.cb != NULL) {
674
+ /* Start up a new ruby thread to run the ruby callback */
675
+ VALUE new_thread = rb_thread_create(async_cb_call, w.cb);
676
+ /* Name thread, for better debugging */
677
+ rb_funcall(new_thread, rb_intern("name="), 1, rb_str_new2("FFI Callback Runner"));
678
+ }
679
+ }
680
+
681
+ return Qnil;
682
+ }
683
+
684
+ #ifdef _WIN32
685
+ static void *
686
+ async_cb_wait(void *data)
687
+ {
688
+ struct async_wait* w = (struct async_wait *) data;
689
+ struct async_cb_dispatcher *ctx = w->dispatcher;
690
+
691
+ w->cb = NULL;
692
+
693
+ EnterCriticalSection(&ctx->async_cb_lock);
694
+
695
+ while (!w->stop && ctx->async_cb_list == NULL) {
696
+ LeaveCriticalSection(&ctx->async_cb_lock);
697
+ WaitForSingleObject(ctx->async_cb_cond, INFINITE);
698
+ EnterCriticalSection(&ctx->async_cb_lock);
699
+ }
700
+
701
+ if (ctx->async_cb_list != NULL) {
702
+ w->cb = ctx->async_cb_list;
703
+ ctx->async_cb_list = ctx->async_cb_list->next;
704
+ }
705
+
706
+ LeaveCriticalSection(&ctx->async_cb_lock);
707
+
708
+ return NULL;
709
+ }
710
+
711
+ static void
712
+ async_cb_stop(void *data)
713
+ {
714
+ struct async_wait* w = (struct async_wait *) data;
715
+ struct async_cb_dispatcher *ctx = w->dispatcher;
716
+
717
+ EnterCriticalSection(&ctx->async_cb_lock);
718
+ w->stop = true;
719
+ LeaveCriticalSection(&ctx->async_cb_lock);
720
+ SetEvent(ctx->async_cb_cond);
721
+ }
722
+
723
+ #else
724
+ static void *
725
+ async_cb_wait(void *data)
726
+ {
727
+ struct async_wait* w = (struct async_wait *) data;
728
+ struct async_cb_dispatcher *ctx = w->dispatcher;
729
+
730
+ w->cb = NULL;
731
+
732
+ pthread_mutex_lock(&ctx->async_cb_mutex);
733
+
734
+ while (!w->stop && ctx->async_cb_list == NULL) {
735
+ pthread_cond_wait(&ctx->async_cb_cond, &ctx->async_cb_mutex);
736
+ }
737
+
738
+ if (ctx->async_cb_list != NULL) {
739
+ w->cb = ctx->async_cb_list;
740
+ ctx->async_cb_list = ctx->async_cb_list->next;
741
+ }
742
+
743
+ pthread_mutex_unlock(&ctx->async_cb_mutex);
744
+
745
+ return NULL;
746
+ }
747
+
748
+ static void
749
+ async_cb_stop(void *data)
750
+ {
751
+ struct async_wait* w = (struct async_wait *) data;
752
+ struct async_cb_dispatcher *ctx = w->dispatcher;
753
+
754
+ pthread_mutex_lock(&ctx->async_cb_mutex);
755
+ w->stop = true;
756
+ pthread_cond_signal(&ctx->async_cb_cond);
757
+ pthread_mutex_unlock(&ctx->async_cb_mutex);
758
+ }
759
+ #endif
760
+
761
+ static VALUE
762
+ async_cb_call(void *data)
763
+ {
764
+ struct gvl_callback* cb = (struct gvl_callback *) data;
765
+
766
+ callback_with_gvl(data);
767
+
768
+ /* Signal the original native thread that the ruby code has completed */
769
+ #ifdef _WIN32
770
+ SetEvent(cb->async_event);
771
+ #else
772
+ pthread_mutex_lock(&cb->async_mutex);
773
+ cb->done = true;
774
+ pthread_cond_signal(&cb->async_cond);
775
+ pthread_mutex_unlock(&cb->async_mutex);
776
+ #endif
777
+
778
+ return Qnil;
779
+ }
780
+
781
+ #endif
782
+
783
+ static void *
784
+ callback_with_gvl(void* data)
785
+ {
786
+ rb_rescue2(invoke_callback, (VALUE) data, save_callback_exception, (VALUE) data, rb_eException, (VALUE) 0);
787
+ return NULL;
788
+ }
789
+
790
+ static VALUE
791
+ invoke_callback(VALUE data)
792
+ {
793
+ struct gvl_callback* cb = (struct gvl_callback *) data;
794
+
795
+ Function* fn = (Function *) cb->closure->info;
796
+ FunctionType *cbInfo = fn->info;
797
+ Type* returnType = cbInfo->returnType;
798
+ void* retval = cb->retval;
799
+ void** parameters = cb->parameters;
800
+ VALUE* rbParams;
801
+ VALUE rbReturnType = cbInfo->rbReturnType;
802
+ VALUE rbReturnValue;
803
+ int i;
804
+
805
+ rbParams = ALLOCA_N(VALUE, cbInfo->parameterCount);
806
+ for (i = 0; i < cbInfo->parameterCount; ++i) {
807
+ VALUE param;
808
+ Type* paramType = cbInfo->parameterTypes[i];
809
+ VALUE rbParamType = rb_ary_entry(cbInfo->rbParameterTypes, i);
810
+
811
+ if (unlikely(paramType->nativeType == NATIVE_MAPPED)) {
812
+ rbParamType = ((MappedType *) paramType)->rbType;
813
+ paramType = ((MappedType *) paramType)->type;
814
+ }
815
+
816
+ switch (paramType->nativeType) {
817
+ case NATIVE_INT8:
818
+ param = INT2NUM(*(int8_t *) parameters[i]);
819
+ break;
820
+ case NATIVE_UINT8:
821
+ param = UINT2NUM(*(uint8_t *) parameters[i]);
822
+ break;
823
+ case NATIVE_INT16:
824
+ param = INT2NUM(*(int16_t *) parameters[i]);
825
+ break;
826
+ case NATIVE_UINT16:
827
+ param = UINT2NUM(*(uint16_t *) parameters[i]);
828
+ break;
829
+ case NATIVE_INT32:
830
+ param = INT2NUM(*(int32_t *) parameters[i]);
831
+ break;
832
+ case NATIVE_UINT32:
833
+ param = UINT2NUM(*(uint32_t *) parameters[i]);
834
+ break;
835
+ case NATIVE_INT64:
836
+ param = LL2NUM(*(int64_t *) parameters[i]);
837
+ break;
838
+ case NATIVE_UINT64:
839
+ param = ULL2NUM(*(uint64_t *) parameters[i]);
840
+ break;
841
+ case NATIVE_LONG:
842
+ param = LONG2NUM(*(long *) parameters[i]);
843
+ break;
844
+ case NATIVE_ULONG:
845
+ param = ULONG2NUM(*(unsigned long *) parameters[i]);
846
+ break;
847
+ case NATIVE_FLOAT32:
848
+ param = rb_float_new(*(float *) parameters[i]);
849
+ break;
850
+ case NATIVE_FLOAT64:
851
+ param = rb_float_new(*(double *) parameters[i]);
852
+ break;
853
+ case NATIVE_LONGDOUBLE:
854
+ param = rbffi_longdouble_new(*(long double *) parameters[i]);
855
+ break;
856
+ case NATIVE_STRING:
857
+ param = (*(void **) parameters[i] != NULL) ? rb_str_new2(*(char **) parameters[i]) : Qnil;
858
+ break;
859
+ case NATIVE_POINTER:
860
+ param = rbffi_Pointer_NewInstance(*(void **) parameters[i]);
861
+ break;
862
+ case NATIVE_BOOL:
863
+ param = (*(uint8_t *) parameters[i]) ? Qtrue : Qfalse;
864
+ break;
865
+
866
+ case NATIVE_FUNCTION:
867
+ case NATIVE_STRUCT:
868
+ param = rbffi_NativeValue_ToRuby(paramType, rbParamType, parameters[i]);
869
+ break;
870
+
871
+ default:
872
+ param = Qnil;
873
+ break;
874
+ }
875
+
876
+ /* Convert the native value into a custom ruby value */
877
+ if (unlikely(cbInfo->parameterTypes[i]->nativeType == NATIVE_MAPPED)) {
878
+ VALUE values[] = { param, Qnil };
879
+ param = rb_funcall2(((MappedType *) cbInfo->parameterTypes[i])->rbConverter, id_from_native, 2, values);
880
+ }
881
+
882
+ rbParams[i] = param;
883
+ }
884
+
885
+ rbReturnValue = rb_funcall2(fn->rbProc, id_call, cbInfo->parameterCount, rbParams);
886
+
887
+ if (unlikely(returnType->nativeType == NATIVE_MAPPED)) {
888
+ VALUE values[] = { rbReturnValue, Qnil };
889
+ rbReturnValue = rb_funcall2(((MappedType *) returnType)->rbConverter, id_to_native, 2, values);
890
+ rbReturnType = ((MappedType *) returnType)->rbType;
891
+ returnType = ((MappedType* ) returnType)->type;
892
+ }
893
+
894
+ if (rbReturnValue == Qnil || TYPE(rbReturnValue) == T_NIL) {
895
+ memset(retval, 0, returnType->ffiType->size);
896
+ } else switch (returnType->nativeType) {
897
+ case NATIVE_INT8:
898
+ case NATIVE_INT16:
899
+ case NATIVE_INT32:
900
+ *((ffi_sarg *) retval) = NUM2INT(rbReturnValue);
901
+ break;
902
+ case NATIVE_UINT8:
903
+ case NATIVE_UINT16:
904
+ case NATIVE_UINT32:
905
+ *((ffi_arg *) retval) = NUM2UINT(rbReturnValue);
906
+ break;
907
+ case NATIVE_INT64:
908
+ *((int64_t *) retval) = NUM2LL(rbReturnValue);
909
+ break;
910
+ case NATIVE_UINT64:
911
+ *((uint64_t *) retval) = NUM2ULL(rbReturnValue);
912
+ break;
913
+ case NATIVE_LONG:
914
+ *((ffi_sarg *) retval) = NUM2LONG(rbReturnValue);
915
+ break;
916
+ case NATIVE_ULONG:
917
+ *((ffi_arg *) retval) = NUM2ULONG(rbReturnValue);
918
+ break;
919
+ case NATIVE_FLOAT32:
920
+ *((float *) retval) = (float) NUM2DBL(rbReturnValue);
921
+ break;
922
+ case NATIVE_FLOAT64:
923
+ *((double *) retval) = NUM2DBL(rbReturnValue);
924
+ break;
925
+ case NATIVE_LONGDOUBLE:
926
+ *((long double *) retval) = rbffi_num2longdouble(rbReturnValue);
927
+ break;
928
+ case NATIVE_POINTER:
929
+ if (TYPE(rbReturnValue) == T_DATA && rb_obj_is_kind_of(rbReturnValue, rbffi_PointerClass)) {
930
+ AbstractMemory* memory;
931
+ TypedData_Get_Struct(rbReturnValue, AbstractMemory, &rbffi_abstract_memory_data_type, memory);
932
+ *((void **) retval) = memory->address;
933
+ } else {
934
+ /* Default to returning NULL if not a value pointer object. handles nil case as well */
935
+ *((void **) retval) = NULL;
936
+ }
937
+ break;
938
+
939
+ case NATIVE_BOOL:
940
+ *((ffi_arg *) retval) = rbReturnValue == Qtrue;
941
+ break;
942
+
943
+ case NATIVE_FUNCTION:
944
+ if (TYPE(rbReturnValue) == T_DATA && rb_obj_is_kind_of(rbReturnValue, rbffi_PointerClass)) {
945
+ AbstractMemory* memory;
946
+ TypedData_Get_Struct(rbReturnValue, AbstractMemory, &rbffi_abstract_memory_data_type, memory);
947
+
948
+ *((void **) retval) = memory->address;
949
+
950
+ } else if (rb_obj_is_kind_of(rbReturnValue, rb_cProc) || rb_respond_to(rbReturnValue, id_call)) {
951
+ VALUE function;
952
+
953
+ function = rbffi_Function_ForProc(rbReturnType, rbReturnValue);
954
+
955
+ AbstractMemory* memory;
956
+ TypedData_Get_Struct(function, AbstractMemory, &rbffi_abstract_memory_data_type, memory);
957
+
958
+ *((void **) retval) = memory->address;
959
+ } else {
960
+ *((void **) retval) = NULL;
961
+ }
962
+ break;
963
+
964
+ case NATIVE_STRUCT:
965
+ if (TYPE(rbReturnValue) == T_DATA && rb_obj_is_kind_of(rbReturnValue, rbffi_StructClass)) {
966
+ Struct* s;
967
+ TypedData_Get_Struct(rbReturnValue, Struct, &rbffi_struct_data_type, s);
968
+ AbstractMemory* memory = s->pointer;
969
+
970
+ if (memory->address != NULL) {
971
+ memcpy(retval, memory->address, returnType->ffiType->size);
972
+
973
+ } else {
974
+ memset(retval, 0, returnType->ffiType->size);
975
+ }
976
+
977
+ } else {
978
+ memset(retval, 0, returnType->ffiType->size);
979
+ }
980
+ break;
981
+
982
+ default:
983
+ *((ffi_arg *) retval) = 0;
984
+ break;
985
+ }
986
+
987
+ return Qnil;
988
+ }
989
+
990
+ static VALUE
991
+ save_callback_exception(VALUE data, VALUE exc)
992
+ {
993
+ struct gvl_callback* cb = (struct gvl_callback *) data;
994
+
995
+ memset(cb->retval, 0, ((Function *) cb->closure->info)->info->returnType->ffiType->size);
996
+ if (cb->frame != NULL) cb->frame->exc = exc;
997
+
998
+ return Qnil;
999
+ }
1000
+
1001
+ static bool
1002
+ callback_prep(void* ctx, void* code, Closure* closure, char* errmsg, size_t errmsgsize)
1003
+ {
1004
+ FunctionType* fnInfo = (FunctionType *) ctx;
1005
+ ffi_status ffiStatus;
1006
+
1007
+ ffiStatus = ffi_prep_closure_loc(closure->pcl, &fnInfo->ffi_cif, callback_invoke, closure, code);
1008
+ if (ffiStatus != FFI_OK) {
1009
+ snprintf(errmsg, errmsgsize, "ffi_prep_closure_loc failed. status=%#x", ffiStatus);
1010
+ return false;
1011
+ }
1012
+
1013
+ return true;
1014
+ }
1015
+
1016
+ void
1017
+ rbffi_Function_Init(VALUE moduleFFI)
1018
+ {
1019
+ rbffi_FunctionInfo_Init(moduleFFI);
1020
+ /*
1021
+ * Document-class: FFI::Function < FFI::Pointer
1022
+ */
1023
+ rbffi_FunctionClass = rb_define_class_under(moduleFFI, "Function", rbffi_PointerClass);
1024
+
1025
+ rb_global_variable(&rbffi_FunctionClass);
1026
+ rb_define_alloc_func(rbffi_FunctionClass, function_allocate);
1027
+
1028
+ rb_define_method(rbffi_FunctionClass, "initialize", function_initialize, -1);
1029
+ rb_define_method(rbffi_FunctionClass, "initialize_copy", function_initialize_copy, 1);
1030
+ rb_define_method(rbffi_FunctionClass, "call", function_call, -1);
1031
+ rb_define_method(rbffi_FunctionClass, "attach", function_attach, 2);
1032
+ rb_define_method(rbffi_FunctionClass, "free", function_release, 0);
1033
+ rb_define_method(rbffi_FunctionClass, "autorelease=", function_set_autorelease, 1);
1034
+ rb_define_private_method(rbffi_FunctionClass, "type", function_type, 0);
1035
+ /*
1036
+ * call-seq: autorelease
1037
+ * @return [Boolean]
1038
+ * Get +autorelease+ attribute.
1039
+ * Synonymous for {#autorelease?}.
1040
+ */
1041
+ rb_define_method(rbffi_FunctionClass, "autorelease", function_autorelease_p, 0);
1042
+ /*
1043
+ * call-seq: autorelease?
1044
+ * @return [Boolean] +autorelease+ attribute
1045
+ * Get +autorelease+ attribute.
1046
+ */
1047
+ rb_define_method(rbffi_FunctionClass, "autorelease?", function_autorelease_p, 0);
1048
+
1049
+ id_call = rb_intern("call");
1050
+ id_cbtable = rb_intern("@__ffi_callback_table__");
1051
+ id_cb_ref = rb_intern("@__ffi_callback__");
1052
+ id_to_native = rb_intern("to_native");
1053
+ id_from_native = rb_intern("from_native");
1054
+ #if defined(DEFER_ASYNC_CALLBACK) && defined(HAVE_RB_EXT_RACTOR_SAFE)
1055
+ async_cb_dispatcher_key = rb_ractor_local_storage_ptr_newkey(&async_cb_dispatcher_key_type);
1056
+ #endif
1057
+ }