ipt 1.0.1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/test.yml +41 -0
  3. data/.gitignore +0 -1
  4. data/Gemfile.lock +318 -0
  5. data/README.md +1 -1
  6. data/bin/tapioca +29 -0
  7. data/ipt.gemspec +15 -8
  8. data/lib/pt.rb +8 -9
  9. data/lib/pt/action.rb +42 -24
  10. data/lib/pt/cli.rb +1 -1
  11. data/lib/pt/client.rb +2 -3
  12. data/lib/pt/configuration.rb +1 -1
  13. data/lib/pt/data_row.rb +1 -0
  14. data/lib/pt/data_table.rb +1 -2
  15. data/lib/pt/io.rb +16 -7
  16. data/lib/pt/version.rb +2 -1
  17. data/sorbet/config +3 -0
  18. data/sorbet/rbi/gems/activesupport.rbi +671 -0
  19. data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
  20. data/sorbet/rbi/gems/addressable.rbi +147 -0
  21. data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
  22. data/sorbet/rbi/gems/anyway_config.rbi +197 -0
  23. data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
  24. data/sorbet/rbi/gems/aruba.rbi +917 -0
  25. data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
  26. data/sorbet/rbi/gems/ast.rbi +49 -0
  27. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  28. data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
  29. data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
  30. data/sorbet/rbi/gems/childprocess.rbi +107 -0
  31. data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
  32. data/sorbet/rbi/gems/coderay.rbi +285 -0
  33. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  34. data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
  35. data/sorbet/rbi/gems/colorize.rbi +82 -0
  36. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  37. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  38. data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
  39. data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
  40. data/sorbet/rbi/gems/config.rbi +124 -0
  41. data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
  42. data/sorbet/rbi/gems/contracts.rbi +391 -0
  43. data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
  44. data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
  45. data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
  46. data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
  47. data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
  48. data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
  49. data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
  50. data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
  51. data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
  52. data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
  53. data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
  54. data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
  55. data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
  56. data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
  57. data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
  58. data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
  59. data/sorbet/rbi/gems/cucumber.rbi +1876 -0
  60. data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
  61. data/sorbet/rbi/gems/declarative.rbi +75 -0
  62. data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
  63. data/sorbet/rbi/gems/deep_merge.rbi +26 -0
  64. data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
  65. data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
  66. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  67. data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
  68. data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
  69. data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
  70. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
  71. data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
  72. data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
  73. data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
  74. data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
  75. data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
  76. data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
  77. data/sorbet/rbi/gems/equalizer.rbi +23 -0
  78. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
  79. data/sorbet/rbi/gems/equatable.rbi +26 -0
  80. data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
  81. data/sorbet/rbi/gems/excon.rbi +378 -0
  82. data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
  83. data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
  84. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
  85. data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
  86. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
  87. data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
  88. data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
  89. data/sorbet/rbi/gems/faraday.rbi +606 -0
  90. data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
  91. data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
  92. data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
  93. data/sorbet/rbi/gems/ffi.rbi +560 -0
  94. data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
  95. data/sorbet/rbi/gems/formatador.rbi +52 -0
  96. data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
  97. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
  98. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
  99. data/sorbet/rbi/gems/guard.rbi +397 -0
  100. data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
  101. data/sorbet/rbi/gems/highline.rbi +567 -0
  102. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  103. data/sorbet/rbi/gems/i18n.rbi +133 -0
  104. data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
  105. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
  106. data/sorbet/rbi/gems/listen.rbi +301 -0
  107. data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
  108. data/sorbet/rbi/gems/lumberjack.rbi +299 -0
  109. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
  110. data/sorbet/rbi/gems/method_source.rbi +64 -0
  111. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  112. data/sorbet/rbi/gems/middleware.rbi +32 -0
  113. data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
  114. data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
  115. data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
  116. data/sorbet/rbi/gems/mime-types.rbi +218 -0
  117. data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
  118. data/sorbet/rbi/gems/mini_mime.rbi +52 -0
  119. data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
  120. data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
  121. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  122. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  123. data/sorbet/rbi/gems/multi_test.rbi +28 -0
  124. data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
  125. data/sorbet/rbi/gems/multipart-post.rbi +53 -0
  126. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
  127. data/sorbet/rbi/gems/necromancer.rbi +135 -0
  128. data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
  129. data/sorbet/rbi/gems/nenv.rbi +60 -0
  130. data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
  131. data/sorbet/rbi/gems/notiffany.rbi +215 -0
  132. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
  133. data/sorbet/rbi/gems/paint.rbi +31 -0
  134. data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
  135. data/sorbet/rbi/gems/parlour.rbi +840 -0
  136. data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
  137. data/sorbet/rbi/gems/parser.rbi +1517 -0
  138. data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
  139. data/sorbet/rbi/gems/pastel.rbi +128 -0
  140. data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
  141. data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
  142. data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
  143. data/sorbet/rbi/gems/pry.rbi +1898 -0
  144. data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
  145. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  146. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
  147. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  148. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  149. data/sorbet/rbi/gems/rake.rbi +647 -0
  150. data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
  151. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  152. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  153. data/sorbet/rbi/gems/representable.rbi +227 -0
  154. data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
  155. data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
  156. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
  157. data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
  158. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
  159. data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
  160. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  161. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  162. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  163. data/sorbet/rbi/gems/rspec.rbi +15 -0
  164. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  165. data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
  166. data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
  167. data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
  168. data/sorbet/rbi/gems/shellany.rbi +29 -0
  169. data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
  170. data/sorbet/rbi/gems/spoom.rbi +872 -0
  171. data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
  172. data/sorbet/rbi/gems/sys-uname.rbi +66 -0
  173. data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
  174. data/sorbet/rbi/gems/tapioca.rbi +39 -0
  175. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
  176. data/sorbet/rbi/gems/terminal-table.rbi +166 -0
  177. data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
  178. data/sorbet/rbi/gems/thor.rbi +537 -0
  179. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  180. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
  181. data/sorbet/rbi/gems/tracker_api.rbi +33 -0
  182. data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
  183. data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
  184. data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
  185. data/sorbet/rbi/gems/tty-color.rbi +41 -0
  186. data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
  187. data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
  188. data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
  189. data/sorbet/rbi/gems/tty-pager.rbi +41 -0
  190. data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
  191. data/sorbet/rbi/gems/tty-platform.rbi +36 -0
  192. data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
  193. data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
  194. data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
  195. data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
  196. data/sorbet/rbi/gems/tty-screen.rbi +40 -0
  197. data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
  198. data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
  199. data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
  200. data/sorbet/rbi/gems/tty-table.rbi +417 -0
  201. data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
  202. data/sorbet/rbi/gems/tty-which.rbi +22 -0
  203. data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
  204. data/sorbet/rbi/gems/tty.rbi +126 -0
  205. data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
  206. data/sorbet/rbi/gems/tzinfo.rbi +588 -0
  207. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
  208. data/sorbet/rbi/gems/uber.rbi +18 -0
  209. data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
  210. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  211. data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
  212. data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
  213. data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
  214. data/sorbet/rbi/gems/vcr.rbi +582 -0
  215. data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
  216. data/sorbet/rbi/gems/verse.rbi +87 -0
  217. data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
  218. data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
  219. data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
  220. data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
  221. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
  222. data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
  223. data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
  224. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
  225. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
  226. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
  227. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  228. data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
  229. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  230. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  231. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  232. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  233. data/sorbet/rbi/todo.rbi +23 -0
  234. data/sorbet/tapioca/require.rb +4 -0
  235. metadata +341 -23
