eml 2.1.7 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/eml.gemspec +3 -3
- data/lib/eml/error/rest/internal_server.rb +1 -1
- data/lib/eml/error/tns.rb +1 -1
- data/lib/eml/lib/basic_auth/generate.rb +1 -1
- data/lib/eml/lib/basic_auth/verify.rb +1 -1
- data/lib/eml/lib/constant_time_compare.rb +1 -1
- data/lib/eml/parameters.rb +6 -3
- data/lib/eml/payload.rb +1 -1
- data/lib/eml/response.rb +1 -1
- data/lib/eml/uk/models/tns/card.rb +1 -1
- data/lib/eml/uk/models/transaction.rb +1 -1
- data/lib/eml/uk/parameters/agreement/show.rb +3 -2
- data/lib/eml/uk/parameters/card/activation.rb +4 -4
- data/lib/eml/uk/parameters/card/lock.rb +4 -4
- data/lib/eml/uk/parameters/card/register.rb +4 -4
- data/lib/eml/uk/parameters/card/reload.rb +4 -4
- data/lib/eml/uk/parameters/card/show.rb +16 -7
- data/lib/eml/uk/parameters/card/transaction.rb +14 -7
- data/lib/eml/uk/parameters/card/unload.rb +4 -4
- data/lib/eml/uk/parameters/card/unlock.rb +4 -4
- data/lib/eml/uk/parameters/card/void.rb +4 -4
- data/lib/eml/uk/parameters.rb +3 -0
- data/lib/eml/uk/payload/agreement/show.rb +19 -10
- data/lib/eml/uk/payload/card/activation.rb +25 -14
- data/lib/eml/uk/payload/card/lock.rb +14 -7
- data/lib/eml/uk/payload/card/register.rb +24 -5
- data/lib/eml/uk/payload/card/reload.rb +17 -8
- data/lib/eml/uk/payload/card/show.rb +1 -1
- data/lib/eml/uk/payload/card/transaction.rb +1 -1
- data/lib/eml/uk/payload/card/unload.rb +17 -8
- data/lib/eml/uk/payload/card/unlock.rb +5 -5
- data/lib/eml/uk/payload/card/void.rb +5 -5
- data/lib/eml/uk/payload/location.rb +6 -6
- data/lib/eml/uk/response.rb +1 -1
- data/lib/eml/uk/responses/agreement/show.rb +1 -1
- data/lib/eml/uk/responses/card/reload.rb +1 -1
- data/lib/eml/uk/responses/card/show.rb +1 -1
- data/lib/eml/version.rb +1 -1
- data/sorbet/rbi/gems/addressable.rbi +2 -2
- data/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/sorbet/rbi/gems/coderay.rbi +91 -0
- data/sorbet/rbi/gems/ffi-compiler.rbi +26 -0
- data/sorbet/rbi/gems/ffi.rbi +559 -0
- data/sorbet/rbi/gems/http-parser.rbi +120 -0
- data/sorbet/rbi/gems/http.rbi +13 -7
- data/sorbet/rbi/gems/method_source.rbi +63 -0
- data/sorbet/rbi/gems/pry-byebug.rbi +149 -0
- data/sorbet/rbi/gems/pry.rbi +1964 -0
- data/sorbet/rbi/gems/public_suffix.rbi +1 -1
- data/sorbet/rbi/gems/rake.rbi +645 -0
- data/sorbet/rbi/gems/rspec-core.rbi +38 -1
- data/sorbet/rbi/gems/rubocop.rbi +4 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +5 -1
- data/sorbet/rbi/gems/simplecov.rbi +143 -17
- data/sorbet/rbi/gems/webmock.rbi +0 -4
- data/sorbet/rbi/hidden-definitions/errors.txt +7053 -166
- data/sorbet/rbi/hidden-definitions/hidden.rbi +12951 -3455
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +3 -1
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +254 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +8 -8
- data/sorbet/rbi/todo.rbi +18 -0
- metadata +30 -15
- data/sorbet/rbi/gems/http_parser.rb.rbi +0 -36
@@ -0,0 +1,91 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strong
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/coderay/all/coderay.rbi
|
9
|
+
#
|
10
|
+
# coderay-1.1.2
|
11
|
+
module CodeRay
|
12
|
+
def self.coderay_path(*path); end
|
13
|
+
def self.encode(code, lang, format, options = nil); end
|
14
|
+
def self.encode_file(filename, format, options = nil); end
|
15
|
+
def self.encode_tokens(tokens, format, options = nil); end
|
16
|
+
def self.encoder(format, options = nil); end
|
17
|
+
def self.get_scanner_options(options); end
|
18
|
+
def self.highlight(code, lang, options = nil, format = nil); end
|
19
|
+
def self.highlight_file(filename, options = nil, format = nil); end
|
20
|
+
def self.scan(code, lang, options = nil, &block); end
|
21
|
+
def self.scan_file(filename, lang = nil, options = nil, &block); end
|
22
|
+
def self.scanner(lang, options = nil, &block); end
|
23
|
+
end
|
24
|
+
module CodeRay::PluginHost
|
25
|
+
def [](id, *args, &blk); end
|
26
|
+
def all_plugins; end
|
27
|
+
def const_missing(const); end
|
28
|
+
def default(id = nil); end
|
29
|
+
def list; end
|
30
|
+
def load(id, *args, &blk); end
|
31
|
+
def load_all; end
|
32
|
+
def load_plugin_map; end
|
33
|
+
def make_plugin_hash; end
|
34
|
+
def map(hash); end
|
35
|
+
def path_to(plugin_id); end
|
36
|
+
def plugin_hash; end
|
37
|
+
def plugin_path(*args); end
|
38
|
+
def register(plugin, id); end
|
39
|
+
def self.extended(mod); end
|
40
|
+
def validate_id(id); end
|
41
|
+
end
|
42
|
+
class CodeRay::PluginHost::PluginNotFound < LoadError
|
43
|
+
end
|
44
|
+
class CodeRay::PluginHost::HostNotFound < LoadError
|
45
|
+
end
|
46
|
+
module CodeRay::Encoders
|
47
|
+
extend CodeRay::PluginHost
|
48
|
+
end
|
49
|
+
module CodeRay::Plugin
|
50
|
+
def aliases; end
|
51
|
+
def plugin_host(host = nil); end
|
52
|
+
def plugin_id; end
|
53
|
+
def register_for(id); end
|
54
|
+
def title(title = nil); end
|
55
|
+
end
|
56
|
+
class CodeRay::Encoders::Encoder
|
57
|
+
def <<(token); end
|
58
|
+
def begin_group(kind); end
|
59
|
+
def begin_line(kind); end
|
60
|
+
def compile(tokens, options = nil); end
|
61
|
+
def encode(code, lang, options = nil); end
|
62
|
+
def encode_tokens(tokens, options = nil); end
|
63
|
+
def end_group(kind); end
|
64
|
+
def end_line(kind); end
|
65
|
+
def file_extension; end
|
66
|
+
def finish(options); end
|
67
|
+
def get_output(options); end
|
68
|
+
def highlight(code, lang, options = nil); end
|
69
|
+
def initialize(options = nil); end
|
70
|
+
def options; end
|
71
|
+
def options=(arg0); end
|
72
|
+
def output(data); end
|
73
|
+
def scanner; end
|
74
|
+
def scanner=(arg0); end
|
75
|
+
def self.const_missing(sym); end
|
76
|
+
def self.file_extension; end
|
77
|
+
def setup(options); end
|
78
|
+
def text_token(text, kind); end
|
79
|
+
def token(content, kind); end
|
80
|
+
def tokens(tokens, options = nil); end
|
81
|
+
extend CodeRay::Plugin
|
82
|
+
end
|
83
|
+
class CodeRay::Encoders::Terminal < CodeRay::Encoders::Encoder
|
84
|
+
def begin_group(kind); end
|
85
|
+
def begin_line(kind); end
|
86
|
+
def end_group(kind); end
|
87
|
+
def end_line(kind); end
|
88
|
+
def open_token(kind); end
|
89
|
+
def setup(options); end
|
90
|
+
def text_token(text, kind); end
|
91
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strong
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ffi-compiler/all/ffi-compiler.rbi
|
9
|
+
#
|
10
|
+
# ffi-compiler-1.0.1
|
11
|
+
module FFI::Compiler
|
12
|
+
end
|
13
|
+
class FFI::Compiler::Platform
|
14
|
+
def arch; end
|
15
|
+
def mac?; end
|
16
|
+
def map_library_name(name); end
|
17
|
+
def name; end
|
18
|
+
def os; end
|
19
|
+
def self.system; end
|
20
|
+
end
|
21
|
+
module FFI
|
22
|
+
end
|
23
|
+
module FFI::Compiler::Loader
|
24
|
+
def self.caller_path(line = nil); end
|
25
|
+
def self.find(name, start_path = nil); end
|
26
|
+
end
|
@@ -0,0 +1,559 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ffi/all/ffi.rbi
|
9
|
+
#
|
10
|
+
# ffi-1.11.3
|
11
|
+
class FFI::Type
|
12
|
+
def alignment; end
|
13
|
+
def initialize(arg0); end
|
14
|
+
def inspect; end
|
15
|
+
def size; end
|
16
|
+
end
|
17
|
+
class FFI::Type::Builtin < FFI::Type
|
18
|
+
def inspect; end
|
19
|
+
end
|
20
|
+
class FFI::ArrayType < FFI::Type
|
21
|
+
def elem_type; end
|
22
|
+
def initialize(arg0, arg1); end
|
23
|
+
def length; end
|
24
|
+
end
|
25
|
+
module FFI::LastError
|
26
|
+
def error; end
|
27
|
+
def error=(arg0); end
|
28
|
+
def self.error; end
|
29
|
+
def self.error=(arg0); end
|
30
|
+
end
|
31
|
+
class FFI::AbstractMemory
|
32
|
+
def [](arg0); end
|
33
|
+
def __copy_from__(arg0, arg1); end
|
34
|
+
def clear; end
|
35
|
+
def get(arg0, arg1); end
|
36
|
+
def get_array_of_char(arg0, arg1); end
|
37
|
+
def get_array_of_double(arg0, arg1); end
|
38
|
+
def get_array_of_float(arg0, arg1); end
|
39
|
+
def get_array_of_float32(arg0, arg1); end
|
40
|
+
def get_array_of_float64(arg0, arg1); end
|
41
|
+
def get_array_of_int(arg0, arg1); end
|
42
|
+
def get_array_of_int16(arg0, arg1); end
|
43
|
+
def get_array_of_int32(arg0, arg1); end
|
44
|
+
def get_array_of_int64(arg0, arg1); end
|
45
|
+
def get_array_of_int8(arg0, arg1); end
|
46
|
+
def get_array_of_long(arg0, arg1); end
|
47
|
+
def get_array_of_long_long(arg0, arg1); end
|
48
|
+
def get_array_of_pointer(arg0, arg1); end
|
49
|
+
def get_array_of_short(arg0, arg1); end
|
50
|
+
def get_array_of_string(*arg0); end
|
51
|
+
def get_array_of_uchar(arg0, arg1); end
|
52
|
+
def get_array_of_uint(arg0, arg1); end
|
53
|
+
def get_array_of_uint16(arg0, arg1); end
|
54
|
+
def get_array_of_uint32(arg0, arg1); end
|
55
|
+
def get_array_of_uint64(arg0, arg1); end
|
56
|
+
def get_array_of_uint8(arg0, arg1); end
|
57
|
+
def get_array_of_ulong(arg0, arg1); end
|
58
|
+
def get_array_of_ulong_long(arg0, arg1); end
|
59
|
+
def get_array_of_ushort(arg0, arg1); end
|
60
|
+
def get_bytes(arg0, arg1); end
|
61
|
+
def get_char(arg0); end
|
62
|
+
def get_double(arg0); end
|
63
|
+
def get_float(arg0); end
|
64
|
+
def get_float32(arg0); end
|
65
|
+
def get_float64(arg0); end
|
66
|
+
def get_int(arg0); end
|
67
|
+
def get_int16(arg0); end
|
68
|
+
def get_int32(arg0); end
|
69
|
+
def get_int64(arg0); end
|
70
|
+
def get_int8(arg0); end
|
71
|
+
def get_long(arg0); end
|
72
|
+
def get_long_long(arg0); end
|
73
|
+
def get_pointer(arg0); end
|
74
|
+
def get_short(arg0); end
|
75
|
+
def get_string(*arg0); end
|
76
|
+
def get_uchar(arg0); end
|
77
|
+
def get_uint(arg0); end
|
78
|
+
def get_uint16(arg0); end
|
79
|
+
def get_uint32(arg0); end
|
80
|
+
def get_uint64(arg0); end
|
81
|
+
def get_uint8(arg0); end
|
82
|
+
def get_ulong(arg0); end
|
83
|
+
def get_ulong_long(arg0); end
|
84
|
+
def get_ushort(arg0); end
|
85
|
+
def put(arg0, arg1, arg2); end
|
86
|
+
def put_array_of_char(arg0, arg1); end
|
87
|
+
def put_array_of_double(arg0, arg1); end
|
88
|
+
def put_array_of_float(arg0, arg1); end
|
89
|
+
def put_array_of_float32(arg0, arg1); end
|
90
|
+
def put_array_of_float64(arg0, arg1); end
|
91
|
+
def put_array_of_int(arg0, arg1); end
|
92
|
+
def put_array_of_int16(arg0, arg1); end
|
93
|
+
def put_array_of_int32(arg0, arg1); end
|
94
|
+
def put_array_of_int64(arg0, arg1); end
|
95
|
+
def put_array_of_int8(arg0, arg1); end
|
96
|
+
def put_array_of_long(arg0, arg1); end
|
97
|
+
def put_array_of_long_long(arg0, arg1); end
|
98
|
+
def put_array_of_pointer(arg0, arg1); end
|
99
|
+
def put_array_of_short(arg0, arg1); end
|
100
|
+
def put_array_of_uchar(arg0, arg1); end
|
101
|
+
def put_array_of_uint(arg0, arg1); end
|
102
|
+
def put_array_of_uint16(arg0, arg1); end
|
103
|
+
def put_array_of_uint32(arg0, arg1); end
|
104
|
+
def put_array_of_uint64(arg0, arg1); end
|
105
|
+
def put_array_of_uint8(arg0, arg1); end
|
106
|
+
def put_array_of_ulong(arg0, arg1); end
|
107
|
+
def put_array_of_ulong_long(arg0, arg1); end
|
108
|
+
def put_array_of_ushort(arg0, arg1); end
|
109
|
+
def put_bytes(*arg0); end
|
110
|
+
def put_char(arg0, arg1); end
|
111
|
+
def put_double(arg0, arg1); end
|
112
|
+
def put_float(arg0, arg1); end
|
113
|
+
def put_float32(arg0, arg1); end
|
114
|
+
def put_float64(arg0, arg1); end
|
115
|
+
def put_int(arg0, arg1); end
|
116
|
+
def put_int16(arg0, arg1); end
|
117
|
+
def put_int32(arg0, arg1); end
|
118
|
+
def put_int64(arg0, arg1); end
|
119
|
+
def put_int8(arg0, arg1); end
|
120
|
+
def put_long(arg0, arg1); end
|
121
|
+
def put_long_long(arg0, arg1); end
|
122
|
+
def put_pointer(arg0, arg1); end
|
123
|
+
def put_short(arg0, arg1); end
|
124
|
+
def put_string(arg0, arg1); end
|
125
|
+
def put_uchar(arg0, arg1); end
|
126
|
+
def put_uint(arg0, arg1); end
|
127
|
+
def put_uint16(arg0, arg1); end
|
128
|
+
def put_uint32(arg0, arg1); end
|
129
|
+
def put_uint64(arg0, arg1); end
|
130
|
+
def put_uint8(arg0, arg1); end
|
131
|
+
def put_ulong(arg0, arg1); end
|
132
|
+
def put_ulong_long(arg0, arg1); end
|
133
|
+
def put_ushort(arg0, arg1); end
|
134
|
+
def read_array_of_char(arg0); end
|
135
|
+
def read_array_of_double(arg0); end
|
136
|
+
def read_array_of_float(arg0); end
|
137
|
+
def read_array_of_int(arg0); end
|
138
|
+
def read_array_of_int16(arg0); end
|
139
|
+
def read_array_of_int32(arg0); end
|
140
|
+
def read_array_of_int64(arg0); end
|
141
|
+
def read_array_of_int8(arg0); end
|
142
|
+
def read_array_of_long(arg0); end
|
143
|
+
def read_array_of_long_long(arg0); end
|
144
|
+
def read_array_of_pointer(arg0); end
|
145
|
+
def read_array_of_short(arg0); end
|
146
|
+
def read_array_of_uchar(arg0); end
|
147
|
+
def read_array_of_uint(arg0); end
|
148
|
+
def read_array_of_uint16(arg0); end
|
149
|
+
def read_array_of_uint32(arg0); end
|
150
|
+
def read_array_of_uint64(arg0); end
|
151
|
+
def read_array_of_uint8(arg0); end
|
152
|
+
def read_array_of_ulong(arg0); end
|
153
|
+
def read_array_of_ulong_long(arg0); end
|
154
|
+
def read_array_of_ushort(arg0); end
|
155
|
+
def read_bytes(arg0); end
|
156
|
+
def read_char; end
|
157
|
+
def read_double; end
|
158
|
+
def read_float; end
|
159
|
+
def read_int16; end
|
160
|
+
def read_int32; end
|
161
|
+
def read_int64; end
|
162
|
+
def read_int8; end
|
163
|
+
def read_int; end
|
164
|
+
def read_long; end
|
165
|
+
def read_long_long; end
|
166
|
+
def read_pointer; end
|
167
|
+
def read_short; end
|
168
|
+
def read_uchar; end
|
169
|
+
def read_uint16; end
|
170
|
+
def read_uint32; end
|
171
|
+
def read_uint64; end
|
172
|
+
def read_uint8; end
|
173
|
+
def read_uint; end
|
174
|
+
def read_ulong; end
|
175
|
+
def read_ulong_long; end
|
176
|
+
def read_ushort; end
|
177
|
+
def size; end
|
178
|
+
def total; end
|
179
|
+
def type_size; end
|
180
|
+
def write_array_of_char(arg0); end
|
181
|
+
def write_array_of_double(arg0); end
|
182
|
+
def write_array_of_float(arg0); end
|
183
|
+
def write_array_of_int(arg0); end
|
184
|
+
def write_array_of_int16(arg0); end
|
185
|
+
def write_array_of_int32(arg0); end
|
186
|
+
def write_array_of_int64(arg0); end
|
187
|
+
def write_array_of_int8(arg0); end
|
188
|
+
def write_array_of_long(arg0); end
|
189
|
+
def write_array_of_long_long(arg0); end
|
190
|
+
def write_array_of_pointer(arg0); end
|
191
|
+
def write_array_of_short(arg0); end
|
192
|
+
def write_array_of_uchar(arg0); end
|
193
|
+
def write_array_of_uint(arg0); end
|
194
|
+
def write_array_of_uint16(arg0); end
|
195
|
+
def write_array_of_uint32(arg0); end
|
196
|
+
def write_array_of_uint64(arg0); end
|
197
|
+
def write_array_of_uint8(arg0); end
|
198
|
+
def write_array_of_ulong(arg0); end
|
199
|
+
def write_array_of_ulong_long(arg0); end
|
200
|
+
def write_array_of_ushort(arg0); end
|
201
|
+
def write_bytes(*arg0); end
|
202
|
+
def write_char(arg0); end
|
203
|
+
def write_double(arg0); end
|
204
|
+
def write_float(arg0); end
|
205
|
+
def write_int(arg0); end
|
206
|
+
def write_int16(arg0); end
|
207
|
+
def write_int32(arg0); end
|
208
|
+
def write_int64(arg0); end
|
209
|
+
def write_int8(arg0); end
|
210
|
+
def write_long(arg0); end
|
211
|
+
def write_long_long(arg0); end
|
212
|
+
def write_pointer(arg0); end
|
213
|
+
def write_short(arg0); end
|
214
|
+
def write_uchar(arg0); end
|
215
|
+
def write_uint(arg0); end
|
216
|
+
def write_uint16(arg0); end
|
217
|
+
def write_uint32(arg0); end
|
218
|
+
def write_uint64(arg0); end
|
219
|
+
def write_uint8(arg0); end
|
220
|
+
def write_ulong(arg0); end
|
221
|
+
def write_ulong_long(arg0); end
|
222
|
+
def write_ushort(arg0); end
|
223
|
+
end
|
224
|
+
class FFI::Pointer < FFI::AbstractMemory
|
225
|
+
def +(arg0); end
|
226
|
+
def ==(arg0); end
|
227
|
+
def address; end
|
228
|
+
def autorelease=(arg0); end
|
229
|
+
def autorelease?; end
|
230
|
+
def free; end
|
231
|
+
def initialize(*arg0); end
|
232
|
+
def initialize_copy(arg0); end
|
233
|
+
def inspect; end
|
234
|
+
def null?; end
|
235
|
+
def order(*arg0); end
|
236
|
+
def read(type); end
|
237
|
+
def read_array_of_type(type, reader, length); end
|
238
|
+
def read_string(len = nil); end
|
239
|
+
def read_string_length(len); end
|
240
|
+
def read_string_to_null; end
|
241
|
+
def self.size; end
|
242
|
+
def slice(arg0, arg1); end
|
243
|
+
def to_i; end
|
244
|
+
def to_ptr; end
|
245
|
+
def to_s; end
|
246
|
+
def type_size; end
|
247
|
+
def write(type, value); end
|
248
|
+
def write_array_of_type(type, writer, ary); end
|
249
|
+
def write_string(str, len = nil); end
|
250
|
+
def write_string_length(str, len); end
|
251
|
+
end
|
252
|
+
class FFI::FunctionType < FFI::Type
|
253
|
+
def initialize(*arg0); end
|
254
|
+
def param_types; end
|
255
|
+
def result_type; end
|
256
|
+
end
|
257
|
+
class FFI::Function < FFI::Pointer
|
258
|
+
def attach(arg0, arg1); end
|
259
|
+
def autorelease; end
|
260
|
+
def autorelease=(arg0); end
|
261
|
+
def autorelease?; end
|
262
|
+
def call(*arg0); end
|
263
|
+
def free; end
|
264
|
+
def initialize(*arg0); end
|
265
|
+
def initialize_copy(arg0); end
|
266
|
+
end
|
267
|
+
class FFI::MemoryPointer < FFI::Pointer
|
268
|
+
def initialize(*arg0); end
|
269
|
+
def self.from_string(arg0); end
|
270
|
+
end
|
271
|
+
class FFI::Buffer < FFI::AbstractMemory
|
272
|
+
def +(arg0); end
|
273
|
+
def initialize(*arg0); end
|
274
|
+
def initialize_copy(arg0); end
|
275
|
+
def inspect; end
|
276
|
+
def length; end
|
277
|
+
def order(*arg0); end
|
278
|
+
def self.alloc_in(*arg0); end
|
279
|
+
def self.alloc_inout(*arg0); end
|
280
|
+
def self.alloc_out(*arg0); end
|
281
|
+
def self.new_in(*arg0); end
|
282
|
+
def self.new_inout(*arg0); end
|
283
|
+
def self.new_out(*arg0); end
|
284
|
+
def slice(arg0, arg1); end
|
285
|
+
end
|
286
|
+
class FFI::StructByValue < FFI::Type
|
287
|
+
def initialize(arg0); end
|
288
|
+
def layout; end
|
289
|
+
def struct_class; end
|
290
|
+
end
|
291
|
+
class FFI::StructLayout::Field
|
292
|
+
def alignment; end
|
293
|
+
def get(arg0); end
|
294
|
+
def initialize(*arg0); end
|
295
|
+
def name; end
|
296
|
+
def offset; end
|
297
|
+
def put(arg0, arg1); end
|
298
|
+
def size; end
|
299
|
+
def type; end
|
300
|
+
end
|
301
|
+
class FFI::StructLayout::Function < FFI::StructLayout::Field
|
302
|
+
def get(arg0); end
|
303
|
+
def put(arg0, arg1); end
|
304
|
+
end
|
305
|
+
class FFI::StructLayout::Array < FFI::StructLayout::Field
|
306
|
+
def get(arg0); end
|
307
|
+
def put(arg0, arg1); end
|
308
|
+
end
|
309
|
+
class FFI::StructLayout < FFI::Type
|
310
|
+
def [](arg0); end
|
311
|
+
def __union!; end
|
312
|
+
def fields; end
|
313
|
+
def initialize(arg0, arg1, arg2); end
|
314
|
+
def members; end
|
315
|
+
def offset_of(field_name); end
|
316
|
+
def offsets; end
|
317
|
+
def to_a; end
|
318
|
+
end
|
319
|
+
class FFI::Struct
|
320
|
+
def [](arg0); end
|
321
|
+
def []=(arg0, arg1); end
|
322
|
+
def align; end
|
323
|
+
def alignment; end
|
324
|
+
def clear; end
|
325
|
+
def initialize(*arg0); end
|
326
|
+
def initialize_copy(arg0); end
|
327
|
+
def layout; end
|
328
|
+
def layout=(arg0); end
|
329
|
+
def members; end
|
330
|
+
def null?; end
|
331
|
+
def offset_of(name); end
|
332
|
+
def offsets; end
|
333
|
+
def order(*arg0); end
|
334
|
+
def pointer; end
|
335
|
+
def pointer=(arg0); end
|
336
|
+
def self.align(alignment = nil); end
|
337
|
+
def self.aligned(alignment = nil); end
|
338
|
+
def self.alignment; end
|
339
|
+
def self.alloc_in(*arg0); end
|
340
|
+
def self.alloc_inout(*arg0); end
|
341
|
+
def self.alloc_out(*arg0); end
|
342
|
+
def self.array_layout(builder, spec); end
|
343
|
+
def self.auto_ptr; end
|
344
|
+
def self.by_ref(flags = nil); end
|
345
|
+
def self.by_value; end
|
346
|
+
def self.callback(params, ret); end
|
347
|
+
def self.enclosing_module; end
|
348
|
+
def self.find_field_type(type, mod = nil); end
|
349
|
+
def self.find_type(type, mod = nil); end
|
350
|
+
def self.hash_layout(builder, spec); end
|
351
|
+
def self.in; end
|
352
|
+
def self.layout(*spec); end
|
353
|
+
def self.members; end
|
354
|
+
def self.new_in(*arg0); end
|
355
|
+
def self.new_inout(*arg0); end
|
356
|
+
def self.new_out(*arg0); end
|
357
|
+
def self.offset_of(name); end
|
358
|
+
def self.offsets; end
|
359
|
+
def self.out; end
|
360
|
+
def self.pack(packed = nil); end
|
361
|
+
def self.packed(packed = nil); end
|
362
|
+
def self.ptr(flags = nil); end
|
363
|
+
def self.size; end
|
364
|
+
def self.size=(size); end
|
365
|
+
def self.val; end
|
366
|
+
def size; end
|
367
|
+
def to_ptr; end
|
368
|
+
def values; end
|
369
|
+
end
|
370
|
+
class FFI::Struct::InlineArray
|
371
|
+
def [](arg0); end
|
372
|
+
def []=(arg0, arg1); end
|
373
|
+
def each; end
|
374
|
+
def initialize(arg0, arg1); end
|
375
|
+
def size; end
|
376
|
+
def to_a; end
|
377
|
+
def to_ptr; end
|
378
|
+
end
|
379
|
+
class FFI::StructLayout::CharArray < FFI::Struct::InlineArray
|
380
|
+
def to_s; end
|
381
|
+
def to_str; end
|
382
|
+
end
|
383
|
+
class FFI::DynamicLibrary
|
384
|
+
def find_function(arg0); end
|
385
|
+
def find_symbol(arg0); end
|
386
|
+
def find_variable(arg0); end
|
387
|
+
def initialize(arg0, arg1); end
|
388
|
+
def last_error; end
|
389
|
+
def name; end
|
390
|
+
def self.last_error; end
|
391
|
+
def self.open(arg0, arg1); end
|
392
|
+
end
|
393
|
+
class FFI::DynamicLibrary::Symbol < FFI::Pointer
|
394
|
+
def initialize_copy(arg0); end
|
395
|
+
def inspect; end
|
396
|
+
end
|
397
|
+
class FFI::VariadicInvoker
|
398
|
+
def attach(mod, mname); end
|
399
|
+
def call(*args, &block); end
|
400
|
+
def init(arg_types, type_map); end
|
401
|
+
def initialize(arg0, arg1, arg2, arg3); end
|
402
|
+
def invoke(arg0, arg1); end
|
403
|
+
end
|
404
|
+
class FFI::Type::Mapped < FFI::Type
|
405
|
+
def from_native(*arg0); end
|
406
|
+
def initialize(arg0); end
|
407
|
+
def native_type; end
|
408
|
+
def to_native(*arg0); end
|
409
|
+
def type; end
|
410
|
+
end
|
411
|
+
module FFI
|
412
|
+
def self.add_typedef(old, add); end
|
413
|
+
def self.errno; end
|
414
|
+
def self.errno=(error); end
|
415
|
+
def self.find_type(name, type_map = nil); end
|
416
|
+
def self.map_library_name(lib); end
|
417
|
+
def self.type_size(type); end
|
418
|
+
def self.typedef(old, add); end
|
419
|
+
end
|
420
|
+
class FFI::PlatformError < LoadError
|
421
|
+
end
|
422
|
+
module FFI::Platform
|
423
|
+
def self.bsd?; end
|
424
|
+
def self.is_os(os); end
|
425
|
+
def self.mac?; end
|
426
|
+
def self.solaris?; end
|
427
|
+
def self.unix?; end
|
428
|
+
def self.windows?; end
|
429
|
+
end
|
430
|
+
module FFI::DataConverter
|
431
|
+
def from_native(value, ctx); end
|
432
|
+
def native_type(type = nil); end
|
433
|
+
def to_native(value, ctx); end
|
434
|
+
end
|
435
|
+
class FFI::StrPtrConverter
|
436
|
+
def self.from_native(val, ctx); end
|
437
|
+
extend FFI::DataConverter
|
438
|
+
end
|
439
|
+
class FFI::NotFoundError < LoadError
|
440
|
+
def initialize(function, *libraries); end
|
441
|
+
end
|
442
|
+
module FFI::Library
|
443
|
+
def attach_function(name, func, args, returns = nil, options = nil); end
|
444
|
+
def attach_variable(mname, a1, a2 = nil); end
|
445
|
+
def bitmask(*args); end
|
446
|
+
def callback(*args); end
|
447
|
+
def enum(*args); end
|
448
|
+
def enum_type(name); end
|
449
|
+
def enum_value(symbol); end
|
450
|
+
def ffi_convention(convention = nil); end
|
451
|
+
def ffi_lib(*names); end
|
452
|
+
def ffi_lib_flags(*flags); end
|
453
|
+
def ffi_libraries; end
|
454
|
+
def find_type(t); end
|
455
|
+
def function_names(name, arg_types); end
|
456
|
+
def generic_enum(klass, *args); end
|
457
|
+
def self.extended(mod); end
|
458
|
+
def typedef(old, add, info = nil); end
|
459
|
+
end
|
460
|
+
class FFI::StructLayout::Enum < FFI::StructLayout::Field
|
461
|
+
def get(ptr); end
|
462
|
+
def put(ptr, value); end
|
463
|
+
end
|
464
|
+
class FFI::StructLayout::InnerStruct < FFI::StructLayout::Field
|
465
|
+
def get(ptr); end
|
466
|
+
def put(ptr, value); end
|
467
|
+
end
|
468
|
+
class FFI::StructLayout::Mapped < FFI::StructLayout::Field
|
469
|
+
def get(ptr); end
|
470
|
+
def initialize(name, offset, type, orig_field); end
|
471
|
+
def put(ptr, value); end
|
472
|
+
end
|
473
|
+
class FFI::StructLayoutBuilder
|
474
|
+
def add(name, type, offset = nil); end
|
475
|
+
def add_array(name, type, count, offset = nil); end
|
476
|
+
def add_field(name, type, offset = nil); end
|
477
|
+
def add_struct(name, type, offset = nil); end
|
478
|
+
def align(offset, align); end
|
479
|
+
def alignment; end
|
480
|
+
def alignment=(align); end
|
481
|
+
def build; end
|
482
|
+
def field_for_type(name, offset, type); end
|
483
|
+
def initialize; end
|
484
|
+
def packed=(packed); end
|
485
|
+
def size; end
|
486
|
+
def size=(size); end
|
487
|
+
def union=(is_union); end
|
488
|
+
def union?; end
|
489
|
+
end
|
490
|
+
class FFI::StructByReference
|
491
|
+
def from_native(value, ctx); end
|
492
|
+
def initialize(struct_class); end
|
493
|
+
def native_type; end
|
494
|
+
def struct_class; end
|
495
|
+
def to_native(value, ctx); end
|
496
|
+
include FFI::DataConverter
|
497
|
+
end
|
498
|
+
class FFI::Struct::ManagedStructConverter < FFI::StructByReference
|
499
|
+
def from_native(ptr, ctx); end
|
500
|
+
def initialize(struct_class); end
|
501
|
+
end
|
502
|
+
class FFI::Union < FFI::Struct
|
503
|
+
def self.builder; end
|
504
|
+
end
|
505
|
+
class FFI::ManagedStruct < FFI::Struct
|
506
|
+
def initialize(pointer = nil); end
|
507
|
+
end
|
508
|
+
module FFI::IO
|
509
|
+
def self.for_fd(fd, mode = nil); end
|
510
|
+
def self.native_read(io, buf, len); end
|
511
|
+
end
|
512
|
+
class FFI::AutoPointer < FFI::Pointer
|
513
|
+
def autorelease=(autorelease); end
|
514
|
+
def autorelease?; end
|
515
|
+
def free; end
|
516
|
+
def initialize(ptr, proc = nil, &block); end
|
517
|
+
def self.from_native(val, ctx); end
|
518
|
+
def self.native_type; end
|
519
|
+
extend FFI::DataConverter
|
520
|
+
end
|
521
|
+
class FFI::AutoPointer::Releaser
|
522
|
+
def autorelease; end
|
523
|
+
def autorelease=(arg0); end
|
524
|
+
def call(*args); end
|
525
|
+
def free; end
|
526
|
+
def initialize(ptr, proc); end
|
527
|
+
end
|
528
|
+
class FFI::AutoPointer::DefaultReleaser < FFI::AutoPointer::Releaser
|
529
|
+
def release(ptr); end
|
530
|
+
end
|
531
|
+
class FFI::AutoPointer::CallableReleaser < FFI::AutoPointer::Releaser
|
532
|
+
def release(ptr); end
|
533
|
+
end
|
534
|
+
class FFI::Enums
|
535
|
+
def <<(enum); end
|
536
|
+
def __map_symbol(symbol); end
|
537
|
+
def find(query); end
|
538
|
+
def initialize; end
|
539
|
+
end
|
540
|
+
class FFI::Enum
|
541
|
+
def [](query); end
|
542
|
+
def find(query); end
|
543
|
+
def from_native(val, ctx); end
|
544
|
+
def initialize(*args); end
|
545
|
+
def native_type; end
|
546
|
+
def symbol_map; end
|
547
|
+
def symbols; end
|
548
|
+
def tag; end
|
549
|
+
def to_h; end
|
550
|
+
def to_hash; end
|
551
|
+
def to_native(val, ctx); end
|
552
|
+
include FFI::DataConverter
|
553
|
+
end
|
554
|
+
class FFI::Bitmask < FFI::Enum
|
555
|
+
def [](*query); end
|
556
|
+
def from_native(val, ctx); end
|
557
|
+
def initialize(*args); end
|
558
|
+
def to_native(query, ctx); end
|
559
|
+
end
|