ffi 1.15.5-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +338 -0
  3. data/COPYING +49 -0
  4. data/Gemfile +14 -0
  5. data/LICENSE +24 -0
  6. data/LICENSE.SPECS +22 -0
  7. data/README.md +136 -0
  8. data/Rakefile +191 -0
  9. data/ffi.gemspec +42 -0
  10. data/lib/3.1/ffi_c.so +0 -0
  11. data/lib/ffi/abstract_memory.rb +44 -0
  12. data/lib/ffi/autopointer.rb +203 -0
  13. data/lib/ffi/buffer.rb +4 -0
  14. data/lib/ffi/callback.rb +4 -0
  15. data/lib/ffi/data_converter.rb +67 -0
  16. data/lib/ffi/enum.rb +296 -0
  17. data/lib/ffi/errno.rb +43 -0
  18. data/lib/ffi/ffi.rb +47 -0
  19. data/lib/ffi/io.rb +62 -0
  20. data/lib/ffi/library.rb +592 -0
  21. data/lib/ffi/managedstruct.rb +84 -0
  22. data/lib/ffi/memorypointer.rb +1 -0
  23. data/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
  24. data/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
  25. data/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
  26. data/lib/ffi/platform/aarch64-linux/types.conf +104 -0
  27. data/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
  28. data/lib/ffi/platform/arm-freebsd/types.conf +152 -0
  29. data/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
  30. data/lib/ffi/platform/arm-linux/types.conf +132 -0
  31. data/lib/ffi/platform/i386-cygwin/types.conf +3 -0
  32. data/lib/ffi/platform/i386-darwin/types.conf +100 -0
  33. data/lib/ffi/platform/i386-freebsd/types.conf +152 -0
  34. data/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
  35. data/lib/ffi/platform/i386-gnu/types.conf +107 -0
  36. data/lib/ffi/platform/i386-linux/types.conf +103 -0
  37. data/lib/ffi/platform/i386-netbsd/types.conf +126 -0
  38. data/lib/ffi/platform/i386-openbsd/types.conf +128 -0
  39. data/lib/ffi/platform/i386-solaris/types.conf +122 -0
  40. data/lib/ffi/platform/i386-windows/types.conf +52 -0
  41. data/lib/ffi/platform/ia64-linux/types.conf +104 -0
  42. data/lib/ffi/platform/mips-linux/types.conf +102 -0
  43. data/lib/ffi/platform/mips64-linux/types.conf +104 -0
  44. data/lib/ffi/platform/mips64el-linux/types.conf +104 -0
  45. data/lib/ffi/platform/mipsel-linux/types.conf +102 -0
  46. data/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
  47. data/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
  48. data/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
  49. data/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
  50. data/lib/ffi/platform/powerpc-aix/types.conf +180 -0
  51. data/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
  52. data/lib/ffi/platform/powerpc-linux/types.conf +130 -0
  53. data/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
  54. data/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
  55. data/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
  56. data/lib/ffi/platform/riscv64-linux/types.conf +104 -0
  57. data/lib/ffi/platform/s390-linux/types.conf +102 -0
  58. data/lib/ffi/platform/s390x-linux/types.conf +102 -0
  59. data/lib/ffi/platform/sparc-linux/types.conf +102 -0
  60. data/lib/ffi/platform/sparc-solaris/types.conf +128 -0
  61. data/lib/ffi/platform/sparc64-linux/types.conf +102 -0
  62. data/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
  63. data/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
  64. data/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
  65. data/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
  66. data/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
  67. data/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
  68. data/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
  69. data/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
  70. data/lib/ffi/platform/x86_64-linux/types.conf +132 -0
  71. data/lib/ffi/platform/x86_64-msys/types.conf +119 -0
  72. data/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
  73. data/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
  74. data/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
  75. data/lib/ffi/platform/x86_64-windows/types.conf +52 -0
  76. data/lib/ffi/platform.rb +185 -0
  77. data/lib/ffi/pointer.rb +167 -0
  78. data/lib/ffi/struct.rb +316 -0
  79. data/lib/ffi/struct_by_reference.rb +72 -0
  80. data/lib/ffi/struct_layout.rb +96 -0
  81. data/lib/ffi/struct_layout_builder.rb +227 -0
  82. data/lib/ffi/tools/const_generator.rb +232 -0
  83. data/lib/ffi/tools/generator.rb +105 -0
  84. data/lib/ffi/tools/generator_task.rb +32 -0
  85. data/lib/ffi/tools/struct_generator.rb +195 -0
  86. data/lib/ffi/tools/types_generator.rb +137 -0
  87. data/lib/ffi/types.rb +194 -0
  88. data/lib/ffi/union.rb +43 -0
  89. data/lib/ffi/variadic.rb +69 -0
  90. data/lib/ffi/version.rb +3 -0
  91. data/lib/ffi.rb +27 -0
  92. data/rakelib/ffi_gem_helper.rb +65 -0
  93. data/samples/getlogin.rb +8 -0
  94. data/samples/getpid.rb +8 -0
  95. data/samples/gettimeofday.rb +18 -0
  96. data/samples/hello.rb +8 -0
  97. data/samples/inotify.rb +60 -0
  98. data/samples/pty.rb +75 -0
  99. data/samples/qsort.rb +20 -0
  100. metadata +207 -0