@@ -0,0 +1,849 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `ffi` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module FFI
8
+ class << self
9
+ def add_typedef(old, add); end
10
+ def errno; end
11
+ def errno=(error); end
12
+ def find_type(name, type_map = T.unsafe(nil)); end
13
+ def map_library_name(lib); end
14
+ def type_size(type); end
15
+ def typedef(old, add); end
16
+ end
17
+ end
18
+
19
+ class FFI::AbstractMemory
20
+ def [](_arg0); end
21
+ def __copy_from__(_arg0, _arg1); end
22
+ def clear; end
23
+ def get(_arg0, _arg1); end
24
+ def get_array_of_char(_arg0, _arg1); end
25
+ def get_array_of_double(_arg0, _arg1); end
26
+ def get_array_of_float(_arg0, _arg1); end
27
+ def get_array_of_float32(_arg0, _arg1); end
28
+ def get_array_of_float64(_arg0, _arg1); end
29
+ def get_array_of_int(_arg0, _arg1); end
30
+ def get_array_of_int16(_arg0, _arg1); end
31
+ def get_array_of_int32(_arg0, _arg1); end
32
+ def get_array_of_int64(_arg0, _arg1); end
33
+ def get_array_of_int8(_arg0, _arg1); end
34
+ def get_array_of_long(_arg0, _arg1); end
35
+ def get_array_of_long_long(_arg0, _arg1); end
36
+ def get_array_of_pointer(_arg0, _arg1); end
37
+ def get_array_of_short(_arg0, _arg1); end
38
+ def get_array_of_string(*_arg0); end
39
+ def get_array_of_uchar(_arg0, _arg1); end
40
+ def get_array_of_uint(_arg0, _arg1); end
41
+ def get_array_of_uint16(_arg0, _arg1); end
42
+ def get_array_of_uint32(_arg0, _arg1); end
43
+ def get_array_of_uint64(_arg0, _arg1); end
44
+ def get_array_of_uint8(_arg0, _arg1); end
45
+ def get_array_of_ulong(_arg0, _arg1); end
46
+ def get_array_of_ulong_long(_arg0, _arg1); end
47
+ def get_array_of_ushort(_arg0, _arg1); end
48
+ def get_bytes(_arg0, _arg1); end
49
+ def get_char(_arg0); end
50
+ def get_double(_arg0); end
51
+ def get_float(_arg0); end
52
+ def get_float32(_arg0); end
53
+ def get_float64(_arg0); end
54
+ def get_int(_arg0); end
55
+ def get_int16(_arg0); end
56
+ def get_int32(_arg0); end
57
+ def get_int64(_arg0); end
58
+ def get_int8(_arg0); end
59
+ def get_long(_arg0); end
60
+ def get_long_long(_arg0); end
61
+ def get_pointer(_arg0); end
62
+ def get_short(_arg0); end
63
+ def get_string(*_arg0); end
64
+ def get_uchar(_arg0); end
65
+ def get_uint(_arg0); end
66
+ def get_uint16(_arg0); end
67
+ def get_uint32(_arg0); end
68
+ def get_uint64(_arg0); end
69
+ def get_uint8(_arg0); end
70
+ def get_ulong(_arg0); end
71
+ def get_ulong_long(_arg0); end
72
+ def get_ushort(_arg0); end
73
+ def put(_arg0, _arg1, _arg2); end
74
+ def put_array_of_char(_arg0, _arg1); end
75
+ def put_array_of_double(_arg0, _arg1); end
76
+ def put_array_of_float(_arg0, _arg1); end
77
+ def put_array_of_float32(_arg0, _arg1); end
78
+ def put_array_of_float64(_arg0, _arg1); end
79
+ def put_array_of_int(_arg0, _arg1); end
80
+ def put_array_of_int16(_arg0, _arg1); end
81
+ def put_array_of_int32(_arg0, _arg1); end
82
+ def put_array_of_int64(_arg0, _arg1); end
83
+ def put_array_of_int8(_arg0, _arg1); end
84
+ def put_array_of_long(_arg0, _arg1); end
85
+ def put_array_of_long_long(_arg0, _arg1); end
86
+ def put_array_of_pointer(_arg0, _arg1); end
87
+ def put_array_of_short(_arg0, _arg1); end
88
+ def put_array_of_uchar(_arg0, _arg1); end
89
+ def put_array_of_uint(_arg0, _arg1); end
90
+ def put_array_of_uint16(_arg0, _arg1); end
91
+ def put_array_of_uint32(_arg0, _arg1); end
92
+ def put_array_of_uint64(_arg0, _arg1); end
93
+ def put_array_of_uint8(_arg0, _arg1); end
94
+ def put_array_of_ulong(_arg0, _arg1); end
95
+ def put_array_of_ulong_long(_arg0, _arg1); end
96
+ def put_array_of_ushort(_arg0, _arg1); end
97
+ def put_bytes(*_arg0); end
98
+ def put_char(_arg0, _arg1); end
99
+ def put_double(_arg0, _arg1); end
100
+ def put_float(_arg0, _arg1); end
101
+ def put_float32(_arg0, _arg1); end
102
+ def put_float64(_arg0, _arg1); end
103
+ def put_int(_arg0, _arg1); end
104
+ def put_int16(_arg0, _arg1); end
105
+ def put_int32(_arg0, _arg1); end
106
+ def put_int64(_arg0, _arg1); end
107
+ def put_int8(_arg0, _arg1); end
108
+ def put_long(_arg0, _arg1); end
109
+ def put_long_long(_arg0, _arg1); end
110
+ def put_pointer(_arg0, _arg1); end
111
+ def put_short(_arg0, _arg1); end
112
+ def put_string(_arg0, _arg1); end
113
+ def put_uchar(_arg0, _arg1); end
114
+ def put_uint(_arg0, _arg1); end
115
+ def put_uint16(_arg0, _arg1); end
116
+ def put_uint32(_arg0, _arg1); end
117
+ def put_uint64(_arg0, _arg1); end
118
+ def put_uint8(_arg0, _arg1); end
119
+ def put_ulong(_arg0, _arg1); end
120
+ def put_ulong_long(_arg0, _arg1); end
121
+ def put_ushort(_arg0, _arg1); end
122
+ def read_array_of_char(_arg0); end
123
+ def read_array_of_double(_arg0); end
124
+ def read_array_of_float(_arg0); end
125
+ def read_array_of_int(_arg0); end
126
+ def read_array_of_int16(_arg0); end
127
+ def read_array_of_int32(_arg0); end
128
+ def read_array_of_int64(_arg0); end
129
+ def read_array_of_int8(_arg0); end
130
+ def read_array_of_long(_arg0); end
131
+ def read_array_of_long_long(_arg0); end
132
+ def read_array_of_pointer(_arg0); end
133
+ def read_array_of_short(_arg0); end
134
+ def read_array_of_uchar(_arg0); end
135
+ def read_array_of_uint(_arg0); end
136
+ def read_array_of_uint16(_arg0); end
137
+ def read_array_of_uint32(_arg0); end
138
+ def read_array_of_uint64(_arg0); end
139
+ def read_array_of_uint8(_arg0); end
140
+ def read_array_of_ulong(_arg0); end
141
+ def read_array_of_ulong_long(_arg0); end
142
+ def read_array_of_ushort(_arg0); end
143
+ def read_bytes(_arg0); end
144
+ def read_char; end
145
+ def read_double; end
146
+ def read_float; end
147
+ def read_int; end
148
+ def read_int16; end
149
+ def read_int32; end
150
+ def read_int64; end
151
+ def read_int8; end
152
+ def read_long; end
153
+ def read_long_long; end
154
+ def read_pointer; end
155
+ def read_short; end
156
+ def read_uchar; end
157
+ def read_uint; end
158
+ def read_uint16; end
159
+ def read_uint32; end
160
+ def read_uint64; end
161
+ def read_uint8; end
162
+ def read_ulong; end
163
+ def read_ulong_long; end
164
+ def read_ushort; end
165
+ def size; end
166
+ def size_limit?; end
167
+ def total; end
168
+ def type_size; end
169
+ def write_array_of_char(_arg0); end
170
+ def write_array_of_double(_arg0); end
171
+ def write_array_of_float(_arg0); end
172
+ def write_array_of_int(_arg0); end
173
+ def write_array_of_int16(_arg0); end
174
+ def write_array_of_int32(_arg0); end
175
+ def write_array_of_int64(_arg0); end
176
+ def write_array_of_int8(_arg0); end
177
+ def write_array_of_long(_arg0); end
178
+ def write_array_of_long_long(_arg0); end
179
+ def write_array_of_pointer(_arg0); end
180
+ def write_array_of_short(_arg0); end
181
+ def write_array_of_uchar(_arg0); end
182
+ def write_array_of_uint(_arg0); end
183
+ def write_array_of_uint16(_arg0); end
184
+ def write_array_of_uint32(_arg0); end
185
+ def write_array_of_uint64(_arg0); end
186
+ def write_array_of_uint8(_arg0); end
187
+ def write_array_of_ulong(_arg0); end
188
+ def write_array_of_ulong_long(_arg0); end
189
+ def write_array_of_ushort(_arg0); end
190
+ def write_bytes(*_arg0); end
191
+ def write_char(_arg0); end
192
+ def write_double(_arg0); end
193
+ def write_float(_arg0); end
194
+ def write_int(_arg0); end
195
+ def write_int16(_arg0); end
196
+ def write_int32(_arg0); end
197
+ def write_int64(_arg0); end
198
+ def write_int8(_arg0); end
199
+ def write_long(_arg0); end
200
+ def write_long_long(_arg0); end
201
+ def write_pointer(_arg0); end
202
+ def write_short(_arg0); end
203
+ def write_uchar(_arg0); end
204
+ def write_uint(_arg0); end
205
+ def write_uint16(_arg0); end
206
+ def write_uint32(_arg0); end
207
+ def write_uint64(_arg0); end
208
+ def write_uint8(_arg0); end
209
+ def write_ulong(_arg0); end
210
+ def write_ulong_long(_arg0); end
211
+ def write_ushort(_arg0); end
212
+ end
213
+
214
+ FFI::AbstractMemory::LONG_MAX = T.let(T.unsafe(nil), Integer)
215
+
216
+ class FFI::ArrayType < ::FFI::Type
217
+ def initialize(_arg0, _arg1); end
218
+
219
+ def elem_type; end
220
+ def length; end
221
+ end
222
+
223
+ class FFI::AutoPointer < ::FFI::Pointer
224
+ extend ::FFI::DataConverter
225
+
226
+ def initialize(ptr, proc = T.unsafe(nil), &block); end
227
+
228
+ def autorelease=(autorelease); end
229
+ def autorelease?; end
230
+ def free; end
231
+
232
+ class << self
233
+ def from_native(val, ctx); end
234
+ def native_type; end
235
+ end
236
+ end
237
+
238
+ class FFI::AutoPointer::CallableReleaser < ::FFI::AutoPointer::Releaser
239
+ def release(ptr); end
240
+ end
241
+
242
+ class FFI::AutoPointer::DefaultReleaser < ::FFI::AutoPointer::Releaser
243
+ def release(ptr); end
244
+ end
245
+
246
+ class FFI::AutoPointer::Releaser
247
+ def initialize(ptr, proc); end
248
+
249
+ def autorelease; end
250
+ def autorelease=(_arg0); end
251
+ def call(*args); end
252
+ def free; end
253
+ end
254
+
255
+ class FFI::Bitmask < ::FFI::Enum
256
+ def initialize(*args); end
257
+
258
+ def [](*query); end
259
+ def from_native(val, ctx); end
260
+ def to_native(query, ctx); end
261
+ end
262
+
263
+ class FFI::Buffer < ::FFI::AbstractMemory
264
+ def initialize(*_arg0); end
265
+
266
+ def +(_arg0); end
267
+ def inspect; end
268
+ def length; end
269
+ def order(*_arg0); end
270
+ def slice(_arg0, _arg1); end
271
+
272
+ private
273
+
274
+ def initialize_copy(_arg0); end
275
+
276
+ class << self
277
+ def alloc_in(*_arg0); end
278
+ def alloc_inout(*_arg0); end
279
+ def alloc_out(*_arg0); end
280
+ def new_in(*_arg0); end
281
+ def new_inout(*_arg0); end
282
+ def new_out(*_arg0); end
283
+ end
284
+ end
285
+
286
+ FFI::CURRENT_PROCESS = T.let(T.unsafe(nil), Object)
287
+ FFI::CallbackInfo = FFI::FunctionType
288
+
289
+ module FFI::DataConverter
290
+ def from_native(value, ctx); end
291
+ def native_type(type = T.unsafe(nil)); end
292
+ def to_native(value, ctx); end
293
+ end
294
+
295
+ class FFI::DynamicLibrary
296
+ def initialize(_arg0, _arg1); end
297
+
298
+ def find_function(_arg0); end
299
+ def find_symbol(_arg0); end
300
+ def find_variable(_arg0); end
301
+ def last_error; end
302
+ def name; end
303
+
304
+ class << self
305
+ def last_error; end
306
+ def open(_arg0, _arg1); end
307
+ end
308
+ end
309
+
310
+ FFI::DynamicLibrary::RTLD_ALL_MASK = T.let(T.unsafe(nil), Integer)
311
+ FFI::DynamicLibrary::RTLD_BINDING_MASK = T.let(T.unsafe(nil), Integer)
312
+ FFI::DynamicLibrary::RTLD_DEEPBIND = T.let(T.unsafe(nil), Integer)
313
+ FFI::DynamicLibrary::RTLD_FIRST = T.let(T.unsafe(nil), Integer)
314
+ FFI::DynamicLibrary::RTLD_GLOBAL = T.let(T.unsafe(nil), Integer)
315
+ FFI::DynamicLibrary::RTLD_LAZY = T.let(T.unsafe(nil), Integer)
316
+ FFI::DynamicLibrary::RTLD_LOCAL = T.let(T.unsafe(nil), Integer)
317
+ FFI::DynamicLibrary::RTLD_LOCATION_MASK = T.let(T.unsafe(nil), Integer)
318
+ FFI::DynamicLibrary::RTLD_MEMBER = T.let(T.unsafe(nil), Integer)
319
+ FFI::DynamicLibrary::RTLD_NODELETE = T.let(T.unsafe(nil), Integer)
320
+ FFI::DynamicLibrary::RTLD_NOLOAD = T.let(T.unsafe(nil), Integer)
321
+ FFI::DynamicLibrary::RTLD_NOW = T.let(T.unsafe(nil), Integer)
322
+
323
+ class FFI::DynamicLibrary::Symbol < ::FFI::Pointer
324
+ def inspect; end
325
+
326
+ private
327
+
328
+ def initialize_copy(_arg0); end
329
+ end
330
+
331
+ class FFI::Enum
332
+ include ::FFI::DataConverter
333
+
334
+ def initialize(*args); end
335
+
336
+ def [](query); end
337
+ def find(query); end
338
+ def from_native(val, ctx); end
339
+ def native_type; end
340
+ def symbol_map; end
341
+ def symbols; end
342
+ def tag; end
343
+ def to_h; end
344
+ def to_hash; end
345
+ def to_native(val, ctx); end
346
+ end
347
+
348
+ class FFI::Enums
349
+ def initialize; end
350
+
351
+ def <<(enum); end
352
+ def __map_symbol(symbol); end
353
+ def find(query); end
354
+ end
355
+
356
+ class FFI::Function < ::FFI::Pointer
357
+ def initialize(*_arg0); end
358
+
359
+ def attach(_arg0, _arg1); end
360
+ def autorelease; end
361
+ def autorelease=(_arg0); end
362
+ def autorelease?; end
363
+ def call(*_arg0); end
364
+ def free; end
365
+
366
+ private
367
+
368
+ def initialize_copy(_arg0); end
369
+ end
370
+
371
+ FFI::FunctionInfo = FFI::FunctionType
372
+
373
+ class FFI::FunctionType < ::FFI::Type
374
+ def initialize(*_arg0); end
375
+
376
+ def param_types; end
377
+ def result_type; end
378
+ end
379
+
380
+ module FFI::IO
381
+ class << self
382
+ def for_fd(fd, mode = T.unsafe(nil)); end
383
+ def native_read(io, buf, len); end
384
+ end
385
+ end
386
+
387
+ module FFI::LastError
388
+ private
389
+
390
+ def error; end
391
+ def error=(_arg0); end
392
+
393
+ class << self
394
+ def error; end
395
+ def error=(_arg0); end
396
+ end
397
+ end
398
+
399
+ module FFI::Library
400
+ def attach_function(name, func, args, returns = T.unsafe(nil), options = T.unsafe(nil)); end
401
+ def attach_variable(mname, a1, a2 = T.unsafe(nil)); end
402
+ def bitmask(*args); end
403
+ def callback(*args); end
404
+ def enum(*args); end
405
+ def enum_type(name); end
406
+ def enum_value(symbol); end
407
+ def ffi_convention(convention = T.unsafe(nil)); end
408
+ def ffi_lib(*names); end
409
+ def ffi_lib_flags(*flags); end
410
+ def ffi_libraries; end
411
+ def find_type(t); end
412
+ def function_names(name, arg_types); end
413
+ def typedef(old, add, info = T.unsafe(nil)); end
414
+
415
+ private
416
+
417
+ def generic_enum(klass, *args); end
418
+
419
+ class << self
420
+ def extended(mod); end
421
+ end
422
+ end
423
+
424
+ FFI::Library::CURRENT_PROCESS = T.let(T.unsafe(nil), Object)
425
+ FFI::Library::FlagsMap = T.let(T.unsafe(nil), Hash)
426
+ FFI::Library::LIBC = T.let(T.unsafe(nil), String)
427
+
428
+ class FFI::ManagedStruct < ::FFI::Struct
429
+ def initialize(pointer = T.unsafe(nil)); end
430
+ end
431
+
432
+ class FFI::MemoryPointer < ::FFI::Pointer
433
+ def initialize(*_arg0); end
434
+
435
+ class << self
436
+ def from_string(_arg0); end
437
+ end
438
+ end
439
+
440
+ FFI::NativeLibrary = FFI::DynamicLibrary
441
+ module FFI::NativeType; end
442
+ FFI::NativeType::BOOL = T.let(T.unsafe(nil), FFI::Type::Builtin)
443
+ FFI::NativeType::BUFFER_IN = T.let(T.unsafe(nil), FFI::Type::Builtin)
444
+ FFI::NativeType::BUFFER_INOUT = T.let(T.unsafe(nil), FFI::Type::Builtin)
445
+ FFI::NativeType::BUFFER_OUT = T.let(T.unsafe(nil), FFI::Type::Builtin)
446
+ FFI::NativeType::FLOAT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
447
+ FFI::NativeType::FLOAT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
448
+ FFI::NativeType::INT16 = T.let(T.unsafe(nil), FFI::Type::Builtin)
449
+ FFI::NativeType::INT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
450
+ FFI::NativeType::INT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
451
+ FFI::NativeType::INT8 = T.let(T.unsafe(nil), FFI::Type::Builtin)
452
+ FFI::NativeType::LONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
453
+ FFI::NativeType::LONGDOUBLE = T.let(T.unsafe(nil), FFI::Type::Builtin)
454
+ FFI::NativeType::POINTER = T.let(T.unsafe(nil), FFI::Type::Builtin)
455
+ FFI::NativeType::STRING = T.let(T.unsafe(nil), FFI::Type::Builtin)
456
+ FFI::NativeType::UINT16 = T.let(T.unsafe(nil), FFI::Type::Builtin)
457
+ FFI::NativeType::UINT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
458
+ FFI::NativeType::UINT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
459
+ FFI::NativeType::UINT8 = T.let(T.unsafe(nil), FFI::Type::Builtin)
460
+ FFI::NativeType::ULONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
461
+ FFI::NativeType::VARARGS = T.let(T.unsafe(nil), FFI::Type::Builtin)
462
+ FFI::NativeType::VOID = T.let(T.unsafe(nil), FFI::Type::Builtin)
463
+
464
+ class FFI::NotFoundError < ::LoadError
465
+ def initialize(function, *libraries); end
466
+ end
467
+
468
+ class FFI::NullPointerError < ::RuntimeError; end
469
+
470
+ module FFI::Platform
471
+ class << self
472
+ def bsd?; end
473
+ def is_os(os); end
474
+ def mac?; end
475
+ def solaris?; end
476
+ def unix?; end
477
+ def windows?; end
478
+ end
479
+ end
480
+
481
+ FFI::Platform::ADDRESS_ALIGN = T.let(T.unsafe(nil), Integer)
482
+ FFI::Platform::ADDRESS_SIZE = T.let(T.unsafe(nil), Integer)
483
+ FFI::Platform::ARCH = T.let(T.unsafe(nil), String)
484
+ FFI::Platform::BIG_ENDIAN = T.let(T.unsafe(nil), Integer)
485
+ FFI::Platform::BYTE_ORDER = T.let(T.unsafe(nil), Integer)
486
+ FFI::Platform::CONF_DIR = T.let(T.unsafe(nil), String)
487
+ FFI::Platform::CPU = T.let(T.unsafe(nil), String)
488
+ FFI::Platform::DOUBLE_ALIGN = T.let(T.unsafe(nil), Integer)
489
+ FFI::Platform::DOUBLE_SIZE = T.let(T.unsafe(nil), Integer)
490
+ FFI::Platform::FLOAT_ALIGN = T.let(T.unsafe(nil), Integer)
491
+ FFI::Platform::FLOAT_SIZE = T.let(T.unsafe(nil), Integer)
492
+ FFI::Platform::INT16_ALIGN = T.let(T.unsafe(nil), Integer)
493
+ FFI::Platform::INT16_SIZE = T.let(T.unsafe(nil), Integer)
494
+ FFI::Platform::INT32_ALIGN = T.let(T.unsafe(nil), Integer)
495
+ FFI::Platform::INT32_SIZE = T.let(T.unsafe(nil), Integer)
496
+ FFI::Platform::INT64_ALIGN = T.let(T.unsafe(nil), Integer)
497
+ FFI::Platform::INT64_SIZE = T.let(T.unsafe(nil), Integer)
498
+ FFI::Platform::INT8_ALIGN = T.let(T.unsafe(nil), Integer)
499
+ FFI::Platform::INT8_SIZE = T.let(T.unsafe(nil), Integer)
500
+ FFI::Platform::IS_BSD = T.let(T.unsafe(nil), TrueClass)
501
+ FFI::Platform::IS_MAC = T.let(T.unsafe(nil), TrueClass)
502
+ FFI::Platform::LIBC = T.let(T.unsafe(nil), String)
503
+ FFI::Platform::LIBPREFIX = T.let(T.unsafe(nil), String)
504
+ FFI::Platform::LIBSUFFIX = T.let(T.unsafe(nil), String)
505
+ FFI::Platform::LITTLE_ENDIAN = T.let(T.unsafe(nil), Integer)
506
+ FFI::Platform::LONG_ALIGN = T.let(T.unsafe(nil), Integer)
507
+ FFI::Platform::LONG_DOUBLE_ALIGN = T.let(T.unsafe(nil), Integer)
508
+ FFI::Platform::LONG_DOUBLE_SIZE = T.let(T.unsafe(nil), Integer)
509
+ FFI::Platform::LONG_SIZE = T.let(T.unsafe(nil), Integer)
510
+ FFI::Platform::NAME = T.let(T.unsafe(nil), String)
511
+ FFI::Platform::OS = T.let(T.unsafe(nil), String)
512
+ FFI::Platform::OSVERSION = T.let(T.unsafe(nil), Integer)
513
+ class FFI::PlatformError < ::LoadError; end
514
+
515
+ class FFI::Pointer < ::FFI::AbstractMemory
516
+ def initialize(*_arg0); end
517
+
518
+ def +(_arg0); end
519
+ def ==(_arg0); end
520
+ def address; end
521
+ def autorelease=(_arg0); end
522
+ def autorelease?; end
523
+ def free; end
524
+ def inspect; end
525
+ def null?; end
526
+ def order(*_arg0); end
527
+ def read(type); end
528
+ def read_array_of_type(type, reader, length); end
529
+ def read_string(len = T.unsafe(nil)); end
530
+ def read_string_length(len); end
531
+ def read_string_to_null; end
532
+ def slice(_arg0, _arg1); end
533
+ def to_i; end
534
+ def to_ptr; end
535
+ def to_s; end
536
+ def type_size; end
537
+ def write(type, value); end
538
+ def write_array_of_type(type, writer, ary); end
539
+ def write_string(str, len = T.unsafe(nil)); end
540
+ def write_string_length(str, len); end
541
+
542
+ private
543
+
544
+ def initialize_copy(_arg0); end
545
+
546
+ class << self
547
+ def size; end
548
+ end
549
+ end
550
+
551
+ FFI::Pointer::NULL = T.let(T.unsafe(nil), FFI::Pointer)
552
+ FFI::Pointer::SIZE = T.let(T.unsafe(nil), Integer)
553
+ FFI::SizeTypes = T.let(T.unsafe(nil), Hash)
554
+
555
+ class FFI::StrPtrConverter
556
+ extend ::FFI::DataConverter
557
+
558
+ class << self
559
+ def from_native(val, ctx); end
560
+ end
561
+ end
562
+
563
+ class FFI::Struct
564
+ def initialize(*_arg0); end
565
+
566
+ def [](_arg0); end
567
+ def []=(_arg0, _arg1); end
568
+ def align; end
569
+ def alignment; end
570
+ def clear; end
571
+ def layout; end
572
+ def members; end
573
+ def null?; end
574
+ def offset_of(name); end
575
+ def offsets; end
576
+ def order(*_arg0); end
577
+ def pointer; end
578
+ def size; end
579
+ def to_ptr; end
580
+ def values; end
581
+
582
+ private
583
+
584
+ def initialize_copy(_arg0); end
585
+ def layout=(_arg0); end
586
+ def pointer=(_arg0); end
587
+
588
+ class << self
589
+ def alignment; end
590
+ def alloc_in(*_arg0); end
591
+ def alloc_inout(*_arg0); end
592
+ def alloc_out(*_arg0); end
593
+ def auto_ptr; end
594
+ def by_ref(flags = T.unsafe(nil)); end
595
+ def by_value; end
596
+ def in; end
597
+ def layout(*spec); end
598
+ def members; end
599
+ def new_in(*_arg0); end
600
+ def new_inout(*_arg0); end
601
+ def new_out(*_arg0); end
602
+ def offset_of(name); end
603
+ def offsets; end
604
+ def out; end
605
+ def ptr(flags = T.unsafe(nil)); end
606
+ def size; end
607
+ def size=(size); end
608
+ def val; end
609
+
610
+ protected
611
+
612
+ def align(alignment = T.unsafe(nil)); end
613
+ def aligned(alignment = T.unsafe(nil)); end
614
+ def callback(params, ret); end
615
+ def enclosing_module; end
616
+ def find_field_type(type, mod = T.unsafe(nil)); end
617
+ def find_type(type, mod = T.unsafe(nil)); end
618
+ def pack(packed = T.unsafe(nil)); end
619
+ def packed(packed = T.unsafe(nil)); end
620
+
621
+ private
622
+
623
+ def array_layout(builder, spec); end
624
+ def hash_layout(builder, spec); end
625
+ end
626
+ end
627
+
628
+ class FFI::Struct::InlineArray
629
+ include ::Enumerable
630
+
631
+ def initialize(_arg0, _arg1); end
632
+
633
+ def [](_arg0); end
634
+ def []=(_arg0, _arg1); end
635
+ def each; end
636
+ def size; end
637
+ def to_a; end
638
+ def to_ptr; end
639
+ end
640
+
641
+ class FFI::Struct::ManagedStructConverter < ::FFI::StructByReference
642
+ def initialize(struct_class); end
643
+
644
+ def from_native(ptr, ctx); end
645
+ end
646
+
647
+ class FFI::StructByReference
648
+ include ::FFI::DataConverter
649
+
650
+ def initialize(struct_class); end
651
+
652
+ def from_native(value, ctx); end
653
+ def native_type; end
654
+ def struct_class; end
655
+ def to_native(value, ctx); end
656
+ end
657
+
658
+ class FFI::StructByValue < ::FFI::Type
659
+ def initialize(_arg0); end
660
+
661
+ def layout; end
662
+ def struct_class; end
663
+ end
664
+
665
+ class FFI::StructLayout < ::FFI::Type
666
+ def initialize(_arg0, _arg1, _arg2); end
667
+
668
+ def [](_arg0); end
669
+ def __union!; end
670
+ def fields; end
671
+ def members; end
672
+ def offset_of(field_name); end
673
+ def offsets; end
674
+ def to_a; end
675
+ end
676
+
677
+ class FFI::StructLayout::Array < ::FFI::StructLayout::Field
678
+ def get(_arg0); end
679
+ def put(_arg0, _arg1); end
680
+ end
681
+
682
+ class FFI::StructLayout::CharArray < ::FFI::Struct::InlineArray
683
+ def to_s; end
684
+ def to_str; end
685
+ end
686
+
687
+ class FFI::StructLayout::Enum < ::FFI::StructLayout::Field
688
+ def get(ptr); end
689
+ def put(ptr, value); end
690
+ end
691
+
692
+ class FFI::StructLayout::Field
693
+ def initialize(*_arg0); end
694
+
695
+ def alignment; end
696
+ def get(_arg0); end
697
+ def name; end
698
+ def offset; end
699
+ def put(_arg0, _arg1); end
700
+ def size; end
701
+ def type; end
702
+ end
703
+
704
+ class FFI::StructLayout::Function < ::FFI::StructLayout::Field
705
+ def get(_arg0); end
706
+ def put(_arg0, _arg1); end
707
+ end
708
+
709
+ class FFI::StructLayout::InnerStruct < ::FFI::StructLayout::Field
710
+ def get(ptr); end
711
+ def put(ptr, value); end
712
+ end
713
+
714
+ class FFI::StructLayout::Mapped < ::FFI::StructLayout::Field
715
+ def initialize(name, offset, type, orig_field); end
716
+
717
+ def get(ptr); end
718
+ def put(ptr, value); end
719
+ end
720
+
721
+ class FFI::StructLayout::Number < ::FFI::StructLayout::Field; end
722
+ class FFI::StructLayout::Pointer < ::FFI::StructLayout::Field; end
723
+ class FFI::StructLayout::String < ::FFI::StructLayout::Field; end
724
+
725
+ class FFI::StructLayoutBuilder
726
+ def initialize; end
727
+
728
+ def add(name, type, offset = T.unsafe(nil)); end
729
+ def add_array(name, type, count, offset = T.unsafe(nil)); end
730
+ def add_field(name, type, offset = T.unsafe(nil)); end
731
+ def add_struct(name, type, offset = T.unsafe(nil)); end
732
+ def alignment; end
733
+ def alignment=(align); end
734
+ def build; end
735
+ def packed=(packed); end
736
+ def size; end
737
+ def size=(size); end
738
+ def union=(is_union); end
739
+ def union?; end
740
+
741
+ private
742
+
743
+ def align(offset, align); end
744
+ def field_for_type(name, offset, type); end
745
+ end
746
+
747
+ FFI::StructLayoutBuilder::NUMBER_TYPES = T.let(T.unsafe(nil), Array)
748
+ FFI::TYPE_BOOL = T.let(T.unsafe(nil), FFI::Type::Builtin)
749
+ FFI::TYPE_BUFFER_IN = T.let(T.unsafe(nil), FFI::Type::Builtin)
750
+ FFI::TYPE_BUFFER_INOUT = T.let(T.unsafe(nil), FFI::Type::Builtin)
751
+ FFI::TYPE_BUFFER_OUT = T.let(T.unsafe(nil), FFI::Type::Builtin)
752
+ FFI::TYPE_FLOAT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
753
+ FFI::TYPE_FLOAT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
754
+ FFI::TYPE_INT16 = T.let(T.unsafe(nil), FFI::Type::Builtin)
755
+ FFI::TYPE_INT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
756
+ FFI::TYPE_INT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
757
+ FFI::TYPE_INT8 = T.let(T.unsafe(nil), FFI::Type::Builtin)
758
+ FFI::TYPE_LONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
759
+ FFI::TYPE_LONGDOUBLE = T.let(T.unsafe(nil), FFI::Type::Builtin)
760
+ FFI::TYPE_POINTER = T.let(T.unsafe(nil), FFI::Type::Builtin)
761
+ FFI::TYPE_STRING = T.let(T.unsafe(nil), FFI::Type::Builtin)
762
+ FFI::TYPE_UINT16 = T.let(T.unsafe(nil), FFI::Type::Builtin)
763
+ FFI::TYPE_UINT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
764
+ FFI::TYPE_UINT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
765
+ FFI::TYPE_UINT8 = T.let(T.unsafe(nil), FFI::Type::Builtin)
766
+ FFI::TYPE_ULONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
767
+ FFI::TYPE_VARARGS = T.let(T.unsafe(nil), FFI::Type::Builtin)
768
+ FFI::TYPE_VOID = T.let(T.unsafe(nil), FFI::Type::Builtin)
769
+
770
+ class FFI::Type
771
+ def initialize(_arg0); end
772
+
773
+ def alignment; end
774
+ def inspect; end
775
+ def size; end
776
+ end
777
+
778
+ FFI::Type::Array = FFI::ArrayType
779
+ FFI::Type::BOOL = T.let(T.unsafe(nil), FFI::Type::Builtin)
780
+ FFI::Type::BUFFER_IN = T.let(T.unsafe(nil), FFI::Type::Builtin)
781
+ FFI::Type::BUFFER_INOUT = T.let(T.unsafe(nil), FFI::Type::Builtin)
782
+ FFI::Type::BUFFER_OUT = T.let(T.unsafe(nil), FFI::Type::Builtin)
783
+
784
+ class FFI::Type::Builtin < ::FFI::Type
785
+ def inspect; end
786
+ end
787
+
788
+ FFI::Type::CHAR = T.let(T.unsafe(nil), FFI::Type::Builtin)
789
+ FFI::Type::DOUBLE = T.let(T.unsafe(nil), FFI::Type::Builtin)
790
+ FFI::Type::FLOAT = T.let(T.unsafe(nil), FFI::Type::Builtin)
791
+ FFI::Type::FLOAT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
792
+ FFI::Type::FLOAT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
793
+ FFI::Type::Function = FFI::FunctionType
794
+ FFI::Type::INT = T.let(T.unsafe(nil), FFI::Type::Builtin)
795
+ FFI::Type::INT16 = T.let(T.unsafe(nil), FFI::Type::Builtin)
796
+ FFI::Type::INT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
797
+ FFI::Type::INT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
798
+ FFI::Type::INT8 = T.let(T.unsafe(nil), FFI::Type::Builtin)
799
+ FFI::Type::LONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
800
+ FFI::Type::LONGDOUBLE = T.let(T.unsafe(nil), FFI::Type::Builtin)
801
+ FFI::Type::LONG_LONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
802
+
803
+ class FFI::Type::Mapped < ::FFI::Type
804
+ def initialize(_arg0); end
805
+
806
+ def from_native(*_arg0); end
807
+ def native_type; end
808
+ def to_native(*_arg0); end
809
+ def type; end
810
+ end
811
+
812
+ FFI::Type::POINTER = T.let(T.unsafe(nil), FFI::Type::Builtin)
813
+ FFI::Type::SCHAR = T.let(T.unsafe(nil), FFI::Type::Builtin)
814
+ FFI::Type::SHORT = T.let(T.unsafe(nil), FFI::Type::Builtin)
815
+ FFI::Type::SINT = T.let(T.unsafe(nil), FFI::Type::Builtin)
816
+ FFI::Type::SLONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
817
+ FFI::Type::SLONG_LONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
818
+ FFI::Type::SSHORT = T.let(T.unsafe(nil), FFI::Type::Builtin)
819
+ FFI::Type::STRING = T.let(T.unsafe(nil), FFI::Type::Builtin)
820
+ FFI::Type::Struct = FFI::StructByValue
821
+ FFI::Type::UCHAR = T.let(T.unsafe(nil), FFI::Type::Builtin)
822
+ FFI::Type::UINT = T.let(T.unsafe(nil), FFI::Type::Builtin)
823
+ FFI::Type::UINT16 = T.let(T.unsafe(nil), FFI::Type::Builtin)
824
+ FFI::Type::UINT32 = T.let(T.unsafe(nil), FFI::Type::Builtin)
825
+ FFI::Type::UINT64 = T.let(T.unsafe(nil), FFI::Type::Builtin)
826
+ FFI::Type::UINT8 = T.let(T.unsafe(nil), FFI::Type::Builtin)
827
+ FFI::Type::ULONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
828
+ FFI::Type::ULONG_LONG = T.let(T.unsafe(nil), FFI::Type::Builtin)
829
+ FFI::Type::USHORT = T.let(T.unsafe(nil), FFI::Type::Builtin)
830
+ FFI::Type::VARARGS = T.let(T.unsafe(nil), FFI::Type::Builtin)
831
+ FFI::Type::VOID = T.let(T.unsafe(nil), FFI::Type::Builtin)
832
+ FFI::TypeDefs = T.let(T.unsafe(nil), Hash)
833
+ FFI::USE_THIS_PROCESS_AS_LIBRARY = T.let(T.unsafe(nil), Object)
834
+
835
+ class FFI::Union < ::FFI::Struct
836
+ class << self
837
+ def builder; end
838
+ end
839
+ end
840
+
841
+ FFI::VERSION = T.let(T.unsafe(nil), String)
842
+
843
+ class FFI::VariadicInvoker
844
+ def initialize(_arg0, _arg1, _arg2, _arg3); end
845
+
846
+ def attach(mod, mname); end
847
+ def call(*args, &block); end
848
+ def invoke(_arg0, _arg1); end
849
+ end