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
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
/* automatically generated by rust-bindgen 0.66.1 */

pub const _STDINT_H: u32 = 1;
pub const _FEATURES_H: u32 = 1;
pub const _DEFAULT_SOURCE: u32 = 1;
pub const __GLIBC_USE_ISOC2X: u32 = 0;
pub const __USE_ISOC11: u32 = 1;
pub const __USE_ISOC99: u32 = 1;
pub const __USE_ISOC95: u32 = 1;
pub const __USE_POSIX_IMPLICITLY: u32 = 1;
pub const _POSIX_SOURCE: u32 = 1;
pub const _POSIX_C_SOURCE: u32 = 200809;
pub const __USE_POSIX: u32 = 1;
pub const __USE_POSIX2: u32 = 1;
pub const __USE_POSIX199309: u32 = 1;
pub const __USE_POSIX199506: u32 = 1;
pub const __USE_XOPEN2K: u32 = 1;
pub const __USE_XOPEN2K8: u32 = 1;
pub const _ATFILE_SOURCE: u32 = 1;
pub const __WORDSIZE: u32 = 64;
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
pub const __SYSCALL_WORDSIZE: u32 = 64;
pub const __TIMESIZE: u32 = 64;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_FORTIFY_LEVEL: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
pub const __GLIBC_USE_C2X_STRTOL: u32 = 0;
pub const _STDC_PREDEF_H: u32 = 1;
pub const __STDC_IEC_559__: u32 = 1;
pub const __STDC_IEC_60559_BFP__: u32 = 201404;
pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
pub const __STDC_ISO_10646__: u32 = 201706;
pub const __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
pub const __GLIBC_MINOR__: u32 = 38;
pub const _SYS_CDEFS_H: u32 = 1;
pub const __glibc_c99_flexarr_available: u32 = 1;
pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0;
pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
pub const _BITS_TYPES_H: u32 = 1;
pub const _BITS_TYPESIZES_H: u32 = 1;
pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
pub const __INO_T_MATCHES_INO64_T: u32 = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
pub const __STATFS_MATCHES_STATFS64: u32 = 1;
pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
pub const _BITS_WCHAR_H: u32 = 1;
pub const _BITS_STDINT_INTN_H: u32 = 1;
pub const _BITS_STDINT_UINTN_H: u32 = 1;
pub const INT8_MIN: i32 = -128;
pub const INT16_MIN: i32 = -32768;
pub const INT32_MIN: i32 = -2147483648;
pub const INT8_MAX: u32 = 127;
pub const INT16_MAX: u32 = 32767;
pub const INT32_MAX: u32 = 2147483647;
pub const UINT8_MAX: u32 = 255;
pub const UINT16_MAX: u32 = 65535;
pub const UINT32_MAX: u32 = 4294967295;
pub const INT_LEAST8_MIN: i32 = -128;
pub const INT_LEAST16_MIN: i32 = -32768;
pub const INT_LEAST32_MIN: i32 = -2147483648;
pub const INT_LEAST8_MAX: u32 = 127;
pub const INT_LEAST16_MAX: u32 = 32767;
pub const INT_LEAST32_MAX: u32 = 2147483647;
pub const UINT_LEAST8_MAX: u32 = 255;
pub const UINT_LEAST16_MAX: u32 = 65535;
pub const UINT_LEAST32_MAX: u32 = 4294967295;
pub const INT_FAST8_MIN: i32 = -128;
pub const INT_FAST16_MIN: i64 = -9223372036854775808;
pub const INT_FAST32_MIN: i64 = -9223372036854775808;
pub const INT_FAST8_MAX: u32 = 127;
pub const INT_FAST16_MAX: u64 = 9223372036854775807;
pub const INT_FAST32_MAX: u64 = 9223372036854775807;
pub const UINT_FAST8_MAX: u32 = 255;
pub const UINT_FAST16_MAX: i32 = -1;
pub const UINT_FAST32_MAX: i32 = -1;
pub const INTPTR_MIN: i64 = -9223372036854775808;
pub const INTPTR_MAX: u64 = 9223372036854775807;
pub const UINTPTR_MAX: i32 = -1;
pub const PTRDIFF_MIN: i64 = -9223372036854775808;
pub const PTRDIFF_MAX: u64 = 9223372036854775807;
pub const SIG_ATOMIC_MIN: i32 = -2147483648;
pub const SIG_ATOMIC_MAX: u32 = 2147483647;
pub const SIZE_MAX: i32 = -1;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 4294967295;
pub const ChangeFlagNone: u32 = 0;
pub const ChangeFlagPath: u32 = 1;
pub const ChangeFlagPaint: u32 = 16;
pub const ChangeFlagAll: u32 = 0;
pub type wchar_t = ::core::ffi::c_int;
#[repr(C)]
#[repr(align(16))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
    pub __clang_max_align_nonce1: ::core::ffi::c_longlong,
    pub __bindgen_padding_0: u64,
    pub __clang_max_align_nonce2: u128,
}
#[test]
fn bindgen_test_layout_max_align_t() {
    const UNINIT: ::core::mem::MaybeUninit<max_align_t> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < max_align_t > (), 32usize, concat!("Size of: ",
        stringify!(max_align_t))
    );
    assert_eq!(
        ::core::mem::align_of:: < max_align_t > (), 16usize, concat!("Alignment of ",
        stringify!(max_align_t))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).__clang_max_align_nonce1) as usize - ptr
        as usize }, 0usize, concat!("Offset of field: ", stringify!(max_align_t), "::",
        stringify!(__clang_max_align_nonce1))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).__clang_max_align_nonce2) as usize - ptr
        as usize }, 16usize, concat!("Offset of field: ", stringify!(max_align_t), "::",
        stringify!(__clang_max_align_nonce2))
    );
}
pub type __u_char = ::core::ffi::c_uchar;
pub type __u_short = ::core::ffi::c_ushort;
pub type __u_int = ::core::ffi::c_uint;
pub type __u_long = ::core::ffi::c_ulong;
pub type __int8_t = ::core::ffi::c_schar;
pub type __uint8_t = ::core::ffi::c_uchar;
pub type __int16_t = ::core::ffi::c_short;
pub type __uint16_t = ::core::ffi::c_ushort;
pub type __int32_t = ::core::ffi::c_int;
pub type __uint32_t = ::core::ffi::c_uint;
pub type __int64_t = ::core::ffi::c_long;
pub type __uint64_t = ::core::ffi::c_ulong;
pub type __int_least8_t = __int8_t;
pub type __uint_least8_t = __uint8_t;
pub type __int_least16_t = __int16_t;
pub type __uint_least16_t = __uint16_t;
pub type __int_least32_t = __int32_t;
pub type __uint_least32_t = __uint32_t;
pub type __int_least64_t = __int64_t;
pub type __uint_least64_t = __uint64_t;
pub type __quad_t = ::core::ffi::c_long;
pub type __u_quad_t = ::core::ffi::c_ulong;
pub type __intmax_t = ::core::ffi::c_long;
pub type __uintmax_t = ::core::ffi::c_ulong;
pub type __dev_t = ::core::ffi::c_ulong;
pub type __uid_t = ::core::ffi::c_uint;
pub type __gid_t = ::core::ffi::c_uint;
pub type __ino_t = ::core::ffi::c_ulong;
pub type __ino64_t = ::core::ffi::c_ulong;
pub type __mode_t = ::core::ffi::c_uint;
pub type __nlink_t = ::core::ffi::c_ulong;
pub type __off_t = ::core::ffi::c_long;
pub type __off64_t = ::core::ffi::c_long;
pub type __pid_t = ::core::ffi::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __fsid_t {
    pub __val: [::core::ffi::c_int; 2usize],
}
#[test]
fn bindgen_test_layout___fsid_t() {
    const UNINIT: ::core::mem::MaybeUninit<__fsid_t> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < __fsid_t > (), 8usize, concat!("Size of: ",
        stringify!(__fsid_t))
    );
    assert_eq!(
        ::core::mem::align_of:: < __fsid_t > (), 4usize, concat!("Alignment of ",
        stringify!(__fsid_t))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).__val) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(__fsid_t), "::", stringify!(__val))
    );
}
pub type __clock_t = ::core::ffi::c_long;
pub type __rlim_t = ::core::ffi::c_ulong;
pub type __rlim64_t = ::core::ffi::c_ulong;
pub type __id_t = ::core::ffi::c_uint;
pub type __time_t = ::core::ffi::c_long;
pub type __useconds_t = ::core::ffi::c_uint;
pub type __suseconds_t = ::core::ffi::c_long;
pub type __suseconds64_t = ::core::ffi::c_long;
pub type __daddr_t = ::core::ffi::c_int;
pub type __key_t = ::core::ffi::c_int;
pub type __clockid_t = ::core::ffi::c_int;
pub type __timer_t = *mut ::core::ffi::c_void;
pub type __blksize_t = ::core::ffi::c_long;
pub type __blkcnt_t = ::core::ffi::c_long;
pub type __blkcnt64_t = ::core::ffi::c_long;
pub type __fsblkcnt_t = ::core::ffi::c_ulong;
pub type __fsblkcnt64_t = ::core::ffi::c_ulong;
pub type __fsfilcnt_t = ::core::ffi::c_ulong;
pub type __fsfilcnt64_t = ::core::ffi::c_ulong;
pub type __fsword_t = ::core::ffi::c_long;
pub type __ssize_t = ::core::ffi::c_long;
pub type __syscall_slong_t = ::core::ffi::c_long;
pub type __syscall_ulong_t = ::core::ffi::c_ulong;
pub type __loff_t = __off64_t;
pub type __caddr_t = *mut ::core::ffi::c_char;
pub type __intptr_t = ::core::ffi::c_long;
pub type __socklen_t = ::core::ffi::c_uint;
pub type __sig_atomic_t = ::core::ffi::c_int;
pub type int_least8_t = __int_least8_t;
pub type int_least16_t = __int_least16_t;
pub type int_least32_t = __int_least32_t;
pub type int_least64_t = __int_least64_t;
pub type uint_least8_t = __uint_least8_t;
pub type uint_least16_t = __uint_least16_t;
pub type uint_least32_t = __uint_least32_t;
pub type uint_least64_t = __uint_least64_t;
pub type int_fast8_t = ::core::ffi::c_schar;
pub type int_fast16_t = ::core::ffi::c_long;
pub type int_fast32_t = ::core::ffi::c_long;
pub type int_fast64_t = ::core::ffi::c_long;
pub type uint_fast8_t = ::core::ffi::c_uchar;
pub type uint_fast16_t = ::core::ffi::c_ulong;
pub type uint_fast32_t = ::core::ffi::c_ulong;
pub type uint_fast64_t = ::core::ffi::c_ulong;
pub type intmax_t = __intmax_t;
pub type uintmax_t = __uintmax_t;
impl LOTBrushType {
    pub const BrushSolid: LOTBrushType = LOTBrushType(0);
}
impl LOTBrushType {
    pub const BrushGradient: LOTBrushType = LOTBrushType(1);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct LOTBrushType(pub ::core::ffi::c_uint);
impl LOTFillRule {
    pub const FillEvenOdd: LOTFillRule = LOTFillRule(0);
}
impl LOTFillRule {
    pub const FillWinding: LOTFillRule = LOTFillRule(1);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct LOTFillRule(pub ::core::ffi::c_uint);
impl LOTJoinStyle {
    pub const JoinMiter: LOTJoinStyle = LOTJoinStyle(0);
}
impl LOTJoinStyle {
    pub const JoinBevel: LOTJoinStyle = LOTJoinStyle(1);
}
impl LOTJoinStyle {
    pub const JoinRound: LOTJoinStyle = LOTJoinStyle(2);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct LOTJoinStyle(pub ::core::ffi::c_uint);
impl LOTCapStyle {
    pub const CapFlat: LOTCapStyle = LOTCapStyle(0);
}
impl LOTCapStyle {
    pub const CapSquare: LOTCapStyle = LOTCapStyle(1);
}
impl LOTCapStyle {
    pub const CapRound: LOTCapStyle = LOTCapStyle(2);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct LOTCapStyle(pub ::core::ffi::c_uint);
impl LOTGradientType {
    pub const GradientLinear: LOTGradientType = LOTGradientType(0);
}
impl LOTGradientType {
    pub const GradientRadial: LOTGradientType = LOTGradientType(1);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct LOTGradientType(pub ::core::ffi::c_uint);
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTGradientStop {
    pub pos: f32,
    pub r: ::core::ffi::c_uchar,
    pub g: ::core::ffi::c_uchar,
    pub b: ::core::ffi::c_uchar,
    pub a: ::core::ffi::c_uchar,
}
#[test]
fn bindgen_test_layout_LOTGradientStop() {
    const UNINIT: ::core::mem::MaybeUninit<LOTGradientStop> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTGradientStop > (), 8usize, concat!("Size of: ",
        stringify!(LOTGradientStop))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTGradientStop > (), 4usize, concat!("Alignment of ",
        stringify!(LOTGradientStop))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).pos) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTGradientStop), "::", stringify!(pos))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).r) as usize - ptr as usize }, 4usize,
        concat!("Offset of field: ", stringify!(LOTGradientStop), "::", stringify!(r))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).g) as usize - ptr as usize }, 5usize,
        concat!("Offset of field: ", stringify!(LOTGradientStop), "::", stringify!(g))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).b) as usize - ptr as usize }, 6usize,
        concat!("Offset of field: ", stringify!(LOTGradientStop), "::", stringify!(b))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).a) as usize - ptr as usize }, 7usize,
        concat!("Offset of field: ", stringify!(LOTGradientStop), "::", stringify!(a))
    );
}
impl LOTMaskType {
    pub const MaskAdd: LOTMaskType = LOTMaskType(0);
}
impl LOTMaskType {
    pub const MaskSubstract: LOTMaskType = LOTMaskType(1);
}
impl LOTMaskType {
    pub const MaskIntersect: LOTMaskType = LOTMaskType(2);
}
impl LOTMaskType {
    pub const MaskDifference: LOTMaskType = LOTMaskType(3);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct LOTMaskType(pub ::core::ffi::c_uint);
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTMask {
    pub mPath: LOTMask__bindgen_ty_1,
    pub mMode: LOTMaskType,
    pub mAlpha: ::core::ffi::c_uchar,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTMask__bindgen_ty_1 {
    pub ptPtr: *const f32,
    pub ptCount: usize,
    pub elmPtr: *const ::core::ffi::c_char,
    pub elmCount: usize,
}
#[test]
fn bindgen_test_layout_LOTMask__bindgen_ty_1() {
    const UNINIT: ::core::mem::MaybeUninit<LOTMask__bindgen_ty_1> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTMask__bindgen_ty_1 > (), 32usize,
        concat!("Size of: ", stringify!(LOTMask__bindgen_ty_1))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTMask__bindgen_ty_1 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTMask__bindgen_ty_1))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptPtr) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTMask__bindgen_ty_1), "::",
        stringify!(ptPtr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptCount) as usize - ptr as usize },
        8usize, concat!("Offset of field: ", stringify!(LOTMask__bindgen_ty_1), "::",
        stringify!(ptCount))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).elmPtr) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTMask__bindgen_ty_1), "::",
        stringify!(elmPtr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).elmCount) as usize - ptr as usize },
        24usize, concat!("Offset of field: ", stringify!(LOTMask__bindgen_ty_1), "::",
        stringify!(elmCount))
    );
}
#[test]
fn bindgen_test_layout_LOTMask() {
    const UNINIT: ::core::mem::MaybeUninit<LOTMask> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTMask > (), 40usize, concat!("Size of: ",
        stringify!(LOTMask))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTMask > (), 8usize, concat!("Alignment of ",
        stringify!(LOTMask))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mPath) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTMask), "::", stringify!(mPath))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mMode) as usize - ptr as usize }, 32usize,
        concat!("Offset of field: ", stringify!(LOTMask), "::", stringify!(mMode))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mAlpha) as usize - ptr as usize },
        36usize, concat!("Offset of field: ", stringify!(LOTMask), "::",
        stringify!(mAlpha))
    );
}
impl LOTMatteType {
    pub const MatteNone: LOTMatteType = LOTMatteType(0);
}
impl LOTMatteType {
    pub const MatteAlpha: LOTMatteType = LOTMatteType(1);
}
impl LOTMatteType {
    pub const MatteAlphaInv: LOTMatteType = LOTMatteType(2);
}
impl LOTMatteType {
    pub const MatteLuma: LOTMatteType = LOTMatteType(3);
}
impl LOTMatteType {
    pub const MatteLumaInv: LOTMatteType = LOTMatteType(4);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct LOTMatteType(pub ::core::ffi::c_uint);
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTMarker {
    pub name: *mut ::core::ffi::c_char,
    pub startframe: usize,
    pub endframe: usize,
}
#[test]
fn bindgen_test_layout_LOTMarker() {
    const UNINIT: ::core::mem::MaybeUninit<LOTMarker> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTMarker > (), 24usize, concat!("Size of: ",
        stringify!(LOTMarker))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTMarker > (), 8usize, concat!("Alignment of ",
        stringify!(LOTMarker))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).name) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTMarker), "::", stringify!(name))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).startframe) as usize - ptr as usize },
        8usize, concat!("Offset of field: ", stringify!(LOTMarker), "::",
        stringify!(startframe))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).endframe) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTMarker), "::",
        stringify!(endframe))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTMarkerList {
    pub ptr: *mut LOTMarker,
    pub size: usize,
}
#[test]
fn bindgen_test_layout_LOTMarkerList() {
    const UNINIT: ::core::mem::MaybeUninit<LOTMarkerList> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTMarkerList > (), 16usize, concat!("Size of: ",
        stringify!(LOTMarkerList))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTMarkerList > (), 8usize, concat!("Alignment of ",
        stringify!(LOTMarkerList))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptr) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTMarkerList), "::", stringify!(ptr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).size) as usize - ptr as usize }, 8usize,
        concat!("Offset of field: ", stringify!(LOTMarkerList), "::", stringify!(size))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode {
    pub mPath: LOTNode__bindgen_ty_1,
    pub mColor: LOTNode__bindgen_ty_2,
    pub mStroke: LOTNode__bindgen_ty_3,
    pub mGradient: LOTNode__bindgen_ty_4,
    pub mImageInfo: LOTNode__bindgen_ty_5,
    pub mFlag: ::core::ffi::c_int,
    pub mBrushType: LOTBrushType,
    pub mFillRule: LOTFillRule,
    pub keypath: *const ::core::ffi::c_char,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode__bindgen_ty_1 {
    pub ptPtr: *const f32,
    pub ptCount: usize,
    pub elmPtr: *const ::core::ffi::c_char,
    pub elmCount: usize,
}
#[test]
fn bindgen_test_layout_LOTNode__bindgen_ty_1() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode__bindgen_ty_1> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode__bindgen_ty_1 > (), 32usize,
        concat!("Size of: ", stringify!(LOTNode__bindgen_ty_1))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode__bindgen_ty_1 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTNode__bindgen_ty_1))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptPtr) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_1), "::",
        stringify!(ptPtr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptCount) as usize - ptr as usize },
        8usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_1), "::",
        stringify!(ptCount))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).elmPtr) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_1), "::",
        stringify!(elmPtr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).elmCount) as usize - ptr as usize },
        24usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_1), "::",
        stringify!(elmCount))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode__bindgen_ty_2 {
    pub r: ::core::ffi::c_uchar,
    pub g: ::core::ffi::c_uchar,
    pub b: ::core::ffi::c_uchar,
    pub a: ::core::ffi::c_uchar,
}
#[test]
fn bindgen_test_layout_LOTNode__bindgen_ty_2() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode__bindgen_ty_2> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode__bindgen_ty_2 > (), 4usize, concat!("Size of: ",
        stringify!(LOTNode__bindgen_ty_2))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode__bindgen_ty_2 > (), 1usize,
        concat!("Alignment of ", stringify!(LOTNode__bindgen_ty_2))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).r) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_2), "::",
        stringify!(r))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).g) as usize - ptr as usize }, 1usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_2), "::",
        stringify!(g))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).b) as usize - ptr as usize }, 2usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_2), "::",
        stringify!(b))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).a) as usize - ptr as usize }, 3usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_2), "::",
        stringify!(a))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode__bindgen_ty_3 {
    pub enable: ::core::ffi::c_uchar,
    pub width: f32,
    pub cap: LOTCapStyle,
    pub join: LOTJoinStyle,
    pub miterLimit: f32,
    pub dashArray: *mut f32,
    pub dashArraySize: ::core::ffi::c_int,
}
#[test]
fn bindgen_test_layout_LOTNode__bindgen_ty_3() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode__bindgen_ty_3> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode__bindgen_ty_3 > (), 40usize,
        concat!("Size of: ", stringify!(LOTNode__bindgen_ty_3))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode__bindgen_ty_3 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTNode__bindgen_ty_3))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).enable) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_3), "::",
        stringify!(enable))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).width) as usize - ptr as usize }, 4usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_3), "::",
        stringify!(width))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).cap) as usize - ptr as usize }, 8usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_3), "::",
        stringify!(cap))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).join) as usize - ptr as usize }, 12usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_3), "::",
        stringify!(join))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).miterLimit) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_3), "::",
        stringify!(miterLimit))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).dashArray) as usize - ptr as usize },
        24usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_3), "::",
        stringify!(dashArray))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).dashArraySize) as usize - ptr as usize },
        32usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_3), "::",
        stringify!(dashArraySize))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode__bindgen_ty_4 {
    pub type_: LOTGradientType,
    pub stopPtr: *mut LOTGradientStop,
    pub stopCount: usize,
    pub start: LOTNode__bindgen_ty_4__bindgen_ty_1,
    pub end: LOTNode__bindgen_ty_4__bindgen_ty_1,
    pub center: LOTNode__bindgen_ty_4__bindgen_ty_1,
    pub focal: LOTNode__bindgen_ty_4__bindgen_ty_1,
    pub cradius: f32,
    pub fradius: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode__bindgen_ty_4__bindgen_ty_1 {
    pub x: f32,
    pub y: f32,
}
#[test]
fn bindgen_test_layout_LOTNode__bindgen_ty_4__bindgen_ty_1() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode__bindgen_ty_4__bindgen_ty_1> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode__bindgen_ty_4__bindgen_ty_1 > (), 8usize,
        concat!("Size of: ", stringify!(LOTNode__bindgen_ty_4__bindgen_ty_1))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode__bindgen_ty_4__bindgen_ty_1 > (), 4usize,
        concat!("Alignment of ", stringify!(LOTNode__bindgen_ty_4__bindgen_ty_1))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).x) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4__bindgen_ty_1),
        "::", stringify!(x))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).y) as usize - ptr as usize }, 4usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4__bindgen_ty_1),
        "::", stringify!(y))
    );
}
#[test]
fn bindgen_test_layout_LOTNode__bindgen_ty_4() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode__bindgen_ty_4> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode__bindgen_ty_4 > (), 64usize,
        concat!("Size of: ", stringify!(LOTNode__bindgen_ty_4))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode__bindgen_ty_4 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTNode__bindgen_ty_4))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).type_) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(type_))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).stopPtr) as usize - ptr as usize },
        8usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(stopPtr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).stopCount) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(stopCount))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).start) as usize - ptr as usize }, 24usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(start))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).end) as usize - ptr as usize }, 32usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(end))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).center) as usize - ptr as usize },
        40usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(center))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).focal) as usize - ptr as usize }, 48usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(focal))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).cradius) as usize - ptr as usize },
        56usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(cradius))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).fradius) as usize - ptr as usize },
        60usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_4), "::",
        stringify!(fradius))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode__bindgen_ty_5 {
    pub data: *mut ::core::ffi::c_uchar,
    pub width: usize,
    pub height: usize,
    pub mAlpha: ::core::ffi::c_uchar,
    pub mMatrix: LOTNode__bindgen_ty_5__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTNode__bindgen_ty_5__bindgen_ty_1 {
    pub m11: f32,
    pub m12: f32,
    pub m13: f32,
    pub m21: f32,
    pub m22: f32,
    pub m23: f32,
    pub m31: f32,
    pub m32: f32,
    pub m33: f32,
}
#[test]
fn bindgen_test_layout_LOTNode__bindgen_ty_5__bindgen_ty_1() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode__bindgen_ty_5__bindgen_ty_1> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode__bindgen_ty_5__bindgen_ty_1 > (), 36usize,
        concat!("Size of: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode__bindgen_ty_5__bindgen_ty_1 > (), 4usize,
        concat!("Alignment of ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m11) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m11))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m12) as usize - ptr as usize }, 4usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m12))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m13) as usize - ptr as usize }, 8usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m13))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m21) as usize - ptr as usize }, 12usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m21))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m22) as usize - ptr as usize }, 16usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m22))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m23) as usize - ptr as usize }, 20usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m23))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m31) as usize - ptr as usize }, 24usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m31))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m32) as usize - ptr as usize }, 28usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m32))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).m33) as usize - ptr as usize }, 32usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5__bindgen_ty_1),
        "::", stringify!(m33))
    );
}
#[test]
fn bindgen_test_layout_LOTNode__bindgen_ty_5() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode__bindgen_ty_5> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode__bindgen_ty_5 > (), 64usize,
        concat!("Size of: ", stringify!(LOTNode__bindgen_ty_5))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode__bindgen_ty_5 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTNode__bindgen_ty_5))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).data) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5), "::",
        stringify!(data))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).width) as usize - ptr as usize }, 8usize,
        concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5), "::",
        stringify!(width))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).height) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5), "::",
        stringify!(height))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mAlpha) as usize - ptr as usize },
        24usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5), "::",
        stringify!(mAlpha))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mMatrix) as usize - ptr as usize },
        28usize, concat!("Offset of field: ", stringify!(LOTNode__bindgen_ty_5), "::",
        stringify!(mMatrix))
    );
}
#[test]
fn bindgen_test_layout_LOTNode() {
    const UNINIT: ::core::mem::MaybeUninit<LOTNode> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTNode > (), 232usize, concat!("Size of: ",
        stringify!(LOTNode))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTNode > (), 8usize, concat!("Alignment of ",
        stringify!(LOTNode))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mPath) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTNode), "::", stringify!(mPath))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mColor) as usize - ptr as usize },
        32usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(mColor))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mStroke) as usize - ptr as usize },
        40usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(mStroke))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mGradient) as usize - ptr as usize },
        80usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(mGradient))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mImageInfo) as usize - ptr as usize },
        144usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(mImageInfo))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mFlag) as usize - ptr as usize },
        208usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(mFlag))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mBrushType) as usize - ptr as usize },
        212usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(mBrushType))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mFillRule) as usize - ptr as usize },
        216usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(mFillRule))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).keypath) as usize - ptr as usize },
        224usize, concat!("Offset of field: ", stringify!(LOTNode), "::",
        stringify!(keypath))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTLayerNode {
    pub mMaskList: LOTLayerNode__bindgen_ty_1,
    pub mClipPath: LOTLayerNode__bindgen_ty_2,
    pub mLayerList: LOTLayerNode__bindgen_ty_3,
    pub mNodeList: LOTLayerNode__bindgen_ty_4,
    pub mMatte: LOTMatteType,
    pub mVisible: ::core::ffi::c_int,
    pub mAlpha: ::core::ffi::c_uchar,
    pub keypath: *const ::core::ffi::c_char,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTLayerNode__bindgen_ty_1 {
    pub ptr: *mut LOTMask,
    pub size: usize,
}
#[test]
fn bindgen_test_layout_LOTLayerNode__bindgen_ty_1() {
    const UNINIT: ::core::mem::MaybeUninit<LOTLayerNode__bindgen_ty_1> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTLayerNode__bindgen_ty_1 > (), 16usize,
        concat!("Size of: ", stringify!(LOTLayerNode__bindgen_ty_1))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTLayerNode__bindgen_ty_1 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTLayerNode__bindgen_ty_1))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptr) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_1), "::",
        stringify!(ptr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).size) as usize - ptr as usize }, 8usize,
        concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_1), "::",
        stringify!(size))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTLayerNode__bindgen_ty_2 {
    pub ptPtr: *const f32,
    pub ptCount: usize,
    pub elmPtr: *const ::core::ffi::c_char,
    pub elmCount: usize,
}
#[test]
fn bindgen_test_layout_LOTLayerNode__bindgen_ty_2() {
    const UNINIT: ::core::mem::MaybeUninit<LOTLayerNode__bindgen_ty_2> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTLayerNode__bindgen_ty_2 > (), 32usize,
        concat!("Size of: ", stringify!(LOTLayerNode__bindgen_ty_2))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTLayerNode__bindgen_ty_2 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTLayerNode__bindgen_ty_2))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptPtr) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_2), "::",
        stringify!(ptPtr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptCount) as usize - ptr as usize },
        8usize, concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_2),
        "::", stringify!(ptCount))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).elmPtr) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_2),
        "::", stringify!(elmPtr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).elmCount) as usize - ptr as usize },
        24usize, concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_2),
        "::", stringify!(elmCount))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTLayerNode__bindgen_ty_3 {
    pub ptr: *mut *mut LOTLayerNode,
    pub size: usize,
}
#[test]
fn bindgen_test_layout_LOTLayerNode__bindgen_ty_3() {
    const UNINIT: ::core::mem::MaybeUninit<LOTLayerNode__bindgen_ty_3> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTLayerNode__bindgen_ty_3 > (), 16usize,
        concat!("Size of: ", stringify!(LOTLayerNode__bindgen_ty_3))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTLayerNode__bindgen_ty_3 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTLayerNode__bindgen_ty_3))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptr) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_3), "::",
        stringify!(ptr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).size) as usize - ptr as usize }, 8usize,
        concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_3), "::",
        stringify!(size))
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct LOTLayerNode__bindgen_ty_4 {
    pub ptr: *mut *mut LOTNode,
    pub size: usize,
}
#[test]
fn bindgen_test_layout_LOTLayerNode__bindgen_ty_4() {
    const UNINIT: ::core::mem::MaybeUninit<LOTLayerNode__bindgen_ty_4> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTLayerNode__bindgen_ty_4 > (), 16usize,
        concat!("Size of: ", stringify!(LOTLayerNode__bindgen_ty_4))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTLayerNode__bindgen_ty_4 > (), 8usize,
        concat!("Alignment of ", stringify!(LOTLayerNode__bindgen_ty_4))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).ptr) as usize - ptr as usize }, 0usize,
        concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_4), "::",
        stringify!(ptr))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).size) as usize - ptr as usize }, 8usize,
        concat!("Offset of field: ", stringify!(LOTLayerNode__bindgen_ty_4), "::",
        stringify!(size))
    );
}
#[test]
fn bindgen_test_layout_LOTLayerNode() {
    const UNINIT: ::core::mem::MaybeUninit<LOTLayerNode> = ::core::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::core::mem::size_of:: < LOTLayerNode > (), 104usize, concat!("Size of: ",
        stringify!(LOTLayerNode))
    );
    assert_eq!(
        ::core::mem::align_of:: < LOTLayerNode > (), 8usize, concat!("Alignment of ",
        stringify!(LOTLayerNode))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mMaskList) as usize - ptr as usize },
        0usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(mMaskList))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mClipPath) as usize - ptr as usize },
        16usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(mClipPath))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mLayerList) as usize - ptr as usize },
        48usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(mLayerList))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mNodeList) as usize - ptr as usize },
        64usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(mNodeList))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mMatte) as usize - ptr as usize },
        80usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(mMatte))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mVisible) as usize - ptr as usize },
        84usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(mVisible))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).mAlpha) as usize - ptr as usize },
        88usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(mAlpha))
    );
    assert_eq!(
        unsafe { ::core::ptr::addr_of!((* ptr).keypath) as usize - ptr as usize },
        96usize, concat!("Offset of field: ", stringify!(LOTLayerNode), "::",
        stringify!(keypath))
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_FILLCOLOR: Lottie_Animation_Property = Lottie_Animation_Property(
        0,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_FILLOPACITY: Lottie_Animation_Property = Lottie_Animation_Property(
        1,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_STROKECOLOR: Lottie_Animation_Property = Lottie_Animation_Property(
        2,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_STROKEOPACITY: Lottie_Animation_Property = Lottie_Animation_Property(
        3,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_STROKEWIDTH: Lottie_Animation_Property = Lottie_Animation_Property(
        4,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_TR_ANCHOR: Lottie_Animation_Property = Lottie_Animation_Property(
        5,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_TR_POSITION: Lottie_Animation_Property = Lottie_Animation_Property(
        6,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_TR_SCALE: Lottie_Animation_Property = Lottie_Animation_Property(
        7,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_TR_ROTATION: Lottie_Animation_Property = Lottie_Animation_Property(
        8,
    );
}
impl Lottie_Animation_Property {
    pub const LOTTIE_ANIMATION_PROPERTY_TR_OPACITY: Lottie_Animation_Property = Lottie_Animation_Property(
        9,
    );
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct Lottie_Animation_Property(pub ::core::ffi::c_uint);
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Lottie_Animation_S {
    _unused: [u8; 0],
}
pub type Lottie_Animation = Lottie_Animation_S;
extern "C" {
    pub fn lottie_animation_from_file(
        path: *const ::core::ffi::c_char,
    ) -> *mut Lottie_Animation;
}
extern "C" {
    pub fn lottie_animation_from_data(
        data: *const ::core::ffi::c_char,
        key: *const ::core::ffi::c_char,
        resource_path: *const ::core::ffi::c_char,
    ) -> *mut Lottie_Animation;
}
extern "C" {
    pub fn lottie_animation_destroy(animation: *mut Lottie_Animation);
}
extern "C" {
    pub fn lottie_animation_get_size(
        animation: *const Lottie_Animation,
        width: *mut usize,
        height: *mut usize,
    );
}
extern "C" {
    pub fn lottie_animation_get_duration(animation: *const Lottie_Animation) -> f64;
}
extern "C" {
    pub fn lottie_animation_get_totalframe(animation: *const Lottie_Animation) -> usize;
}
extern "C" {
    pub fn lottie_animation_get_framerate(animation: *const Lottie_Animation) -> f64;
}
extern "C" {
    pub fn lottie_animation_render_tree(
        animation: *mut Lottie_Animation,
        frame_num: usize,
        width: usize,
        height: usize,
    ) -> *const LOTLayerNode;
}
extern "C" {
    pub fn lottie_animation_get_frame_at_pos(
        animation: *const Lottie_Animation,
        pos: f32,
    ) -> usize;
}
extern "C" {
    pub fn lottie_animation_render(
        animation: *mut Lottie_Animation,
        frame_num: usize,
        buffer: *mut u32,
        width: usize,
        height: usize,
        bytes_per_line: usize,
    );
}
extern "C" {
    pub fn lottie_animation_render_async(
        animation: *mut Lottie_Animation,
        frame_num: usize,
        buffer: *mut u32,
        width: usize,
        height: usize,
        bytes_per_line: usize,
    );
}
extern "C" {
    pub fn lottie_animation_render_flush(animation: *mut Lottie_Animation) -> *mut u32;
}
extern "C" {
    pub fn lottie_animation_property_override(
        animation: *mut Lottie_Animation,
        type_: Lottie_Animation_Property,
        keypath: *const ::core::ffi::c_char,
        ...
    );
}
extern "C" {
    pub fn lottie_animation_get_markerlist(
        animation: *mut Lottie_Animation,
    ) -> *const LOTMarkerList;
}