metadata ADDED
@@ -0,0 +1,207 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ffi
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.15.5
5
+ platform: x64-mingw-ucrt
6
+ authors:
7
+ - Wayne Meissner
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '13.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '13.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake-compiler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake-compiler-dock
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.14.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.14.1
69
+ description: Ruby FFI library
70
+ email: wmeissner@gmail.com
71
+ executables: []
72
+ extensions: []
73
+ extra_rdoc_files: []
74
+ files:
75
+ - CHANGELOG.md
76
+ - COPYING
77
+ - Gemfile
78
+ - LICENSE
79
+ - LICENSE.SPECS
80
+ - README.md
81
+ - Rakefile
82
+ - ffi.gemspec
83
+ - lib/3.1/ffi_c.so
84
+ - lib/ffi.rb
85
+ - lib/ffi/abstract_memory.rb
86
+ - lib/ffi/autopointer.rb
87
+ - lib/ffi/buffer.rb
88
+ - lib/ffi/callback.rb
89
+ - lib/ffi/data_converter.rb
90
+ - lib/ffi/enum.rb
91
+ - lib/ffi/errno.rb
92
+ - lib/ffi/ffi.rb
93
+ - lib/ffi/io.rb
94
+ - lib/ffi/library.rb
95
+ - lib/ffi/managedstruct.rb
96
+ - lib/ffi/memorypointer.rb
97
+ - lib/ffi/platform.rb
98
+ - lib/ffi/platform/aarch64-darwin/types.conf
99
+ - lib/ffi/platform/aarch64-freebsd/types.conf
100
+ - lib/ffi/platform/aarch64-freebsd12/types.conf
101
+ - lib/ffi/platform/aarch64-linux/types.conf
102
+ - lib/ffi/platform/aarch64-openbsd/types.conf
103
+ - lib/ffi/platform/arm-freebsd/types.conf
104
+ - lib/ffi/platform/arm-freebsd12/types.conf
105
+ - lib/ffi/platform/arm-linux/types.conf
106
+ - lib/ffi/platform/i386-cygwin/types.conf
107
+ - lib/ffi/platform/i386-darwin/types.conf
108
+ - lib/ffi/platform/i386-freebsd/types.conf
109
+ - lib/ffi/platform/i386-freebsd12/types.conf
110
+ - lib/ffi/platform/i386-gnu/types.conf
111
+ - lib/ffi/platform/i386-linux/types.conf
112
+ - lib/ffi/platform/i386-netbsd/types.conf
113
+ - lib/ffi/platform/i386-openbsd/types.conf
114
+ - lib/ffi/platform/i386-solaris/types.conf
115
+ - lib/ffi/platform/i386-windows/types.conf
116
+ - lib/ffi/platform/ia64-linux/types.conf
117
+ - lib/ffi/platform/mips-linux/types.conf
118
+ - lib/ffi/platform/mips64-linux/types.conf
119
+ - lib/ffi/platform/mips64el-linux/types.conf
120
+ - lib/ffi/platform/mipsel-linux/types.conf
121
+ - lib/ffi/platform/mipsisa32r6-linux/types.conf
122
+ - lib/ffi/platform/mipsisa32r6el-linux/types.conf
123
+ - lib/ffi/platform/mipsisa64r6-linux/types.conf
124
+ - lib/ffi/platform/mipsisa64r6el-linux/types.conf
125
+ - lib/ffi/platform/powerpc-aix/types.conf
126
+ - lib/ffi/platform/powerpc-darwin/types.conf
127
+ - lib/ffi/platform/powerpc-linux/types.conf
128
+ - lib/ffi/platform/powerpc-openbsd/types.conf
129
+ - lib/ffi/platform/powerpc64-linux/types.conf
130
+ - lib/ffi/platform/powerpc64le-linux/types.conf
131
+ - lib/ffi/platform/riscv64-linux/types.conf
132
+ - lib/ffi/platform/s390-linux/types.conf
133
+ - lib/ffi/platform/s390x-linux/types.conf
134
+ - lib/ffi/platform/sparc-linux/types.conf
135
+ - lib/ffi/platform/sparc-solaris/types.conf
136
+ - lib/ffi/platform/sparc64-linux/types.conf
137
+ - lib/ffi/platform/sparcv9-openbsd/types.conf
138
+ - lib/ffi/platform/sparcv9-solaris/types.conf
139
+ - lib/ffi/platform/x86_64-cygwin/types.conf
140
+ - lib/ffi/platform/x86_64-darwin/types.conf
141
+ - lib/ffi/platform/x86_64-dragonflybsd/types.conf
142
+ - lib/ffi/platform/x86_64-freebsd/types.conf
143
+ - lib/ffi/platform/x86_64-freebsd12/types.conf
144
+ - lib/ffi/platform/x86_64-haiku/types.conf
145
+ - lib/ffi/platform/x86_64-linux/types.conf
146
+ - lib/ffi/platform/x86_64-msys/types.conf
147
+ - lib/ffi/platform/x86_64-netbsd/types.conf
148
+ - lib/ffi/platform/x86_64-openbsd/types.conf
149
+ - lib/ffi/platform/x86_64-solaris/types.conf
150
+ - lib/ffi/platform/x86_64-windows/types.conf
151
+ - lib/ffi/pointer.rb
152
+ - lib/ffi/struct.rb
153
+ - lib/ffi/struct_by_reference.rb
154
+ - lib/ffi/struct_layout.rb
155
+ - lib/ffi/struct_layout_builder.rb
156
+ - lib/ffi/tools/const_generator.rb
157
+ - lib/ffi/tools/generator.rb
158
+ - lib/ffi/tools/generator_task.rb
159
+ - lib/ffi/tools/struct_generator.rb
160
+ - lib/ffi/tools/types_generator.rb
161
+ - lib/ffi/types.rb
162
+ - lib/ffi/union.rb
163
+ - lib/ffi/variadic.rb
164
+ - lib/ffi/version.rb
165
+ - rakelib/ffi_gem_helper.rb
166
+ - samples/getlogin.rb
167
+ - samples/getpid.rb
168
+ - samples/gettimeofday.rb
169
+ - samples/hello.rb
170
+ - samples/inotify.rb
171
+ - samples/pty.rb
172
+ - samples/qsort.rb
173
+ homepage: https://github.com/ffi/ffi/wiki
174
+ licenses:
175
+ - BSD-3-Clause
176
+ metadata:
177
+ bug_tracker_uri: https://github.com/ffi/ffi/issues
178
+ changelog_uri: https://github.com/ffi/ffi/blob/master/CHANGELOG.md
179
+ documentation_uri: https://github.com/ffi/ffi/wiki
180
+ wiki_uri: https://github.com/ffi/ffi/wiki
181
+ source_code_uri: https://github.com/ffi/ffi/
182
+ mailing_list_uri: http://groups.google.com/group/ruby-ffi
183
+ post_install_message:
184
+ rdoc_options:
185
+ - "--exclude=ext/ffi_c/.*\\.o$"
186
+ - "--exclude=ffi_c\\.(bundle|so)$"
187
+ require_paths:
188
+ - lib
189
+ required_ruby_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '2.4'
194
+ - - "<"
195
+ - !ruby/object:Gem::Version
196
+ version: 3.2.dev
197
+ required_rubygems_version: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ requirements: []
203
+ rubygems_version: 3.3.4
204
+ signing_key:
205
+ specification_version: 4
206
+ summary: Ruby FFI
207
+ test_files: []