pact-ffi 0.0.2-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1292 @@
1
+ require 'fiddle'
2
+ require_relative 'detect_os'
3
+
4
+ lib = Fiddle.dlopen(DetectOS.get_bin_path)
5
+
6
+ pactffi_version = Fiddle::Function.new(
7
+ lib['pactffi_version'],
8
+ [],
9
+ Fiddle::TYPE_VOIDP
10
+ )
11
+
12
+ pactffi_init = Fiddle::Function.new(
13
+ lib['pactffi_init'],
14
+ [Fiddle::TYPE_VOIDP],
15
+ Fiddle::TYPE_VOID
16
+ )
17
+ pactffi_init_with_log_level = Fiddle::Function.new(
18
+ lib['pactffi_init_with_log_level'],
19
+ [Fiddle::TYPE_VOIDP],
20
+ Fiddle::TYPE_VOID
21
+ )
22
+ pactffi_enable_ansi_support = Fiddle::Function.new(
23
+ lib['pactffi_enable_ansi_support'],
24
+ [],
25
+ Fiddle::TYPE_VOID
26
+ )
27
+ pactffi_log_message = Fiddle::Function.new(
28
+ lib['pactffi_log_message'],
29
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
30
+ Fiddle::TYPE_VOID
31
+ )
32
+ pactffi_match_message = Fiddle::Function.new(
33
+ lib['pactffi_match_message'],
34
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T],
35
+ Fiddle::TYPE_INTPTR_T
36
+ )
37
+ pactffi_mismatches_get_iter = Fiddle::Function.new(
38
+ lib['pactffi_mismatches_get_iter'],
39
+ [Fiddle::TYPE_INTPTR_T],
40
+ Fiddle::TYPE_INTPTR_T
41
+ )
42
+ pactffi_mismatches_delete = Fiddle::Function.new(
43
+ lib['pactffi_mismatches_delete'],
44
+ [Fiddle::TYPE_INTPTR_T],
45
+ Fiddle::TYPE_VOID
46
+ )
47
+ pactffi_mismatches_iter_next = Fiddle::Function.new(
48
+ lib['pactffi_mismatches_iter_next'],
49
+ [Fiddle::TYPE_INTPTR_T],
50
+ Fiddle::TYPE_INTPTR_T
51
+ )
52
+ pactffi_mismatches_iter_delete = Fiddle::Function.new(
53
+ lib['pactffi_mismatches_iter_delete'],
54
+ [Fiddle::TYPE_INTPTR_T],
55
+ Fiddle::TYPE_VOID
56
+ )
57
+ pactffi_mismatch_to_json = Fiddle::Function.new(
58
+ lib['pactffi_mismatch_to_json'],
59
+ [Fiddle::TYPE_INTPTR_T],
60
+ Fiddle::TYPE_VOIDP
61
+ )
62
+ pactffi_mismatch_type = Fiddle::Function.new(
63
+ lib['pactffi_mismatch_type'],
64
+ [Fiddle::TYPE_INTPTR_T],
65
+ Fiddle::TYPE_VOIDP
66
+ )
67
+ pactffi_mismatch_summary = Fiddle::Function.new(
68
+ lib['pactffi_mismatch_summary'],
69
+ [Fiddle::TYPE_INTPTR_T],
70
+ Fiddle::TYPE_VOIDP
71
+ )
72
+ pactffi_mismatch_description = Fiddle::Function.new(
73
+ lib['pactffi_mismatch_description'],
74
+ [Fiddle::TYPE_INTPTR_T],
75
+ Fiddle::TYPE_VOIDP
76
+ )
77
+ pactffi_mismatch_ansi_description = Fiddle::Function.new(
78
+ lib['pactffi_mismatch_ansi_description'],
79
+ [Fiddle::TYPE_INTPTR_T],
80
+ Fiddle::TYPE_VOIDP
81
+ )
82
+ pactffi_get_error_message = Fiddle::Function.new(
83
+ lib['pactffi_get_error_message'],
84
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT32_T],
85
+ Fiddle::TYPE_INT32_T
86
+ )
87
+ pactffi_log_to_stdout = Fiddle::Function.new(
88
+ lib['pactffi_log_to_stdout'],
89
+ [Fiddle::TYPE_INT32_T],
90
+ Fiddle::TYPE_INT32_T
91
+ )
92
+ pactffi_log_to_stderr = Fiddle::Function.new(
93
+ lib['pactffi_log_to_stderr'],
94
+ [Fiddle::TYPE_INT32_T],
95
+ Fiddle::TYPE_INT32_T
96
+ )
97
+ pactffi_log_to_file = Fiddle::Function.new(
98
+ lib['pactffi_log_to_file'],
99
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT32_T],
100
+ Fiddle::TYPE_INT32_T
101
+ )
102
+ pactffi_log_to_buffer = Fiddle::Function.new(
103
+ lib['pactffi_log_to_buffer'],
104
+ [Fiddle::TYPE_INT32_T],
105
+ Fiddle::TYPE_INT32_T
106
+ )
107
+ pactffi_logger_init = Fiddle::Function.new(
108
+ lib['pactffi_logger_init'],
109
+ [],
110
+ Fiddle::TYPE_VOID
111
+ )
112
+ pactffi_logger_attach_sink = Fiddle::Function.new(
113
+ lib['pactffi_logger_attach_sink'],
114
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT32_T],
115
+ Fiddle::TYPE_INT32_T
116
+ )
117
+ pactffi_logger_apply = Fiddle::Function.new(
118
+ lib['pactffi_logger_apply'],
119
+ [],
120
+ Fiddle::TYPE_INT32_T
121
+ )
122
+ pactffi_fetch_log_buffer = Fiddle::Function.new(
123
+ lib['pactffi_fetch_log_buffer'],
124
+ [Fiddle::TYPE_VOIDP],
125
+ Fiddle::TYPE_VOIDP
126
+ )
127
+ pactffi_parse_pact_json = Fiddle::Function.new(
128
+ lib['pactffi_parse_pact_json'],
129
+ [Fiddle::TYPE_VOIDP],
130
+ Fiddle::TYPE_INTPTR_T
131
+ )
132
+ pactffi_pact_model_delete = Fiddle::Function.new(
133
+ lib['pactffi_pact_model_delete'],
134
+ [Fiddle::TYPE_INTPTR_T],
135
+ Fiddle::TYPE_VOID
136
+ )
137
+ pactffi_pact_model_interaction_iterator = Fiddle::Function.new(
138
+ lib['pactffi_pact_model_interaction_iterator'],
139
+ [Fiddle::TYPE_INTPTR_T],
140
+ Fiddle::TYPE_INTPTR_T
141
+ )
142
+ pactffi_pact_spec_version = Fiddle::Function.new(
143
+ lib['pactffi_pact_spec_version'],
144
+ [Fiddle::TYPE_INTPTR_T],
145
+ Fiddle::TYPE_INT32_T
146
+ )
147
+ pactffi_pact_interaction_delete = Fiddle::Function.new(
148
+ lib['pactffi_pact_interaction_delete'],
149
+ [Fiddle::TYPE_INTPTR_T],
150
+ Fiddle::TYPE_VOID
151
+ )
152
+ pactffi_async_message_new = Fiddle::Function.new(
153
+ lib['pactffi_async_message_new'],
154
+ [],
155
+ Fiddle::TYPE_INTPTR_T
156
+ )
157
+ pactffi_async_message_delete = Fiddle::Function.new(
158
+ lib['pactffi_async_message_delete'],
159
+ [Fiddle::TYPE_INTPTR_T],
160
+ Fiddle::TYPE_VOID
161
+ )
162
+ pactffi_async_message_get_contents = Fiddle::Function.new(
163
+ lib['pactffi_async_message_get_contents'],
164
+ [Fiddle::TYPE_INTPTR_T],
165
+ Fiddle::TYPE_INTPTR_T
166
+ )
167
+ pactffi_async_message_get_contents_str = Fiddle::Function.new(
168
+ lib['pactffi_async_message_get_contents_str'],
169
+ [Fiddle::TYPE_INTPTR_T],
170
+ Fiddle::TYPE_VOIDP
171
+ )
172
+ pactffi_async_message_set_contents_str = Fiddle::Function.new(
173
+ lib['pactffi_async_message_set_contents_str'],
174
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
175
+ Fiddle::TYPE_VOID
176
+ )
177
+ pactffi_async_message_get_contents_length = Fiddle::Function.new(
178
+ lib['pactffi_async_message_get_contents_length'],
179
+ [Fiddle::TYPE_INTPTR_T],
180
+ Fiddle::TYPE_SIZE_T
181
+ )
182
+ pactffi_async_message_get_contents_bin = Fiddle::Function.new(
183
+ lib['pactffi_async_message_get_contents_bin'],
184
+ [Fiddle::TYPE_INTPTR_T],
185
+ Fiddle::TYPE_INTPTR_T
186
+ )
187
+ pactffi_async_message_set_contents_bin = Fiddle::Function.new(
188
+ lib['pactffi_async_message_set_contents_bin'],
189
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
190
+ Fiddle::TYPE_VOID
191
+ )
192
+ pactffi_async_message_get_description = Fiddle::Function.new(
193
+ lib['pactffi_async_message_get_description'],
194
+ [Fiddle::TYPE_INTPTR_T],
195
+ Fiddle::TYPE_VOIDP
196
+ )
197
+ pactffi_async_message_set_description = Fiddle::Function.new(
198
+ lib['pactffi_async_message_set_description'],
199
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
200
+ Fiddle::TYPE_INT32_T
201
+ )
202
+ pactffi_async_message_get_provider_state = Fiddle::Function.new(
203
+ lib['pactffi_async_message_get_provider_state'],
204
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT32_T],
205
+ Fiddle::TYPE_INTPTR_T
206
+ )
207
+ pactffi_async_message_get_provider_state_iter = Fiddle::Function.new(
208
+ lib['pactffi_async_message_get_provider_state_iter'],
209
+ [Fiddle::TYPE_INTPTR_T],
210
+ Fiddle::TYPE_INTPTR_T
211
+ )
212
+ pactffi_consumer_get_name = Fiddle::Function.new(
213
+ lib['pactffi_consumer_get_name'],
214
+ [Fiddle::TYPE_INTPTR_T],
215
+ Fiddle::TYPE_VOIDP
216
+ )
217
+ pactffi_pact_get_consumer = Fiddle::Function.new(
218
+ lib['pactffi_pact_get_consumer'],
219
+ [Fiddle::TYPE_INTPTR_T],
220
+ Fiddle::TYPE_INTPTR_T
221
+ )
222
+ pactffi_pact_consumer_delete = Fiddle::Function.new(
223
+ lib['pactffi_pact_consumer_delete'],
224
+ [Fiddle::TYPE_INTPTR_T],
225
+ Fiddle::TYPE_VOID
226
+ )
227
+ pactffi_message_contents_get_contents_str = Fiddle::Function.new(
228
+ lib['pactffi_message_contents_get_contents_str'],
229
+ [Fiddle::TYPE_INTPTR_T],
230
+ Fiddle::TYPE_VOIDP
231
+ )
232
+ pactffi_message_contents_set_contents_str = Fiddle::Function.new(
233
+ lib['pactffi_message_contents_set_contents_str'],
234
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
235
+ Fiddle::TYPE_VOID
236
+ )
237
+ pactffi_message_contents_get_contents_length = Fiddle::Function.new(
238
+ lib['pactffi_message_contents_get_contents_length'],
239
+ [Fiddle::TYPE_INTPTR_T],
240
+ Fiddle::TYPE_SIZE_T
241
+ )
242
+ pactffi_message_contents_get_contents_bin = Fiddle::Function.new(
243
+ lib['pactffi_message_contents_get_contents_bin'],
244
+ [Fiddle::TYPE_INTPTR_T],
245
+ Fiddle::TYPE_INTPTR_T
246
+ )
247
+ pactffi_message_contents_set_contents_bin = Fiddle::Function.new(
248
+ lib['pactffi_message_contents_set_contents_bin'],
249
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
250
+ Fiddle::TYPE_VOID
251
+ )
252
+ pactffi_message_contents_get_metadata_iter = Fiddle::Function.new(
253
+ lib['pactffi_message_contents_get_metadata_iter'],
254
+ [Fiddle::TYPE_INTPTR_T],
255
+ Fiddle::TYPE_INTPTR_T
256
+ )
257
+ pactffi_message_contents_get_matching_rule_iter = Fiddle::Function.new(
258
+ lib['pactffi_message_contents_get_matching_rule_iter'],
259
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INT32_T],
260
+ Fiddle::TYPE_INTPTR_T
261
+ )
262
+ pactffi_request_contents_get_matching_rule_iter = Fiddle::Function.new(
263
+ lib['pactffi_request_contents_get_matching_rule_iter'],
264
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INT32_T],
265
+ Fiddle::TYPE_INTPTR_T
266
+ )
267
+ pactffi_response_contents_get_matching_rule_iter = Fiddle::Function.new(
268
+ lib['pactffi_response_contents_get_matching_rule_iter'],
269
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INT32_T],
270
+ Fiddle::TYPE_INTPTR_T
271
+ )
272
+ pactffi_message_contents_get_generators_iter = Fiddle::Function.new(
273
+ lib['pactffi_message_contents_get_generators_iter'],
274
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INT32_T],
275
+ Fiddle::TYPE_INTPTR_T
276
+ )
277
+ pactffi_request_contents_get_generators_iter = Fiddle::Function.new(
278
+ lib['pactffi_request_contents_get_generators_iter'],
279
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INT32_T],
280
+ Fiddle::TYPE_INTPTR_T
281
+ )
282
+ pactffi_response_contents_get_generators_iter = Fiddle::Function.new(
283
+ lib['pactffi_response_contents_get_generators_iter'],
284
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INT32_T],
285
+ Fiddle::TYPE_INTPTR_T
286
+ )
287
+ pactffi_parse_matcher_definition = Fiddle::Function.new(
288
+ lib['pactffi_parse_matcher_definition'],
289
+ [Fiddle::TYPE_VOIDP],
290
+ Fiddle::TYPE_INTPTR_T
291
+ )
292
+ pactffi_matcher_definition_error = Fiddle::Function.new(
293
+ lib['pactffi_matcher_definition_error'],
294
+ [Fiddle::TYPE_INTPTR_T],
295
+ Fiddle::TYPE_VOIDP
296
+ )
297
+ pactffi_matcher_definition_value = Fiddle::Function.new(
298
+ lib['pactffi_matcher_definition_value'],
299
+ [Fiddle::TYPE_INTPTR_T],
300
+ Fiddle::TYPE_VOIDP
301
+ )
302
+ pactffi_matcher_definition_delete = Fiddle::Function.new(
303
+ lib['pactffi_matcher_definition_delete'],
304
+ [Fiddle::TYPE_INTPTR_T],
305
+ Fiddle::TYPE_VOID
306
+ )
307
+ pactffi_matcher_definition_generator = Fiddle::Function.new(
308
+ lib['pactffi_matcher_definition_generator'],
309
+ [Fiddle::TYPE_INTPTR_T],
310
+ Fiddle::TYPE_INTPTR_T
311
+ )
312
+ pactffi_matcher_definition_value_type = Fiddle::Function.new(
313
+ lib['pactffi_matcher_definition_value_type'],
314
+ [Fiddle::TYPE_INTPTR_T],
315
+ Fiddle::TYPE_INT32_T
316
+ )
317
+ pactffi_matching_rule_iter_delete = Fiddle::Function.new(
318
+ lib['pactffi_matching_rule_iter_delete'],
319
+ [Fiddle::TYPE_INTPTR_T],
320
+ Fiddle::TYPE_VOID
321
+ )
322
+ pactffi_matcher_definition_iter = Fiddle::Function.new(
323
+ lib['pactffi_matcher_definition_iter'],
324
+ [Fiddle::TYPE_INTPTR_T],
325
+ Fiddle::TYPE_INTPTR_T
326
+ )
327
+ pactffi_matching_rule_iter_next = Fiddle::Function.new(
328
+ lib['pactffi_matching_rule_iter_next'],
329
+ [Fiddle::TYPE_INTPTR_T],
330
+ Fiddle::TYPE_INTPTR_T
331
+ )
332
+ pactffi_matching_rule_id = Fiddle::Function.new(
333
+ lib['pactffi_matching_rule_id'],
334
+ [Fiddle::TYPE_INTPTR_T],
335
+ Fiddle::TYPE_UINT16_T
336
+ )
337
+ pactffi_matching_rule_value = Fiddle::Function.new(
338
+ lib['pactffi_matching_rule_value'],
339
+ [Fiddle::TYPE_INTPTR_T],
340
+ Fiddle::TYPE_VOIDP
341
+ )
342
+ pactffi_matching_rule_pointer = Fiddle::Function.new(
343
+ lib['pactffi_matching_rule_pointer'],
344
+ [Fiddle::TYPE_INTPTR_T],
345
+ Fiddle::TYPE_INTPTR_T
346
+ )
347
+ pactffi_matching_rule_reference_name = Fiddle::Function.new(
348
+ lib['pactffi_matching_rule_reference_name'],
349
+ [Fiddle::TYPE_INTPTR_T],
350
+ Fiddle::TYPE_VOIDP
351
+ )
352
+ pactffi_validate_datetime = Fiddle::Function.new(
353
+ lib['pactffi_validate_datetime'],
354
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
355
+ Fiddle::TYPE_INT32_T
356
+ )
357
+ pactffi_generator_to_json = Fiddle::Function.new(
358
+ lib['pactffi_generator_to_json'],
359
+ [Fiddle::TYPE_INTPTR_T],
360
+ Fiddle::TYPE_VOIDP
361
+ )
362
+ pactffi_generator_generate_string = Fiddle::Function.new(
363
+ lib['pactffi_generator_generate_string'],
364
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
365
+ Fiddle::TYPE_VOIDP
366
+ )
367
+ pactffi_generator_generate_integer = Fiddle::Function.new(
368
+ lib['pactffi_generator_generate_integer'],
369
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
370
+ Fiddle::TYPE_UINT16_T
371
+ )
372
+ pactffi_generators_iter_delete = Fiddle::Function.new(
373
+ lib['pactffi_generators_iter_delete'],
374
+ [Fiddle::TYPE_INTPTR_T],
375
+ Fiddle::TYPE_VOID
376
+ )
377
+ pactffi_generators_iter_next = Fiddle::Function.new(
378
+ lib['pactffi_generators_iter_next'],
379
+ [Fiddle::TYPE_INTPTR_T],
380
+ Fiddle::TYPE_INTPTR_T
381
+ )
382
+ pactffi_generators_iter_pair_delete = Fiddle::Function.new(
383
+ lib['pactffi_generators_iter_pair_delete'],
384
+ [Fiddle::TYPE_INTPTR_T],
385
+ Fiddle::TYPE_VOID
386
+ )
387
+ pactffi_sync_http_new = Fiddle::Function.new(
388
+ lib['pactffi_sync_http_new'],
389
+ [],
390
+ Fiddle::TYPE_INTPTR_T
391
+ )
392
+ pactffi_sync_http_delete = Fiddle::Function.new(
393
+ lib['pactffi_sync_http_delete'],
394
+ [Fiddle::TYPE_INTPTR_T],
395
+ Fiddle::TYPE_VOID
396
+ )
397
+ pactffi_sync_http_get_request = Fiddle::Function.new(
398
+ lib['pactffi_sync_http_get_request'],
399
+ [Fiddle::TYPE_INTPTR_T],
400
+ Fiddle::TYPE_INTPTR_T
401
+ )
402
+ pactffi_sync_http_get_request_contents = Fiddle::Function.new(
403
+ lib['pactffi_sync_http_get_request_contents'],
404
+ [Fiddle::TYPE_INTPTR_T],
405
+ Fiddle::TYPE_VOIDP
406
+ )
407
+ pactffi_sync_http_set_request_contents = Fiddle::Function.new(
408
+ lib['pactffi_sync_http_set_request_contents'],
409
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
410
+ Fiddle::TYPE_VOID
411
+ )
412
+ pactffi_sync_http_get_request_contents_length = Fiddle::Function.new(
413
+ lib['pactffi_sync_http_get_request_contents_length'],
414
+ [Fiddle::TYPE_INTPTR_T],
415
+ Fiddle::TYPE_SIZE_T
416
+ )
417
+ pactffi_sync_http_get_request_contents_bin = Fiddle::Function.new(
418
+ lib['pactffi_sync_http_get_request_contents_bin'],
419
+ [Fiddle::TYPE_INTPTR_T],
420
+ Fiddle::TYPE_INTPTR_T
421
+ )
422
+ pactffi_sync_http_set_request_contents_bin = Fiddle::Function.new(
423
+ lib['pactffi_sync_http_set_request_contents_bin'],
424
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
425
+ Fiddle::TYPE_VOID
426
+ )
427
+ pactffi_sync_http_get_response = Fiddle::Function.new(
428
+ lib['pactffi_sync_http_get_response'],
429
+ [Fiddle::TYPE_INTPTR_T],
430
+ Fiddle::TYPE_INTPTR_T
431
+ )
432
+ pactffi_sync_http_get_response_contents = Fiddle::Function.new(
433
+ lib['pactffi_sync_http_get_response_contents'],
434
+ [Fiddle::TYPE_INTPTR_T],
435
+ Fiddle::TYPE_VOIDP
436
+ )
437
+ pactffi_sync_http_set_response_contents = Fiddle::Function.new(
438
+ lib['pactffi_sync_http_set_response_contents'],
439
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
440
+ Fiddle::TYPE_VOID
441
+ )
442
+ pactffi_sync_http_get_response_contents_length = Fiddle::Function.new(
443
+ lib['pactffi_sync_http_get_response_contents_length'],
444
+ [Fiddle::TYPE_INTPTR_T],
445
+ Fiddle::TYPE_SIZE_T
446
+ )
447
+ pactffi_sync_http_get_response_contents_bin = Fiddle::Function.new(
448
+ lib['pactffi_sync_http_get_response_contents_bin'],
449
+ [Fiddle::TYPE_INTPTR_T],
450
+ Fiddle::TYPE_INTPTR_T
451
+ )
452
+ pactffi_sync_http_set_response_contents_bin = Fiddle::Function.new(
453
+ lib['pactffi_sync_http_set_response_contents_bin'],
454
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
455
+ Fiddle::TYPE_VOID
456
+ )
457
+ pactffi_sync_http_get_description = Fiddle::Function.new(
458
+ lib['pactffi_sync_http_get_description'],
459
+ [Fiddle::TYPE_INTPTR_T],
460
+ Fiddle::TYPE_VOIDP
461
+ )
462
+ pactffi_sync_http_set_description = Fiddle::Function.new(
463
+ lib['pactffi_sync_http_set_description'],
464
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
465
+ Fiddle::TYPE_INT32_T
466
+ )
467
+ pactffi_sync_http_get_provider_state = Fiddle::Function.new(
468
+ lib['pactffi_sync_http_get_provider_state'],
469
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT32_T],
470
+ Fiddle::TYPE_INTPTR_T
471
+ )
472
+ pactffi_sync_http_get_provider_state_iter = Fiddle::Function.new(
473
+ lib['pactffi_sync_http_get_provider_state_iter'],
474
+ [Fiddle::TYPE_INTPTR_T],
475
+ Fiddle::TYPE_INTPTR_T
476
+ )
477
+ pactffi_pact_interaction_as_synchronous_http = Fiddle::Function.new(
478
+ lib['pactffi_pact_interaction_as_synchronous_http'],
479
+ [Fiddle::TYPE_INTPTR_T],
480
+ Fiddle::TYPE_INTPTR_T
481
+ )
482
+ pactffi_pact_interaction_as_message = Fiddle::Function.new(
483
+ lib['pactffi_pact_interaction_as_message'],
484
+ [Fiddle::TYPE_INTPTR_T],
485
+ Fiddle::TYPE_INTPTR_T
486
+ )
487
+ pactffi_pact_interaction_as_asynchronous_message = Fiddle::Function.new(
488
+ lib['pactffi_pact_interaction_as_asynchronous_message'],
489
+ [Fiddle::TYPE_INTPTR_T],
490
+ Fiddle::TYPE_INTPTR_T
491
+ )
492
+ pactffi_pact_interaction_as_synchronous_message = Fiddle::Function.new(
493
+ lib['pactffi_pact_interaction_as_synchronous_message'],
494
+ [Fiddle::TYPE_INTPTR_T],
495
+ Fiddle::TYPE_INTPTR_T
496
+ )
497
+ pactffi_pact_message_iter_delete = Fiddle::Function.new(
498
+ lib['pactffi_pact_message_iter_delete'],
499
+ [Fiddle::TYPE_INTPTR_T],
500
+ Fiddle::TYPE_VOID
501
+ )
502
+ pactffi_pact_message_iter_next = Fiddle::Function.new(
503
+ lib['pactffi_pact_message_iter_next'],
504
+ [Fiddle::TYPE_INTPTR_T],
505
+ Fiddle::TYPE_INTPTR_T
506
+ )
507
+ pactffi_pact_sync_message_iter_next = Fiddle::Function.new(
508
+ lib['pactffi_pact_sync_message_iter_next'],
509
+ [Fiddle::TYPE_INTPTR_T],
510
+ Fiddle::TYPE_INTPTR_T
511
+ )
512
+ pactffi_pact_sync_message_iter_delete = Fiddle::Function.new(
513
+ lib['pactffi_pact_sync_message_iter_delete'],
514
+ [Fiddle::TYPE_INTPTR_T],
515
+ Fiddle::TYPE_VOID
516
+ )
517
+ pactffi_pact_sync_http_iter_next = Fiddle::Function.new(
518
+ lib['pactffi_pact_sync_http_iter_next'],
519
+ [Fiddle::TYPE_INTPTR_T],
520
+ Fiddle::TYPE_INTPTR_T
521
+ )
522
+ pactffi_pact_sync_http_iter_delete = Fiddle::Function.new(
523
+ lib['pactffi_pact_sync_http_iter_delete'],
524
+ [Fiddle::TYPE_INTPTR_T],
525
+ Fiddle::TYPE_VOID
526
+ )
527
+ pactffi_pact_interaction_iter_next = Fiddle::Function.new(
528
+ lib['pactffi_pact_interaction_iter_next'],
529
+ [Fiddle::TYPE_INTPTR_T],
530
+ Fiddle::TYPE_INTPTR_T
531
+ )
532
+ pactffi_pact_interaction_iter_delete = Fiddle::Function.new(
533
+ lib['pactffi_pact_interaction_iter_delete'],
534
+ [Fiddle::TYPE_INTPTR_T],
535
+ Fiddle::TYPE_VOID
536
+ )
537
+ pactffi_matching_rule_to_json = Fiddle::Function.new(
538
+ lib['pactffi_matching_rule_to_json'],
539
+ [Fiddle::TYPE_INTPTR_T],
540
+ Fiddle::TYPE_VOIDP
541
+ )
542
+ pactffi_matching_rules_iter_delete = Fiddle::Function.new(
543
+ lib['pactffi_matching_rules_iter_delete'],
544
+ [Fiddle::TYPE_INTPTR_T],
545
+ Fiddle::TYPE_VOID
546
+ )
547
+ pactffi_matching_rules_iter_next = Fiddle::Function.new(
548
+ lib['pactffi_matching_rules_iter_next'],
549
+ [Fiddle::TYPE_INTPTR_T],
550
+ Fiddle::TYPE_INTPTR_T
551
+ )
552
+ pactffi_matching_rules_iter_pair_delete = Fiddle::Function.new(
553
+ lib['pactffi_matching_rules_iter_pair_delete'],
554
+ [Fiddle::TYPE_INTPTR_T],
555
+ Fiddle::TYPE_VOID
556
+ )
557
+ pactffi_message_new = Fiddle::Function.new(
558
+ lib['pactffi_message_new'],
559
+ [],
560
+ Fiddle::TYPE_INTPTR_T
561
+ )
562
+ pactffi_message_new_from_json = Fiddle::Function.new(
563
+ lib['pactffi_message_new_from_json'],
564
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT32_T],
565
+ Fiddle::TYPE_INTPTR_T
566
+ )
567
+ pactffi_message_new_from_body = Fiddle::Function.new(
568
+ lib['pactffi_message_new_from_body'],
569
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
570
+ Fiddle::TYPE_INTPTR_T
571
+ )
572
+ pactffi_message_delete = Fiddle::Function.new(
573
+ lib['pactffi_message_delete'],
574
+ [Fiddle::TYPE_INTPTR_T],
575
+ Fiddle::TYPE_VOID
576
+ )
577
+ pactffi_message_get_contents = Fiddle::Function.new(
578
+ lib['pactffi_message_get_contents'],
579
+ [Fiddle::TYPE_INTPTR_T],
580
+ Fiddle::TYPE_VOIDP
581
+ )
582
+ pactffi_message_set_contents = Fiddle::Function.new(
583
+ lib['pactffi_message_set_contents'],
584
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
585
+ Fiddle::TYPE_VOID
586
+ )
587
+ pactffi_message_get_contents_length = Fiddle::Function.new(
588
+ lib['pactffi_message_get_contents_length'],
589
+ [Fiddle::TYPE_INTPTR_T],
590
+ Fiddle::TYPE_SIZE_T
591
+ )
592
+ pactffi_message_get_contents_bin = Fiddle::Function.new(
593
+ lib['pactffi_message_get_contents_bin'],
594
+ [Fiddle::TYPE_INTPTR_T],
595
+ Fiddle::TYPE_INTPTR_T
596
+ )
597
+ pactffi_message_set_contents_bin = Fiddle::Function.new(
598
+ lib['pactffi_message_set_contents_bin'],
599
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
600
+ Fiddle::TYPE_VOID
601
+ )
602
+ pactffi_message_get_description = Fiddle::Function.new(
603
+ lib['pactffi_message_get_description'],
604
+ [Fiddle::TYPE_INTPTR_T],
605
+ Fiddle::TYPE_VOIDP
606
+ )
607
+ pactffi_message_set_description = Fiddle::Function.new(
608
+ lib['pactffi_message_set_description'],
609
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
610
+ Fiddle::TYPE_INT32_T
611
+ )
612
+ pactffi_message_get_provider_state = Fiddle::Function.new(
613
+ lib['pactffi_message_get_provider_state'],
614
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT32_T],
615
+ Fiddle::TYPE_INTPTR_T
616
+ )
617
+ pactffi_message_get_provider_state_iter = Fiddle::Function.new(
618
+ lib['pactffi_message_get_provider_state_iter'],
619
+ [Fiddle::TYPE_INTPTR_T],
620
+ Fiddle::TYPE_INTPTR_T
621
+ )
622
+ pactffi_provider_state_iter_next = Fiddle::Function.new(
623
+ lib['pactffi_provider_state_iter_next'],
624
+ [Fiddle::TYPE_INTPTR_T],
625
+ Fiddle::TYPE_INTPTR_T
626
+ )
627
+ pactffi_provider_state_iter_delete = Fiddle::Function.new(
628
+ lib['pactffi_provider_state_iter_delete'],
629
+ [Fiddle::TYPE_INTPTR_T],
630
+ Fiddle::TYPE_VOID
631
+ )
632
+ pactffi_message_find_metadata = Fiddle::Function.new(
633
+ lib['pactffi_message_find_metadata'],
634
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
635
+ Fiddle::TYPE_VOIDP
636
+ )
637
+ pactffi_message_insert_metadata = Fiddle::Function.new(
638
+ lib['pactffi_message_insert_metadata'],
639
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
640
+ Fiddle::TYPE_INT32_T
641
+ )
642
+ pactffi_message_metadata_iter_next = Fiddle::Function.new(
643
+ lib['pactffi_message_metadata_iter_next'],
644
+ [Fiddle::TYPE_INTPTR_T],
645
+ Fiddle::TYPE_INTPTR_T
646
+ )
647
+ pactffi_message_get_metadata_iter = Fiddle::Function.new(
648
+ lib['pactffi_message_get_metadata_iter'],
649
+ [Fiddle::TYPE_INTPTR_T],
650
+ Fiddle::TYPE_INTPTR_T
651
+ )
652
+ pactffi_message_metadata_iter_delete = Fiddle::Function.new(
653
+ lib['pactffi_message_metadata_iter_delete'],
654
+ [Fiddle::TYPE_INTPTR_T],
655
+ Fiddle::TYPE_VOID
656
+ )
657
+ pactffi_message_metadata_pair_delete = Fiddle::Function.new(
658
+ lib['pactffi_message_metadata_pair_delete'],
659
+ [Fiddle::TYPE_INTPTR_T],
660
+ Fiddle::TYPE_VOID
661
+ )
662
+ pactffi_message_pact_new_from_json = Fiddle::Function.new(
663
+ lib['pactffi_message_pact_new_from_json'],
664
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
665
+ Fiddle::TYPE_INTPTR_T
666
+ )
667
+ pactffi_message_pact_delete = Fiddle::Function.new(
668
+ lib['pactffi_message_pact_delete'],
669
+ [Fiddle::TYPE_INTPTR_T],
670
+ Fiddle::TYPE_VOID
671
+ )
672
+ pactffi_message_pact_get_consumer = Fiddle::Function.new(
673
+ lib['pactffi_message_pact_get_consumer'],
674
+ [Fiddle::TYPE_INTPTR_T],
675
+ Fiddle::TYPE_INTPTR_T
676
+ )
677
+ pactffi_message_pact_get_provider = Fiddle::Function.new(
678
+ lib['pactffi_message_pact_get_provider'],
679
+ [Fiddle::TYPE_INTPTR_T],
680
+ Fiddle::TYPE_INTPTR_T
681
+ )
682
+ pactffi_message_pact_get_message_iter = Fiddle::Function.new(
683
+ lib['pactffi_message_pact_get_message_iter'],
684
+ [Fiddle::TYPE_INTPTR_T],
685
+ Fiddle::TYPE_INTPTR_T
686
+ )
687
+ pactffi_message_pact_message_iter_next = Fiddle::Function.new(
688
+ lib['pactffi_message_pact_message_iter_next'],
689
+ [Fiddle::TYPE_INTPTR_T],
690
+ Fiddle::TYPE_INTPTR_T
691
+ )
692
+ pactffi_message_pact_message_iter_delete = Fiddle::Function.new(
693
+ lib['pactffi_message_pact_message_iter_delete'],
694
+ [Fiddle::TYPE_INTPTR_T],
695
+ Fiddle::TYPE_VOID
696
+ )
697
+ pactffi_message_pact_find_metadata = Fiddle::Function.new(
698
+ lib['pactffi_message_pact_find_metadata'],
699
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
700
+ Fiddle::TYPE_VOIDP
701
+ )
702
+ pactffi_message_pact_get_metadata_iter = Fiddle::Function.new(
703
+ lib['pactffi_message_pact_get_metadata_iter'],
704
+ [Fiddle::TYPE_INTPTR_T],
705
+ Fiddle::TYPE_INTPTR_T
706
+ )
707
+ pactffi_message_pact_metadata_iter_next = Fiddle::Function.new(
708
+ lib['pactffi_message_pact_metadata_iter_next'],
709
+ [Fiddle::TYPE_INTPTR_T],
710
+ Fiddle::TYPE_INTPTR_T
711
+ )
712
+ pactffi_message_pact_metadata_iter_delete = Fiddle::Function.new(
713
+ lib['pactffi_message_pact_metadata_iter_delete'],
714
+ [Fiddle::TYPE_INTPTR_T],
715
+ Fiddle::TYPE_VOID
716
+ )
717
+ pactffi_message_pact_metadata_triple_delete = Fiddle::Function.new(
718
+ lib['pactffi_message_pact_metadata_triple_delete'],
719
+ [Fiddle::TYPE_INTPTR_T],
720
+ Fiddle::TYPE_VOID
721
+ )
722
+ pactffi_provider_get_name = Fiddle::Function.new(
723
+ lib['pactffi_provider_get_name'],
724
+ [Fiddle::TYPE_INTPTR_T],
725
+ Fiddle::TYPE_VOIDP
726
+ )
727
+ pactffi_pact_get_provider = Fiddle::Function.new(
728
+ lib['pactffi_pact_get_provider'],
729
+ [Fiddle::TYPE_INTPTR_T],
730
+ Fiddle::TYPE_INTPTR_T
731
+ )
732
+ pactffi_pact_provider_delete = Fiddle::Function.new(
733
+ lib['pactffi_pact_provider_delete'],
734
+ [Fiddle::TYPE_INTPTR_T],
735
+ Fiddle::TYPE_VOID
736
+ )
737
+ pactffi_provider_state_get_name = Fiddle::Function.new(
738
+ lib['pactffi_provider_state_get_name'],
739
+ [Fiddle::TYPE_INTPTR_T],
740
+ Fiddle::TYPE_VOIDP
741
+ )
742
+ pactffi_provider_state_get_param_iter = Fiddle::Function.new(
743
+ lib['pactffi_provider_state_get_param_iter'],
744
+ [Fiddle::TYPE_INTPTR_T],
745
+ Fiddle::TYPE_INTPTR_T
746
+ )
747
+ pactffi_provider_state_param_iter_next = Fiddle::Function.new(
748
+ lib['pactffi_provider_state_param_iter_next'],
749
+ [Fiddle::TYPE_INTPTR_T],
750
+ Fiddle::TYPE_INTPTR_T
751
+ )
752
+ pactffi_provider_state_delete = Fiddle::Function.new(
753
+ lib['pactffi_provider_state_delete'],
754
+ [Fiddle::TYPE_INTPTR_T],
755
+ Fiddle::TYPE_VOID
756
+ )
757
+ pactffi_provider_state_param_iter_delete = Fiddle::Function.new(
758
+ lib['pactffi_provider_state_param_iter_delete'],
759
+ [Fiddle::TYPE_INTPTR_T],
760
+ Fiddle::TYPE_VOID
761
+ )
762
+ pactffi_provider_state_param_pair_delete = Fiddle::Function.new(
763
+ lib['pactffi_provider_state_param_pair_delete'],
764
+ [Fiddle::TYPE_INTPTR_T],
765
+ Fiddle::TYPE_VOID
766
+ )
767
+ pactffi_sync_message_new = Fiddle::Function.new(
768
+ lib['pactffi_sync_message_new'],
769
+ [],
770
+ Fiddle::TYPE_INTPTR_T
771
+ )
772
+ pactffi_sync_message_delete = Fiddle::Function.new(
773
+ lib['pactffi_sync_message_delete'],
774
+ [Fiddle::TYPE_INTPTR_T],
775
+ Fiddle::TYPE_VOID
776
+ )
777
+ pactffi_sync_message_get_request_contents_str = Fiddle::Function.new(
778
+ lib['pactffi_sync_message_get_request_contents_str'],
779
+ [Fiddle::TYPE_INTPTR_T],
780
+ Fiddle::TYPE_VOIDP
781
+ )
782
+ pactffi_sync_message_set_request_contents_str = Fiddle::Function.new(
783
+ lib['pactffi_sync_message_set_request_contents_str'],
784
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
785
+ Fiddle::TYPE_VOID
786
+ )
787
+ pactffi_sync_message_get_request_contents_length = Fiddle::Function.new(
788
+ lib['pactffi_sync_message_get_request_contents_length'],
789
+ [Fiddle::TYPE_INTPTR_T],
790
+ Fiddle::TYPE_SIZE_T
791
+ )
792
+ pactffi_sync_message_get_request_contents_bin = Fiddle::Function.new(
793
+ lib['pactffi_sync_message_get_request_contents_bin'],
794
+ [Fiddle::TYPE_INTPTR_T],
795
+ Fiddle::TYPE_INTPTR_T
796
+ )
797
+ pactffi_sync_message_set_request_contents_bin = Fiddle::Function.new(
798
+ lib['pactffi_sync_message_set_request_contents_bin'],
799
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
800
+ Fiddle::TYPE_VOID
801
+ )
802
+ pactffi_sync_message_get_request_contents = Fiddle::Function.new(
803
+ lib['pactffi_sync_message_get_request_contents'],
804
+ [Fiddle::TYPE_INTPTR_T],
805
+ Fiddle::TYPE_INTPTR_T
806
+ )
807
+ pactffi_sync_message_get_number_responses = Fiddle::Function.new(
808
+ lib['pactffi_sync_message_get_number_responses'],
809
+ [Fiddle::TYPE_INTPTR_T],
810
+ Fiddle::TYPE_SIZE_T
811
+ )
812
+ pactffi_sync_message_get_response_contents_str = Fiddle::Function.new(
813
+ lib['pactffi_sync_message_get_response_contents_str'],
814
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T],
815
+ Fiddle::TYPE_VOIDP
816
+ )
817
+ pactffi_sync_message_set_response_contents_str = Fiddle::Function.new(
818
+ lib['pactffi_sync_message_set_response_contents_str'],
819
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
820
+ Fiddle::TYPE_VOID
821
+ )
822
+ pactffi_sync_message_get_response_contents_length = Fiddle::Function.new(
823
+ lib['pactffi_sync_message_get_response_contents_length'],
824
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T],
825
+ Fiddle::TYPE_SIZE_T
826
+ )
827
+ pactffi_sync_message_get_response_contents_bin = Fiddle::Function.new(
828
+ lib['pactffi_sync_message_get_response_contents_bin'],
829
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T],
830
+ Fiddle::TYPE_INTPTR_T
831
+ )
832
+ pactffi_sync_message_set_response_contents_bin = Fiddle::Function.new(
833
+ lib['pactffi_sync_message_set_response_contents_bin'],
834
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
835
+ Fiddle::TYPE_VOID
836
+ )
837
+ pactffi_sync_message_get_response_contents = Fiddle::Function.new(
838
+ lib['pactffi_sync_message_get_response_contents'],
839
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T],
840
+ Fiddle::TYPE_INTPTR_T
841
+ )
842
+ pactffi_sync_message_get_description = Fiddle::Function.new(
843
+ lib['pactffi_sync_message_get_description'],
844
+ [Fiddle::TYPE_INTPTR_T],
845
+ Fiddle::TYPE_VOIDP
846
+ )
847
+ pactffi_sync_message_set_description = Fiddle::Function.new(
848
+ lib['pactffi_sync_message_set_description'],
849
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
850
+ Fiddle::TYPE_INT32_T
851
+ )
852
+ pactffi_sync_message_get_provider_state = Fiddle::Function.new(
853
+ lib['pactffi_sync_message_get_provider_state'],
854
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT32_T],
855
+ Fiddle::TYPE_INTPTR_T
856
+ )
857
+ pactffi_sync_message_get_provider_state_iter = Fiddle::Function.new(
858
+ lib['pactffi_sync_message_get_provider_state_iter'],
859
+ [Fiddle::TYPE_INTPTR_T],
860
+ Fiddle::TYPE_INTPTR_T
861
+ )
862
+ pactffi_string_delete = Fiddle::Function.new(
863
+ lib['pactffi_string_delete'],
864
+ [Fiddle::TYPE_VOIDP],
865
+ Fiddle::TYPE_VOID
866
+ )
867
+ pactffi_create_mock_server = Fiddle::Function.new(
868
+ lib['pactffi_create_mock_server'],
869
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT],
870
+ Fiddle::TYPE_INT32_T
871
+ )
872
+ pactffi_get_tls_ca_certificate = Fiddle::Function.new(
873
+ lib['pactffi_get_tls_ca_certificate'],
874
+ [],
875
+ Fiddle::TYPE_VOIDP
876
+ )
877
+ pactffi_create_mock_server_for_pact = Fiddle::Function.new(
878
+ lib['pactffi_create_mock_server_for_pact'],
879
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT],
880
+ Fiddle::TYPE_INT32_T
881
+ )
882
+ pactffi_create_mock_server_for_transport = Fiddle::Function.new(
883
+ lib['pactffi_create_mock_server_for_transport'],
884
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
885
+ Fiddle::TYPE_INT32_T
886
+ )
887
+ pactffi_mock_server_matched = Fiddle::Function.new(
888
+ lib['pactffi_mock_server_matched'],
889
+ [Fiddle::TYPE_INT32_T],
890
+ Fiddle::TYPE_INT
891
+ )
892
+ pactffi_mock_server_mismatches = Fiddle::Function.new(
893
+ lib['pactffi_mock_server_mismatches'],
894
+ [Fiddle::TYPE_INT32_T],
895
+ Fiddle::TYPE_VOIDP
896
+ )
897
+ pactffi_cleanup_mock_server = Fiddle::Function.new(
898
+ lib['pactffi_cleanup_mock_server'],
899
+ [Fiddle::TYPE_INT32_T],
900
+ Fiddle::TYPE_INT
901
+ )
902
+ pactffi_write_pact_file = Fiddle::Function.new(
903
+ lib['pactffi_write_pact_file'],
904
+ [Fiddle::TYPE_INT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT],
905
+ Fiddle::TYPE_INT32_T
906
+ )
907
+ pactffi_mock_server_logs = Fiddle::Function.new(
908
+ lib['pactffi_mock_server_logs'],
909
+ [Fiddle::TYPE_INT32_T],
910
+ Fiddle::TYPE_VOIDP
911
+ )
912
+ pactffi_generate_datetime_string = Fiddle::Function.new(
913
+ lib['pactffi_generate_datetime_string'],
914
+ [Fiddle::TYPE_VOIDP],
915
+ Fiddle::TYPE_VOIDP
916
+ )
917
+ pactffi_check_regex = Fiddle::Function.new(
918
+ lib['pactffi_check_regex'],
919
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
920
+ Fiddle::TYPE_INT
921
+ )
922
+ pactffi_generate_regex_value = Fiddle::Function.new(
923
+ lib['pactffi_generate_regex_value'],
924
+ [Fiddle::TYPE_VOIDP],
925
+ Fiddle::TYPE_VOIDP
926
+ )
927
+ pactffi_free_string = Fiddle::Function.new(
928
+ lib['pactffi_free_string'],
929
+ [Fiddle::TYPE_VOIDP],
930
+ Fiddle::TYPE_VOID
931
+ )
932
+ pactffi_new_pact = Fiddle::Function.new(
933
+ lib['pactffi_new_pact'],
934
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
935
+ Fiddle::TYPE_UINT16_T
936
+ )
937
+ pactffi_new_interaction = Fiddle::Function.new(
938
+ lib['pactffi_new_interaction'],
939
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP],
940
+ Fiddle::TYPE_UINT32_T
941
+ )
942
+ pactffi_new_message_interaction = Fiddle::Function.new(
943
+ lib['pactffi_new_message_interaction'],
944
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP],
945
+ Fiddle::TYPE_UINT32_T
946
+ )
947
+ pactffi_new_sync_message_interaction = Fiddle::Function.new(
948
+ lib['pactffi_new_sync_message_interaction'],
949
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP],
950
+ Fiddle::TYPE_UINT32_T
951
+ )
952
+ pactffi_upon_receiving = Fiddle::Function.new(
953
+ lib['pactffi_upon_receiving'],
954
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP],
955
+ Fiddle::TYPE_INT
956
+ )
957
+ pactffi_given = Fiddle::Function.new(
958
+ lib['pactffi_given'],
959
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP],
960
+ Fiddle::TYPE_INT
961
+ )
962
+ pactffi_interaction_test_name = Fiddle::Function.new(
963
+ lib['pactffi_interaction_test_name'],
964
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP],
965
+ Fiddle::TYPE_UINT32_T
966
+ )
967
+ pactffi_given_with_param = Fiddle::Function.new(
968
+ lib['pactffi_given_with_param'],
969
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
970
+ Fiddle::TYPE_INT
971
+ )
972
+ pactffi_with_request = Fiddle::Function.new(
973
+ lib['pactffi_with_request'],
974
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
975
+ Fiddle::TYPE_INT
976
+ )
977
+ pactffi_with_query_parameter = Fiddle::Function.new(
978
+ lib['pactffi_with_query_parameter'],
979
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
980
+ Fiddle::TYPE_INT
981
+ )
982
+ pactffi_with_query_parameter_v2 = Fiddle::Function.new(
983
+ lib['pactffi_with_query_parameter_v2'],
984
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
985
+ Fiddle::TYPE_INT
986
+ )
987
+ pactffi_with_specification = Fiddle::Function.new(
988
+ lib['pactffi_with_specification'],
989
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_INT32_T],
990
+ Fiddle::TYPE_INT
991
+ )
992
+ pactffi_with_pact_metadata = Fiddle::Function.new(
993
+ lib['pactffi_with_pact_metadata'],
994
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
995
+ Fiddle::TYPE_INT
996
+ )
997
+ pactffi_with_header = Fiddle::Function.new(
998
+ lib['pactffi_with_header'],
999
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_INT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
1000
+ Fiddle::TYPE_INT
1001
+ )
1002
+ pactffi_with_header_v2 = Fiddle::Function.new(
1003
+ lib['pactffi_with_header_v2'],
1004
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_INT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_SIZE_T, Fiddle::TYPE_VOIDP],
1005
+ Fiddle::TYPE_INT
1006
+ )
1007
+ pactffi_response_status = Fiddle::Function.new(
1008
+ lib['pactffi_response_status'],
1009
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_UINT16_T],
1010
+ Fiddle::TYPE_INT
1011
+ )
1012
+ pactffi_with_body = Fiddle::Function.new(
1013
+ lib['pactffi_with_body'],
1014
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_INT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1015
+ Fiddle::TYPE_INT
1016
+ )
1017
+ pactffi_with_binary_file = Fiddle::Function.new(
1018
+ lib['pactffi_with_binary_file'],
1019
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_INT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T],
1020
+ Fiddle::TYPE_INT
1021
+ )
1022
+ pactffi_with_multipart_file = Fiddle::Function.new(
1023
+ lib['pactffi_with_multipart_file'],
1024
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_INT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1025
+ Fiddle::TYPE_VOIDP
1026
+ )
1027
+ pactffi_pact_handle_get_message_iter = Fiddle::Function.new(
1028
+ lib['pactffi_pact_handle_get_message_iter'],
1029
+ [Fiddle::TYPE_UINT16_T],
1030
+ Fiddle::TYPE_INTPTR_T
1031
+ )
1032
+ pactffi_pact_handle_get_sync_message_iter = Fiddle::Function.new(
1033
+ lib['pactffi_pact_handle_get_sync_message_iter'],
1034
+ [Fiddle::TYPE_UINT16_T],
1035
+ Fiddle::TYPE_INTPTR_T
1036
+ )
1037
+ pactffi_pact_handle_get_sync_http_iter = Fiddle::Function.new(
1038
+ lib['pactffi_pact_handle_get_sync_http_iter'],
1039
+ [Fiddle::TYPE_UINT16_T],
1040
+ Fiddle::TYPE_INTPTR_T
1041
+ )
1042
+ pactffi_new_message_pact = Fiddle::Function.new(
1043
+ lib['pactffi_new_message_pact'],
1044
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1045
+ Fiddle::TYPE_UINT16_T
1046
+ )
1047
+ pactffi_new_message = Fiddle::Function.new(
1048
+ lib['pactffi_new_message'],
1049
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP],
1050
+ Fiddle::TYPE_UINT32_T
1051
+ )
1052
+ pactffi_message_expects_to_receive = Fiddle::Function.new(
1053
+ lib['pactffi_message_expects_to_receive'],
1054
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP],
1055
+ Fiddle::TYPE_VOID
1056
+ )
1057
+ pactffi_message_given = Fiddle::Function.new(
1058
+ lib['pactffi_message_given'],
1059
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP],
1060
+ Fiddle::TYPE_VOID
1061
+ )
1062
+ pactffi_message_given_with_param = Fiddle::Function.new(
1063
+ lib['pactffi_message_given_with_param'],
1064
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1065
+ Fiddle::TYPE_VOID
1066
+ )
1067
+ pactffi_message_with_contents = Fiddle::Function.new(
1068
+ lib['pactffi_message_with_contents'],
1069
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_SIZE_T],
1070
+ Fiddle::TYPE_VOID
1071
+ )
1072
+ pactffi_message_with_metadata = Fiddle::Function.new(
1073
+ lib['pactffi_message_with_metadata'],
1074
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1075
+ Fiddle::TYPE_VOID
1076
+ )
1077
+ pactffi_message_reify = Fiddle::Function.new(
1078
+ lib['pactffi_message_reify'],
1079
+ [Fiddle::TYPE_UINT32_T],
1080
+ Fiddle::TYPE_VOIDP
1081
+ )
1082
+ pactffi_write_message_pact_file = Fiddle::Function.new(
1083
+ lib['pactffi_write_message_pact_file'],
1084
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT],
1085
+ Fiddle::TYPE_INT32_T
1086
+ )
1087
+ pactffi_with_message_pact_metadata = Fiddle::Function.new(
1088
+ lib['pactffi_with_message_pact_metadata'],
1089
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1090
+ Fiddle::TYPE_VOID
1091
+ )
1092
+ pactffi_pact_handle_write_file = Fiddle::Function.new(
1093
+ lib['pactffi_pact_handle_write_file'],
1094
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT],
1095
+ Fiddle::TYPE_INT32_T
1096
+ )
1097
+ pactffi_new_async_message = Fiddle::Function.new(
1098
+ lib['pactffi_new_async_message'],
1099
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP],
1100
+ Fiddle::TYPE_UINT32_T
1101
+ )
1102
+ pactffi_free_pact_handle = Fiddle::Function.new(
1103
+ lib['pactffi_free_pact_handle'],
1104
+ [Fiddle::TYPE_UINT16_T],
1105
+ Fiddle::TYPE_UINT32_T
1106
+ )
1107
+ pactffi_free_message_pact_handle = Fiddle::Function.new(
1108
+ lib['pactffi_free_message_pact_handle'],
1109
+ [Fiddle::TYPE_UINT16_T],
1110
+ Fiddle::TYPE_UINT32_T
1111
+ )
1112
+ pactffi_verify = Fiddle::Function.new(
1113
+ lib['pactffi_verify'],
1114
+ [Fiddle::TYPE_VOIDP],
1115
+ Fiddle::TYPE_INT32_T
1116
+ )
1117
+ pactffi_verifier_new = Fiddle::Function.new(
1118
+ lib['pactffi_verifier_new'],
1119
+ [],
1120
+ Fiddle::TYPE_INTPTR_T
1121
+ )
1122
+ pactffi_verifier_new_for_application = Fiddle::Function.new(
1123
+ lib['pactffi_verifier_new_for_application'],
1124
+ [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1125
+ Fiddle::TYPE_INTPTR_T
1126
+ )
1127
+ pactffi_verifier_shutdown = Fiddle::Function.new(
1128
+ lib['pactffi_verifier_shutdown'],
1129
+ [Fiddle::TYPE_INTPTR_T],
1130
+ Fiddle::TYPE_VOID
1131
+ )
1132
+ pactffi_verifier_set_provider_info = Fiddle::Function.new(
1133
+ lib['pactffi_verifier_set_provider_info'],
1134
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_UINT16_T,
1135
+ Fiddle::TYPE_VOIDP],
1136
+ Fiddle::TYPE_VOID
1137
+ )
1138
+ pactffi_verifier_add_provider_transport = Fiddle::Function.new(
1139
+ lib['pactffi_verifier_add_provider_transport'],
1140
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1141
+ Fiddle::TYPE_VOID
1142
+ )
1143
+ pactffi_verifier_set_filter_info = Fiddle::Function.new(
1144
+ lib['pactffi_verifier_set_filter_info'],
1145
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_UINT8_T],
1146
+ Fiddle::TYPE_VOID
1147
+ )
1148
+ pactffi_verifier_set_provider_state = Fiddle::Function.new(
1149
+ lib['pactffi_verifier_set_provider_state'],
1150
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_UINT8_T, Fiddle::TYPE_UINT8_T],
1151
+ Fiddle::TYPE_VOID
1152
+ )
1153
+ pactffi_verifier_set_verification_options = Fiddle::Function.new(
1154
+ lib['pactffi_verifier_set_verification_options'],
1155
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT8_T, Fiddle::TYPE_LONG],
1156
+ Fiddle::TYPE_INT32_T
1157
+ )
1158
+ pactffi_verifier_set_coloured_output = Fiddle::Function.new(
1159
+ lib['pactffi_verifier_set_coloured_output'],
1160
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT8_T],
1161
+ Fiddle::TYPE_INT32_T
1162
+ )
1163
+ pactffi_verifier_set_no_pacts_is_error = Fiddle::Function.new(
1164
+ lib['pactffi_verifier_set_no_pacts_is_error'],
1165
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT8_T],
1166
+ Fiddle::TYPE_INT32_T
1167
+ )
1168
+ pactffi_verifier_set_publish_options = Fiddle::Function.new(
1169
+ lib['pactffi_verifier_set_publish_options'],
1170
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT16_T,
1171
+ Fiddle::TYPE_VOIDP],
1172
+ Fiddle::TYPE_INT32_T
1173
+ )
1174
+ pactffi_verifier_set_consumer_filters = Fiddle::Function.new(
1175
+ lib['pactffi_verifier_set_consumer_filters'],
1176
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT16_T],
1177
+ Fiddle::TYPE_VOID
1178
+ )
1179
+ pactffi_verifier_add_custom_header = Fiddle::Function.new(
1180
+ lib['pactffi_verifier_add_custom_header'],
1181
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1182
+ Fiddle::TYPE_VOID
1183
+ )
1184
+ pactffi_verifier_add_file_source = Fiddle::Function.new(
1185
+ lib['pactffi_verifier_add_file_source'],
1186
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
1187
+ Fiddle::TYPE_VOID
1188
+ )
1189
+ pactffi_verifier_add_directory_source = Fiddle::Function.new(
1190
+ lib['pactffi_verifier_add_directory_source'],
1191
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP],
1192
+ Fiddle::TYPE_VOID
1193
+ )
1194
+ pactffi_verifier_url_source = Fiddle::Function.new(
1195
+ lib['pactffi_verifier_url_source'],
1196
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1197
+ Fiddle::TYPE_VOID
1198
+ )
1199
+ pactffi_verifier_broker_source = Fiddle::Function.new(
1200
+ lib['pactffi_verifier_broker_source'],
1201
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1202
+ Fiddle::TYPE_VOID
1203
+ )
1204
+ pactffi_verifier_broker_source_with_selectors = Fiddle::Function.new(
1205
+ lib['pactffi_verifier_broker_source_with_selectors'],
1206
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP,
1207
+ Fiddle::TYPE_UINT8_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT16_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT16_T],
1208
+ Fiddle::TYPE_VOID
1209
+ )
1210
+ pactffi_verifier_execute = Fiddle::Function.new(
1211
+ lib['pactffi_verifier_execute'],
1212
+ [Fiddle::TYPE_INTPTR_T],
1213
+ Fiddle::TYPE_INT32_T
1214
+ )
1215
+ pactffi_verifier_cli_args = Fiddle::Function.new(
1216
+ lib['pactffi_verifier_cli_args'],
1217
+ [],
1218
+ Fiddle::TYPE_VOIDP
1219
+ )
1220
+ pactffi_verifier_logs = Fiddle::Function.new(
1221
+ lib['pactffi_verifier_logs'],
1222
+ [Fiddle::TYPE_INTPTR_T],
1223
+ Fiddle::TYPE_VOIDP
1224
+ )
1225
+ pactffi_verifier_logs_for_provider = Fiddle::Function.new(
1226
+ lib['pactffi_verifier_logs_for_provider'],
1227
+ [Fiddle::TYPE_VOIDP],
1228
+ Fiddle::TYPE_VOIDP
1229
+ )
1230
+ pactffi_verifier_output = Fiddle::Function.new(
1231
+ lib['pactffi_verifier_output'],
1232
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT8_T],
1233
+ Fiddle::TYPE_VOIDP
1234
+ )
1235
+ pactffi_verifier_json = Fiddle::Function.new(
1236
+ lib['pactffi_verifier_json'],
1237
+ [Fiddle::TYPE_INTPTR_T],
1238
+ Fiddle::TYPE_VOIDP
1239
+ )
1240
+ pactffi_using_plugin = Fiddle::Function.new(
1241
+ lib['pactffi_using_plugin'],
1242
+ [Fiddle::TYPE_UINT16_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1243
+ Fiddle::TYPE_UINT32_T
1244
+ )
1245
+ pactffi_cleanup_plugins = Fiddle::Function.new(
1246
+ lib['pactffi_cleanup_plugins'],
1247
+ [Fiddle::TYPE_UINT16_T],
1248
+ Fiddle::TYPE_VOID
1249
+ )
1250
+ pactffi_interaction_contents = Fiddle::Function.new(
1251
+ lib['pactffi_interaction_contents'],
1252
+ [Fiddle::TYPE_UINT32_T, Fiddle::TYPE_INT32_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
1253
+ Fiddle::TYPE_UINT32_T
1254
+ )
1255
+ pactffi_matches_string_value = Fiddle::Function.new(
1256
+ lib['pactffi_matches_string_value'],
1257
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_UINT8_T],
1258
+ Fiddle::TYPE_VOIDP
1259
+ )
1260
+ pactffi_matches_u64_value = Fiddle::Function.new(
1261
+ lib['pactffi_matches_u64_value'],
1262
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_LONG, Fiddle::TYPE_LONG, Fiddle::TYPE_UINT8_T],
1263
+ Fiddle::TYPE_VOIDP
1264
+ )
1265
+ pactffi_matches_i64_value = Fiddle::Function.new(
1266
+ lib['pactffi_matches_i64_value'],
1267
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_LONG, Fiddle::TYPE_LONG, Fiddle::TYPE_UINT8_T],
1268
+ Fiddle::TYPE_VOIDP
1269
+ )
1270
+ pactffi_matches_f64_value = Fiddle::Function.new(
1271
+ lib['pactffi_matches_f64_value'],
1272
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE, Fiddle::TYPE_UINT8_T],
1273
+ Fiddle::TYPE_VOIDP
1274
+ )
1275
+ pactffi_matches_bool_value = Fiddle::Function.new(
1276
+ lib['pactffi_matches_bool_value'],
1277
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_UINT8_T, Fiddle::TYPE_UINT8_T, Fiddle::TYPE_UINT8_T],
1278
+ Fiddle::TYPE_VOIDP
1279
+ )
1280
+ pactffi_matches_binary_value = Fiddle::Function.new(
1281
+ lib['pactffi_matches_binary_value'],
1282
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_LONG, Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_LONG,
1283
+ Fiddle::TYPE_UINT8_T],
1284
+ Fiddle::TYPE_VOIDP
1285
+ )
1286
+ pactffi_matches_json_value = Fiddle::Function.new(
1287
+ lib['pactffi_matches_json_value'],
1288
+ [Fiddle::TYPE_INTPTR_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_UINT8_T],
1289
+ Fiddle::TYPE_VOIDP
1290
+ )
1291
+
1292
+ puts pactffi_version.call