1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
/* automatically generated by rust-bindgen 0.55.1 */

pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type size_t = ::std::os::raw::c_ulong;
pub type FILE = _IO_FILE;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_marker {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_codecvt {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_wide_data {
    _unused: [u8; 0],
}
pub type _IO_lock_t = ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_FILE {
    pub _flags: ::std::os::raw::c_int,
    pub _IO_read_ptr: *mut ::std::os::raw::c_char,
    pub _IO_read_end: *mut ::std::os::raw::c_char,
    pub _IO_read_base: *mut ::std::os::raw::c_char,
    pub _IO_write_base: *mut ::std::os::raw::c_char,
    pub _IO_write_ptr: *mut ::std::os::raw::c_char,
    pub _IO_write_end: *mut ::std::os::raw::c_char,
    pub _IO_buf_base: *mut ::std::os::raw::c_char,
    pub _IO_buf_end: *mut ::std::os::raw::c_char,
    pub _IO_save_base: *mut ::std::os::raw::c_char,
    pub _IO_backup_base: *mut ::std::os::raw::c_char,
    pub _IO_save_end: *mut ::std::os::raw::c_char,
    pub _markers: *mut _IO_marker,
    pub _chain: *mut _IO_FILE,
    pub _fileno: ::std::os::raw::c_int,
    pub _flags2: ::std::os::raw::c_int,
    pub _old_offset: __off_t,
    pub _cur_column: ::std::os::raw::c_ushort,
    pub _vtable_offset: ::std::os::raw::c_schar,
    pub _shortbuf: [::std::os::raw::c_char; 1usize],
    pub _lock: *mut _IO_lock_t,
    pub _offset: __off64_t,
    pub _codecvt: *mut _IO_codecvt,
    pub _wide_data: *mut _IO_wide_data,
    pub _freeres_list: *mut _IO_FILE,
    pub _freeres_buf: *mut ::std::os::raw::c_void,
    pub __pad5: size_t,
    pub _mode: ::std::os::raw::c_int,
    pub _unused2: [::std::os::raw::c_char; 20usize],
}
#[test]
fn bindgen_test_layout__IO_FILE() {
    assert_eq!(
        ::std::mem::size_of::<_IO_FILE>(),
        216usize,
        concat!("Size of: ", stringify!(_IO_FILE))
    );
    assert_eq!(
        ::std::mem::align_of::<_IO_FILE>(),
        8usize,
        concat!("Alignment of ", stringify!(_IO_FILE))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_flags)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_read_ptr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_read_end)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
        24usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_read_base)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
        32usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_write_base)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
        40usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_write_ptr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
        48usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_write_end)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
        56usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_buf_base)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
        64usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_buf_end)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
        72usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_save_base)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
        80usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_backup_base)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
        88usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_IO_save_end)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
        96usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_markers)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
        104usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_chain)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
        112usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_fileno)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
        116usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_flags2)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
        120usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_old_offset)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
        128usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_cur_column)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
        130usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_vtable_offset)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
        131usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_shortbuf)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
        136usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_lock)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
        144usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_offset)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
        152usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_codecvt)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
        160usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_wide_data)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
        168usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_freeres_list)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
        176usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_freeres_buf)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
        184usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(__pad5)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
        192usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_mode)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
        196usize,
        concat!(
            "Offset of field: ",
            stringify!(_IO_FILE),
            "::",
            stringify!(_unused2)
        )
    );
}
extern "C" {
    pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn fopen(
        __filename: *const ::std::os::raw::c_char,
        __modes: *const ::std::os::raw::c_char,
    ) -> *mut FILE;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Btor2Parser {
    _unused: [u8; 0],
}
pub const Btor2Tag_BTOR2_TAG_add: Btor2Tag = 0;
pub const Btor2Tag_BTOR2_TAG_and: Btor2Tag = 1;
pub const Btor2Tag_BTOR2_TAG_bad: Btor2Tag = 2;
pub const Btor2Tag_BTOR2_TAG_concat: Btor2Tag = 3;
pub const Btor2Tag_BTOR2_TAG_const: Btor2Tag = 4;
pub const Btor2Tag_BTOR2_TAG_constraint: Btor2Tag = 5;
pub const Btor2Tag_BTOR2_TAG_constd: Btor2Tag = 6;
pub const Btor2Tag_BTOR2_TAG_consth: Btor2Tag = 7;
pub const Btor2Tag_BTOR2_TAG_dec: Btor2Tag = 8;
pub const Btor2Tag_BTOR2_TAG_eq: Btor2Tag = 9;
pub const Btor2Tag_BTOR2_TAG_fair: Btor2Tag = 10;
pub const Btor2Tag_BTOR2_TAG_iff: Btor2Tag = 11;
pub const Btor2Tag_BTOR2_TAG_implies: Btor2Tag = 12;
pub const Btor2Tag_BTOR2_TAG_inc: Btor2Tag = 13;
pub const Btor2Tag_BTOR2_TAG_init: Btor2Tag = 14;
pub const Btor2Tag_BTOR2_TAG_input: Btor2Tag = 15;
pub const Btor2Tag_BTOR2_TAG_ite: Btor2Tag = 16;
pub const Btor2Tag_BTOR2_TAG_justice: Btor2Tag = 17;
pub const Btor2Tag_BTOR2_TAG_mul: Btor2Tag = 18;
pub const Btor2Tag_BTOR2_TAG_nand: Btor2Tag = 19;
pub const Btor2Tag_BTOR2_TAG_neq: Btor2Tag = 20;
pub const Btor2Tag_BTOR2_TAG_neg: Btor2Tag = 21;
pub const Btor2Tag_BTOR2_TAG_next: Btor2Tag = 22;
pub const Btor2Tag_BTOR2_TAG_nor: Btor2Tag = 23;
pub const Btor2Tag_BTOR2_TAG_not: Btor2Tag = 24;
pub const Btor2Tag_BTOR2_TAG_one: Btor2Tag = 25;
pub const Btor2Tag_BTOR2_TAG_ones: Btor2Tag = 26;
pub const Btor2Tag_BTOR2_TAG_or: Btor2Tag = 27;
pub const Btor2Tag_BTOR2_TAG_output: Btor2Tag = 28;
pub const Btor2Tag_BTOR2_TAG_read: Btor2Tag = 29;
pub const Btor2Tag_BTOR2_TAG_redand: Btor2Tag = 30;
pub const Btor2Tag_BTOR2_TAG_redor: Btor2Tag = 31;
pub const Btor2Tag_BTOR2_TAG_redxor: Btor2Tag = 32;
pub const Btor2Tag_BTOR2_TAG_rol: Btor2Tag = 33;
pub const Btor2Tag_BTOR2_TAG_ror: Btor2Tag = 34;
pub const Btor2Tag_BTOR2_TAG_saddo: Btor2Tag = 35;
pub const Btor2Tag_BTOR2_TAG_sdiv: Btor2Tag = 36;
pub const Btor2Tag_BTOR2_TAG_sdivo: Btor2Tag = 37;
pub const Btor2Tag_BTOR2_TAG_sext: Btor2Tag = 38;
pub const Btor2Tag_BTOR2_TAG_sgt: Btor2Tag = 39;
pub const Btor2Tag_BTOR2_TAG_sgte: Btor2Tag = 40;
pub const Btor2Tag_BTOR2_TAG_slice: Btor2Tag = 41;
pub const Btor2Tag_BTOR2_TAG_sll: Btor2Tag = 42;
pub const Btor2Tag_BTOR2_TAG_slt: Btor2Tag = 43;
pub const Btor2Tag_BTOR2_TAG_slte: Btor2Tag = 44;
pub const Btor2Tag_BTOR2_TAG_sort: Btor2Tag = 45;
pub const Btor2Tag_BTOR2_TAG_smod: Btor2Tag = 46;
pub const Btor2Tag_BTOR2_TAG_smulo: Btor2Tag = 47;
pub const Btor2Tag_BTOR2_TAG_sra: Btor2Tag = 48;
pub const Btor2Tag_BTOR2_TAG_srem: Btor2Tag = 49;
pub const Btor2Tag_BTOR2_TAG_srl: Btor2Tag = 50;
pub const Btor2Tag_BTOR2_TAG_ssubo: Btor2Tag = 51;
pub const Btor2Tag_BTOR2_TAG_state: Btor2Tag = 52;
pub const Btor2Tag_BTOR2_TAG_sub: Btor2Tag = 53;
pub const Btor2Tag_BTOR2_TAG_uaddo: Btor2Tag = 54;
pub const Btor2Tag_BTOR2_TAG_udiv: Btor2Tag = 55;
pub const Btor2Tag_BTOR2_TAG_uext: Btor2Tag = 56;
pub const Btor2Tag_BTOR2_TAG_ugt: Btor2Tag = 57;
pub const Btor2Tag_BTOR2_TAG_ugte: Btor2Tag = 58;
pub const Btor2Tag_BTOR2_TAG_ult: Btor2Tag = 59;
pub const Btor2Tag_BTOR2_TAG_ulte: Btor2Tag = 60;
pub const Btor2Tag_BTOR2_TAG_umulo: Btor2Tag = 61;
pub const Btor2Tag_BTOR2_TAG_urem: Btor2Tag = 62;
pub const Btor2Tag_BTOR2_TAG_usubo: Btor2Tag = 63;
pub const Btor2Tag_BTOR2_TAG_write: Btor2Tag = 64;
pub const Btor2Tag_BTOR2_TAG_xnor: Btor2Tag = 65;
pub const Btor2Tag_BTOR2_TAG_xor: Btor2Tag = 66;
pub const Btor2Tag_BTOR2_TAG_zero: Btor2Tag = 67;
#[doc = " BTOR2 tags can be used for fast(er) traversal and operations on BTOR2"]
#[doc = " format lines, e.g., in a switch statement in client code."]
#[doc = " Alternatively, client code can use the name of the BTOR2 tag, which is a C"]
#[doc = " string (redundantly) contained in the format line. Note that this requires"]
#[doc = " string comparisons and is therefore slower even if client code uses an"]
#[doc = " additional hash table."]
pub type Btor2Tag = ::std::os::raw::c_uint;
pub const Btor2SortTag_BTOR2_TAG_SORT_array: Btor2SortTag = 0;
pub const Btor2SortTag_BTOR2_TAG_SORT_bitvec: Btor2SortTag = 1;
pub type Btor2SortTag = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct Btor2Sort {
    pub id: i64,
    pub tag: Btor2SortTag,
    pub name: *const ::std::os::raw::c_char,
    pub __bindgen_anon_1: Btor2Sort__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union Btor2Sort__bindgen_ty_1 {
    pub array: Btor2Sort__bindgen_ty_1__bindgen_ty_1,
    pub bitvec: Btor2Sort__bindgen_ty_1__bindgen_ty_2,
    _bindgen_union_align: [u64; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Btor2Sort__bindgen_ty_1__bindgen_ty_1 {
    pub index: i64,
    pub element: i64,
}
#[test]
fn bindgen_test_layout_Btor2Sort__bindgen_ty_1__bindgen_ty_1() {
    assert_eq!(
        ::std::mem::size_of::<Btor2Sort__bindgen_ty_1__bindgen_ty_1>(),
        16usize,
        concat!(
            "Size of: ",
            stringify!(Btor2Sort__bindgen_ty_1__bindgen_ty_1)
        )
    );
    assert_eq!(
        ::std::mem::align_of::<Btor2Sort__bindgen_ty_1__bindgen_ty_1>(),
        8usize,
        concat!(
            "Alignment of ",
            stringify!(Btor2Sort__bindgen_ty_1__bindgen_ty_1)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<Btor2Sort__bindgen_ty_1__bindgen_ty_1>())).index as *const _
                as usize
        },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort__bindgen_ty_1__bindgen_ty_1),
            "::",
            stringify!(index)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<Btor2Sort__bindgen_ty_1__bindgen_ty_1>())).element as *const _
                as usize
        },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort__bindgen_ty_1__bindgen_ty_1),
            "::",
            stringify!(element)
        )
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Btor2Sort__bindgen_ty_1__bindgen_ty_2 {
    pub width: u32,
}
#[test]
fn bindgen_test_layout_Btor2Sort__bindgen_ty_1__bindgen_ty_2() {
    assert_eq!(
        ::std::mem::size_of::<Btor2Sort__bindgen_ty_1__bindgen_ty_2>(),
        4usize,
        concat!(
            "Size of: ",
            stringify!(Btor2Sort__bindgen_ty_1__bindgen_ty_2)
        )
    );
    assert_eq!(
        ::std::mem::align_of::<Btor2Sort__bindgen_ty_1__bindgen_ty_2>(),
        4usize,
        concat!(
            "Alignment of ",
            stringify!(Btor2Sort__bindgen_ty_1__bindgen_ty_2)
        )
    );
    assert_eq!(
        unsafe {
            &(*(::std::ptr::null::<Btor2Sort__bindgen_ty_1__bindgen_ty_2>())).width as *const _
                as usize
        },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort__bindgen_ty_1__bindgen_ty_2),
            "::",
            stringify!(width)
        )
    );
}
#[test]
fn bindgen_test_layout_Btor2Sort__bindgen_ty_1() {
    assert_eq!(
        ::std::mem::size_of::<Btor2Sort__bindgen_ty_1>(),
        16usize,
        concat!("Size of: ", stringify!(Btor2Sort__bindgen_ty_1))
    );
    assert_eq!(
        ::std::mem::align_of::<Btor2Sort__bindgen_ty_1>(),
        8usize,
        concat!("Alignment of ", stringify!(Btor2Sort__bindgen_ty_1))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Sort__bindgen_ty_1>())).array as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort__bindgen_ty_1),
            "::",
            stringify!(array)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Sort__bindgen_ty_1>())).bitvec as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort__bindgen_ty_1),
            "::",
            stringify!(bitvec)
        )
    );
}
#[test]
fn bindgen_test_layout_Btor2Sort() {
    assert_eq!(
        ::std::mem::size_of::<Btor2Sort>(),
        40usize,
        concat!("Size of: ", stringify!(Btor2Sort))
    );
    assert_eq!(
        ::std::mem::align_of::<Btor2Sort>(),
        8usize,
        concat!("Alignment of ", stringify!(Btor2Sort))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Sort>())).id as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort),
            "::",
            stringify!(id)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Sort>())).tag as *const _ as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort),
            "::",
            stringify!(tag)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Sort>())).name as *const _ as usize },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Sort),
            "::",
            stringify!(name)
        )
    );
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct Btor2Line {
    pub id: i64,
    pub lineno: i64,
    pub name: *const ::std::os::raw::c_char,
    pub tag: Btor2Tag,
    pub sort: Btor2Sort,
    pub init: i64,
    pub next: i64,
    pub constant: *mut ::std::os::raw::c_char,
    pub symbol: *mut ::std::os::raw::c_char,
    pub nargs: u32,
    pub args: *mut i64,
}
#[test]
fn bindgen_test_layout_Btor2Line() {
    assert_eq!(
        ::std::mem::size_of::<Btor2Line>(),
        120usize,
        concat!("Size of: ", stringify!(Btor2Line))
    );
    assert_eq!(
        ::std::mem::align_of::<Btor2Line>(),
        8usize,
        concat!("Alignment of ", stringify!(Btor2Line))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).id as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(id)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).lineno as *const _ as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(lineno)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).name as *const _ as usize },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(name)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).tag as *const _ as usize },
        24usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(tag)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).sort as *const _ as usize },
        32usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(sort)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).init as *const _ as usize },
        72usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(init)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).next as *const _ as usize },
        80usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(next)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).constant as *const _ as usize },
        88usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(constant)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).symbol as *const _ as usize },
        96usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(symbol)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).nargs as *const _ as usize },
        104usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(nargs)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2Line>())).args as *const _ as usize },
        112usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2Line),
            "::",
            stringify!(args)
        )
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Btor2LineIterator {
    pub reader: *mut Btor2Parser,
    pub next: i64,
}
#[test]
fn bindgen_test_layout_Btor2LineIterator() {
    assert_eq!(
        ::std::mem::size_of::<Btor2LineIterator>(),
        16usize,
        concat!("Size of: ", stringify!(Btor2LineIterator))
    );
    assert_eq!(
        ::std::mem::align_of::<Btor2LineIterator>(),
        8usize,
        concat!("Alignment of ", stringify!(Btor2LineIterator))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2LineIterator>())).reader as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2LineIterator),
            "::",
            stringify!(reader)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<Btor2LineIterator>())).next as *const _ as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(Btor2LineIterator),
            "::",
            stringify!(next)
        )
    );
}
extern "C" {
    pub fn btor2parser_new() -> *mut Btor2Parser;
}
extern "C" {
    pub fn btor2parser_delete(arg1: *mut Btor2Parser);
}
extern "C" {
    pub fn btor2parser_read_lines(arg1: *mut Btor2Parser, arg2: *mut FILE) -> i32;
}
extern "C" {
    pub fn btor2parser_error(arg1: *mut Btor2Parser) -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn btor2parser_iter_init(bfr: *mut Btor2Parser) -> Btor2LineIterator;
}
extern "C" {
    pub fn btor2parser_iter_next(arg1: *mut Btor2LineIterator) -> *mut Btor2Line;
}
extern "C" {
    pub fn btor2parser_max_id(arg1: *mut Btor2Parser) -> i64;
}
extern "C" {
    pub fn btor2parser_get_line_by_id(arg1: *mut Btor2Parser, id: i64) -> *mut Btor2Line;
}