libraw_sys/
bindings.rs

1/* automatically generated by rust-bindgen 0.57.0 */
2
3pub const _FILE_OFFSET_BITS: u32 = 64;
4pub const LIBRAW_USE_STREAMS_DATASTREAM_MAXSIZE: u32 = 262144000;
5pub const _LIBC_LIMITS_H_: u32 = 1;
6pub const _FEATURES_H: u32 = 1;
7pub const _DEFAULT_SOURCE: u32 = 1;
8pub const __GLIBC_USE_ISOC2X: u32 = 0;
9pub const __USE_ISOC11: u32 = 1;
10pub const __USE_ISOC99: u32 = 1;
11pub const __USE_ISOC95: u32 = 1;
12pub const __USE_POSIX_IMPLICITLY: u32 = 1;
13pub const _POSIX_SOURCE: u32 = 1;
14pub const _POSIX_C_SOURCE: u32 = 200809;
15pub const __USE_POSIX: u32 = 1;
16pub const __USE_POSIX2: u32 = 1;
17pub const __USE_POSIX199309: u32 = 1;
18pub const __USE_POSIX199506: u32 = 1;
19pub const __USE_XOPEN2K: u32 = 1;
20pub const __USE_XOPEN2K8: u32 = 1;
21pub const _ATFILE_SOURCE: u32 = 1;
22pub const __USE_FILE_OFFSET64: u32 = 1;
23pub const __USE_MISC: u32 = 1;
24pub const __USE_ATFILE: u32 = 1;
25pub const __USE_FORTIFY_LEVEL: u32 = 0;
26pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
27pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
28pub const _STDC_PREDEF_H: u32 = 1;
29pub const __STDC_IEC_559__: u32 = 1;
30pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
31pub const __STDC_ISO_10646__: u32 = 201706;
32pub const __GNU_LIBRARY__: u32 = 6;
33pub const __GLIBC__: u32 = 2;
34pub const __GLIBC_MINOR__: u32 = 31;
35pub const _SYS_CDEFS_H: u32 = 1;
36pub const __glibc_c99_flexarr_available: u32 = 1;
37pub const __WORDSIZE: u32 = 64;
38pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
39pub const __SYSCALL_WORDSIZE: u32 = 64;
40pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0;
41pub const __HAVE_GENERIC_SELECTION: u32 = 1;
42pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
43pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
44pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0;
45pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
46pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0;
47pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
48pub const MB_LEN_MAX: u32 = 16;
49pub const _BITS_POSIX1_LIM_H: u32 = 1;
50pub const _POSIX_AIO_LISTIO_MAX: u32 = 2;
51pub const _POSIX_AIO_MAX: u32 = 1;
52pub const _POSIX_ARG_MAX: u32 = 4096;
53pub const _POSIX_CHILD_MAX: u32 = 25;
54pub const _POSIX_DELAYTIMER_MAX: u32 = 32;
55pub const _POSIX_HOST_NAME_MAX: u32 = 255;
56pub const _POSIX_LINK_MAX: u32 = 8;
57pub const _POSIX_LOGIN_NAME_MAX: u32 = 9;
58pub const _POSIX_MAX_CANON: u32 = 255;
59pub const _POSIX_MAX_INPUT: u32 = 255;
60pub const _POSIX_MQ_OPEN_MAX: u32 = 8;
61pub const _POSIX_MQ_PRIO_MAX: u32 = 32;
62pub const _POSIX_NAME_MAX: u32 = 14;
63pub const _POSIX_NGROUPS_MAX: u32 = 8;
64pub const _POSIX_OPEN_MAX: u32 = 20;
65pub const _POSIX_PATH_MAX: u32 = 256;
66pub const _POSIX_PIPE_BUF: u32 = 512;
67pub const _POSIX_RE_DUP_MAX: u32 = 255;
68pub const _POSIX_RTSIG_MAX: u32 = 8;
69pub const _POSIX_SEM_NSEMS_MAX: u32 = 256;
70pub const _POSIX_SEM_VALUE_MAX: u32 = 32767;
71pub const _POSIX_SIGQUEUE_MAX: u32 = 32;
72pub const _POSIX_SSIZE_MAX: u32 = 32767;
73pub const _POSIX_STREAM_MAX: u32 = 8;
74pub const _POSIX_SYMLINK_MAX: u32 = 255;
75pub const _POSIX_SYMLOOP_MAX: u32 = 8;
76pub const _POSIX_TIMER_MAX: u32 = 32;
77pub const _POSIX_TTY_NAME_MAX: u32 = 9;
78pub const _POSIX_TZNAME_MAX: u32 = 6;
79pub const _POSIX_CLOCKRES_MIN: u32 = 20000000;
80pub const NR_OPEN: u32 = 1024;
81pub const NGROUPS_MAX: u32 = 65536;
82pub const ARG_MAX: u32 = 131072;
83pub const LINK_MAX: u32 = 127;
84pub const MAX_CANON: u32 = 255;
85pub const MAX_INPUT: u32 = 255;
86pub const NAME_MAX: u32 = 255;
87pub const PATH_MAX: u32 = 4096;
88pub const PIPE_BUF: u32 = 4096;
89pub const XATTR_NAME_MAX: u32 = 255;
90pub const XATTR_SIZE_MAX: u32 = 65536;
91pub const XATTR_LIST_MAX: u32 = 65536;
92pub const RTSIG_MAX: u32 = 32;
93pub const _POSIX_THREAD_KEYS_MAX: u32 = 128;
94pub const PTHREAD_KEYS_MAX: u32 = 1024;
95pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
96pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
97pub const _POSIX_THREAD_THREADS_MAX: u32 = 64;
98pub const AIO_PRIO_DELTA_MAX: u32 = 20;
99pub const PTHREAD_STACK_MIN: u32 = 16384;
100pub const DELAYTIMER_MAX: u32 = 2147483647;
101pub const TTY_NAME_MAX: u32 = 32;
102pub const LOGIN_NAME_MAX: u32 = 256;
103pub const HOST_NAME_MAX: u32 = 64;
104pub const MQ_PRIO_MAX: u32 = 32768;
105pub const SEM_VALUE_MAX: u32 = 2147483647;
106pub const _BITS_POSIX2_LIM_H: u32 = 1;
107pub const _POSIX2_BC_BASE_MAX: u32 = 99;
108pub const _POSIX2_BC_DIM_MAX: u32 = 2048;
109pub const _POSIX2_BC_SCALE_MAX: u32 = 99;
110pub const _POSIX2_BC_STRING_MAX: u32 = 1000;
111pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2;
112pub const _POSIX2_EXPR_NEST_MAX: u32 = 32;
113pub const _POSIX2_LINE_MAX: u32 = 2048;
114pub const _POSIX2_RE_DUP_MAX: u32 = 255;
115pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14;
116pub const BC_BASE_MAX: u32 = 99;
117pub const BC_DIM_MAX: u32 = 2048;
118pub const BC_SCALE_MAX: u32 = 99;
119pub const BC_STRING_MAX: u32 = 1000;
120pub const COLL_WEIGHTS_MAX: u32 = 255;
121pub const EXPR_NEST_MAX: u32 = 32;
122pub const LINE_MAX: u32 = 2048;
123pub const CHARCLASS_NAME_MAX: u32 = 2048;
124pub const RE_DUP_MAX: u32 = 32767;
125pub const _MEMORY_H: u32 = 1;
126pub const _STRING_H: u32 = 1;
127pub const _BITS_TYPES_LOCALE_T_H: u32 = 1;
128pub const _BITS_TYPES___LOCALE_T_H: u32 = 1;
129pub const _STRINGS_H: u32 = 1;
130pub const _STDIO_H: u32 = 1;
131pub const __GNUC_VA_LIST: u32 = 1;
132pub const _BITS_TYPES_H: u32 = 1;
133pub const __TIMESIZE: u32 = 64;
134pub const _BITS_TYPESIZES_H: u32 = 1;
135pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
136pub const __INO_T_MATCHES_INO64_T: u32 = 1;
137pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
138pub const __STATFS_MATCHES_STATFS64: u32 = 1;
139pub const __FD_SETSIZE: u32 = 1024;
140pub const _BITS_TIME64_H: u32 = 1;
141pub const _____fpos_t_defined: u32 = 1;
142pub const ____mbstate_t_defined: u32 = 1;
143pub const _____fpos64_t_defined: u32 = 1;
144pub const ____FILE_defined: u32 = 1;
145pub const __FILE_defined: u32 = 1;
146pub const __struct_FILE_defined: u32 = 1;
147pub const _IO_EOF_SEEN: u32 = 16;
148pub const _IO_ERR_SEEN: u32 = 32;
149pub const _IO_USER_LOCK: u32 = 32768;
150pub const _IOFBF: u32 = 0;
151pub const _IOLBF: u32 = 1;
152pub const _IONBF: u32 = 2;
153pub const BUFSIZ: u32 = 8192;
154pub const EOF: i32 = -1;
155pub const SEEK_SET: u32 = 0;
156pub const SEEK_CUR: u32 = 1;
157pub const SEEK_END: u32 = 2;
158pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\0";
159pub const _BITS_STDIO_LIM_H: u32 = 1;
160pub const L_tmpnam: u32 = 20;
161pub const TMP_MAX: u32 = 238328;
162pub const FILENAME_MAX: u32 = 4096;
163pub const L_ctermid: u32 = 9;
164pub const FOPEN_MAX: u32 = 16;
165pub const _STDLIB_H: u32 = 1;
166pub const WNOHANG: u32 = 1;
167pub const WUNTRACED: u32 = 2;
168pub const WSTOPPED: u32 = 2;
169pub const WEXITED: u32 = 4;
170pub const WCONTINUED: u32 = 8;
171pub const WNOWAIT: u32 = 16777216;
172pub const __WNOTHREAD: u32 = 536870912;
173pub const __WALL: u32 = 1073741824;
174pub const __WCLONE: u32 = 2147483648;
175pub const __ENUM_IDTYPE_T: u32 = 1;
176pub const __W_CONTINUED: u32 = 65535;
177pub const __WCOREFLAG: u32 = 128;
178pub const __HAVE_FLOAT128: u32 = 0;
179pub const __HAVE_DISTINCT_FLOAT128: u32 = 0;
180pub const __HAVE_FLOAT64X: u32 = 1;
181pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1;
182pub const __HAVE_FLOAT16: u32 = 0;
183pub const __HAVE_FLOAT32: u32 = 1;
184pub const __HAVE_FLOAT64: u32 = 1;
185pub const __HAVE_FLOAT32X: u32 = 1;
186pub const __HAVE_FLOAT128X: u32 = 0;
187pub const __HAVE_DISTINCT_FLOAT16: u32 = 0;
188pub const __HAVE_DISTINCT_FLOAT32: u32 = 0;
189pub const __HAVE_DISTINCT_FLOAT64: u32 = 0;
190pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0;
191pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0;
192pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0;
193pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0;
194pub const __ldiv_t_defined: u32 = 1;
195pub const __lldiv_t_defined: u32 = 1;
196pub const RAND_MAX: u32 = 2147483647;
197pub const EXIT_FAILURE: u32 = 1;
198pub const EXIT_SUCCESS: u32 = 0;
199pub const _SYS_TYPES_H: u32 = 1;
200pub const __clock_t_defined: u32 = 1;
201pub const __clockid_t_defined: u32 = 1;
202pub const __time_t_defined: u32 = 1;
203pub const __timer_t_defined: u32 = 1;
204pub const _BITS_STDINT_INTN_H: u32 = 1;
205pub const __BIT_TYPES_DEFINED__: u32 = 1;
206pub const _ENDIAN_H: u32 = 1;
207pub const _BITS_ENDIAN_H: u32 = 1;
208pub const __LITTLE_ENDIAN: u32 = 1234;
209pub const __BIG_ENDIAN: u32 = 4321;
210pub const __PDP_ENDIAN: u32 = 3412;
211pub const _BITS_ENDIANNESS_H: u32 = 1;
212pub const __BYTE_ORDER: u32 = 1234;
213pub const __FLOAT_WORD_ORDER: u32 = 1234;
214pub const LITTLE_ENDIAN: u32 = 1234;
215pub const BIG_ENDIAN: u32 = 4321;
216pub const PDP_ENDIAN: u32 = 3412;
217pub const BYTE_ORDER: u32 = 1234;
218pub const _BITS_BYTESWAP_H: u32 = 1;
219pub const _BITS_UINTN_IDENTITY_H: u32 = 1;
220pub const _SYS_SELECT_H: u32 = 1;
221pub const __FD_ZERO_STOS: &'static [u8; 6usize] = b"stosq\0";
222pub const __sigset_t_defined: u32 = 1;
223pub const __timeval_defined: u32 = 1;
224pub const _STRUCT_TIMESPEC: u32 = 1;
225pub const FD_SETSIZE: u32 = 1024;
226pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1;
227pub const _THREAD_SHARED_TYPES_H: u32 = 1;
228pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1;
229pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40;
230pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56;
231pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56;
232pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32;
233pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4;
234pub const __SIZEOF_PTHREAD_COND_T: u32 = 48;
235pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4;
236pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8;
237pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4;
238pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1;
239pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1;
240pub const __have_pthread_attr_t: u32 = 1;
241pub const _ALLOCA_H: u32 = 1;
242pub const _MATH_H: u32 = 1;
243pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1;
244pub const __FP_LOGB0_IS_MIN: u32 = 1;
245pub const __FP_LOGBNAN_IS_MIN: u32 = 1;
246pub const FP_ILOGB0: i32 = -2147483648;
247pub const FP_ILOGBNAN: i32 = -2147483648;
248pub const __MATH_DECLARING_DOUBLE: u32 = 1;
249pub const __MATH_DECLARING_FLOATN: u32 = 0;
250pub const __MATH_DECLARE_LDOUBLE: u32 = 1;
251pub const MATH_ERRNO: u32 = 1;
252pub const MATH_ERREXCEPT: u32 = 2;
253pub const math_errhandling: u32 = 3;
254pub const M_E: f64 = 2.718281828459045;
255pub const M_LOG2E: f64 = 1.4426950408889634;
256pub const M_LOG10E: f64 = 0.4342944819032518;
257pub const M_LN2: f64 = 0.6931471805599453;
258pub const M_LN10: f64 = 2.302585092994046;
259pub const M_PI: f64 = 3.141592653589793;
260pub const M_PI_2: f64 = 1.5707963267948966;
261pub const M_PI_4: f64 = 0.7853981633974483;
262pub const M_1_PI: f64 = 0.3183098861837907;
263pub const M_2_PI: f64 = 0.6366197723675814;
264pub const M_2_SQRTPI: f64 = 1.1283791670955126;
265pub const M_SQRT2: f64 = 1.4142135623730951;
266pub const M_SQRT1_2: f64 = 0.7071067811865476;
267pub const _ERRNO_H: u32 = 1;
268pub const _BITS_ERRNO_H: u32 = 1;
269pub const EPERM: u32 = 1;
270pub const ENOENT: u32 = 2;
271pub const ESRCH: u32 = 3;
272pub const EINTR: u32 = 4;
273pub const EIO: u32 = 5;
274pub const ENXIO: u32 = 6;
275pub const E2BIG: u32 = 7;
276pub const ENOEXEC: u32 = 8;
277pub const EBADF: u32 = 9;
278pub const ECHILD: u32 = 10;
279pub const EAGAIN: u32 = 11;
280pub const ENOMEM: u32 = 12;
281pub const EACCES: u32 = 13;
282pub const EFAULT: u32 = 14;
283pub const ENOTBLK: u32 = 15;
284pub const EBUSY: u32 = 16;
285pub const EEXIST: u32 = 17;
286pub const EXDEV: u32 = 18;
287pub const ENODEV: u32 = 19;
288pub const ENOTDIR: u32 = 20;
289pub const EISDIR: u32 = 21;
290pub const EINVAL: u32 = 22;
291pub const ENFILE: u32 = 23;
292pub const EMFILE: u32 = 24;
293pub const ENOTTY: u32 = 25;
294pub const ETXTBSY: u32 = 26;
295pub const EFBIG: u32 = 27;
296pub const ENOSPC: u32 = 28;
297pub const ESPIPE: u32 = 29;
298pub const EROFS: u32 = 30;
299pub const EMLINK: u32 = 31;
300pub const EPIPE: u32 = 32;
301pub const EDOM: u32 = 33;
302pub const ERANGE: u32 = 34;
303pub const EDEADLK: u32 = 35;
304pub const ENAMETOOLONG: u32 = 36;
305pub const ENOLCK: u32 = 37;
306pub const ENOSYS: u32 = 38;
307pub const ENOTEMPTY: u32 = 39;
308pub const ELOOP: u32 = 40;
309pub const EWOULDBLOCK: u32 = 11;
310pub const ENOMSG: u32 = 42;
311pub const EIDRM: u32 = 43;
312pub const ECHRNG: u32 = 44;
313pub const EL2NSYNC: u32 = 45;
314pub const EL3HLT: u32 = 46;
315pub const EL3RST: u32 = 47;
316pub const ELNRNG: u32 = 48;
317pub const EUNATCH: u32 = 49;
318pub const ENOCSI: u32 = 50;
319pub const EL2HLT: u32 = 51;
320pub const EBADE: u32 = 52;
321pub const EBADR: u32 = 53;
322pub const EXFULL: u32 = 54;
323pub const ENOANO: u32 = 55;
324pub const EBADRQC: u32 = 56;
325pub const EBADSLT: u32 = 57;
326pub const EDEADLOCK: u32 = 35;
327pub const EBFONT: u32 = 59;
328pub const ENOSTR: u32 = 60;
329pub const ENODATA: u32 = 61;
330pub const ETIME: u32 = 62;
331pub const ENOSR: u32 = 63;
332pub const ENONET: u32 = 64;
333pub const ENOPKG: u32 = 65;
334pub const EREMOTE: u32 = 66;
335pub const ENOLINK: u32 = 67;
336pub const EADV: u32 = 68;
337pub const ESRMNT: u32 = 69;
338pub const ECOMM: u32 = 70;
339pub const EPROTO: u32 = 71;
340pub const EMULTIHOP: u32 = 72;
341pub const EDOTDOT: u32 = 73;
342pub const EBADMSG: u32 = 74;
343pub const EOVERFLOW: u32 = 75;
344pub const ENOTUNIQ: u32 = 76;
345pub const EBADFD: u32 = 77;
346pub const EREMCHG: u32 = 78;
347pub const ELIBACC: u32 = 79;
348pub const ELIBBAD: u32 = 80;
349pub const ELIBSCN: u32 = 81;
350pub const ELIBMAX: u32 = 82;
351pub const ELIBEXEC: u32 = 83;
352pub const EILSEQ: u32 = 84;
353pub const ERESTART: u32 = 85;
354pub const ESTRPIPE: u32 = 86;
355pub const EUSERS: u32 = 87;
356pub const ENOTSOCK: u32 = 88;
357pub const EDESTADDRREQ: u32 = 89;
358pub const EMSGSIZE: u32 = 90;
359pub const EPROTOTYPE: u32 = 91;
360pub const ENOPROTOOPT: u32 = 92;
361pub const EPROTONOSUPPORT: u32 = 93;
362pub const ESOCKTNOSUPPORT: u32 = 94;
363pub const EOPNOTSUPP: u32 = 95;
364pub const EPFNOSUPPORT: u32 = 96;
365pub const EAFNOSUPPORT: u32 = 97;
366pub const EADDRINUSE: u32 = 98;
367pub const EADDRNOTAVAIL: u32 = 99;
368pub const ENETDOWN: u32 = 100;
369pub const ENETUNREACH: u32 = 101;
370pub const ENETRESET: u32 = 102;
371pub const ECONNABORTED: u32 = 103;
372pub const ECONNRESET: u32 = 104;
373pub const ENOBUFS: u32 = 105;
374pub const EISCONN: u32 = 106;
375pub const ENOTCONN: u32 = 107;
376pub const ESHUTDOWN: u32 = 108;
377pub const ETOOMANYREFS: u32 = 109;
378pub const ETIMEDOUT: u32 = 110;
379pub const ECONNREFUSED: u32 = 111;
380pub const EHOSTDOWN: u32 = 112;
381pub const EHOSTUNREACH: u32 = 113;
382pub const EALREADY: u32 = 114;
383pub const EINPROGRESS: u32 = 115;
384pub const ESTALE: u32 = 116;
385pub const EUCLEAN: u32 = 117;
386pub const ENOTNAM: u32 = 118;
387pub const ENAVAIL: u32 = 119;
388pub const EISNAM: u32 = 120;
389pub const EREMOTEIO: u32 = 121;
390pub const EDQUOT: u32 = 122;
391pub const ENOMEDIUM: u32 = 123;
392pub const EMEDIUMTYPE: u32 = 124;
393pub const ECANCELED: u32 = 125;
394pub const ENOKEY: u32 = 126;
395pub const EKEYEXPIRED: u32 = 127;
396pub const EKEYREVOKED: u32 = 128;
397pub const EKEYREJECTED: u32 = 129;
398pub const EOWNERDEAD: u32 = 130;
399pub const ENOTRECOVERABLE: u32 = 131;
400pub const ERFKILL: u32 = 132;
401pub const EHWPOISON: u32 = 133;
402pub const ENOTSUP: u32 = 95;
403pub const _SYS_TIME_H: u32 = 1;
404pub const _INTTYPES_H: u32 = 1;
405pub const _STDINT_H: u32 = 1;
406pub const _BITS_WCHAR_H: u32 = 1;
407pub const _BITS_STDINT_UINTN_H: u32 = 1;
408pub const INT8_MIN: i32 = -128;
409pub const INT16_MIN: i32 = -32768;
410pub const INT32_MIN: i32 = -2147483648;
411pub const INT8_MAX: u32 = 127;
412pub const INT16_MAX: u32 = 32767;
413pub const INT32_MAX: u32 = 2147483647;
414pub const UINT8_MAX: u32 = 255;
415pub const UINT16_MAX: u32 = 65535;
416pub const UINT32_MAX: u32 = 4294967295;
417pub const INT_LEAST8_MIN: i32 = -128;
418pub const INT_LEAST16_MIN: i32 = -32768;
419pub const INT_LEAST32_MIN: i32 = -2147483648;
420pub const INT_LEAST8_MAX: u32 = 127;
421pub const INT_LEAST16_MAX: u32 = 32767;
422pub const INT_LEAST32_MAX: u32 = 2147483647;
423pub const UINT_LEAST8_MAX: u32 = 255;
424pub const UINT_LEAST16_MAX: u32 = 65535;
425pub const UINT_LEAST32_MAX: u32 = 4294967295;
426pub const INT_FAST8_MIN: i32 = -128;
427pub const INT_FAST16_MIN: i64 = -9223372036854775808;
428pub const INT_FAST32_MIN: i64 = -9223372036854775808;
429pub const INT_FAST8_MAX: u32 = 127;
430pub const INT_FAST16_MAX: u64 = 9223372036854775807;
431pub const INT_FAST32_MAX: u64 = 9223372036854775807;
432pub const UINT_FAST8_MAX: u32 = 255;
433pub const UINT_FAST16_MAX: i32 = -1;
434pub const UINT_FAST32_MAX: i32 = -1;
435pub const INTPTR_MIN: i64 = -9223372036854775808;
436pub const INTPTR_MAX: u64 = 9223372036854775807;
437pub const UINTPTR_MAX: i32 = -1;
438pub const PTRDIFF_MIN: i64 = -9223372036854775808;
439pub const PTRDIFF_MAX: u64 = 9223372036854775807;
440pub const SIG_ATOMIC_MIN: i32 = -2147483648;
441pub const SIG_ATOMIC_MAX: u32 = 2147483647;
442pub const SIZE_MAX: i32 = -1;
443pub const WINT_MIN: u32 = 0;
444pub const WINT_MAX: u32 = 4294967295;
445pub const ____gwchar_t_defined: u32 = 1;
446pub const __PRI64_PREFIX: &'static [u8; 2usize] = b"l\0";
447pub const __PRIPTR_PREFIX: &'static [u8; 2usize] = b"l\0";
448pub const PRId8: &'static [u8; 2usize] = b"d\0";
449pub const PRId16: &'static [u8; 2usize] = b"d\0";
450pub const PRId32: &'static [u8; 2usize] = b"d\0";
451pub const PRId64: &'static [u8; 3usize] = b"ld\0";
452pub const PRIdLEAST8: &'static [u8; 2usize] = b"d\0";
453pub const PRIdLEAST16: &'static [u8; 2usize] = b"d\0";
454pub const PRIdLEAST32: &'static [u8; 2usize] = b"d\0";
455pub const PRIdLEAST64: &'static [u8; 3usize] = b"ld\0";
456pub const PRIdFAST8: &'static [u8; 2usize] = b"d\0";
457pub const PRIdFAST16: &'static [u8; 3usize] = b"ld\0";
458pub const PRIdFAST32: &'static [u8; 3usize] = b"ld\0";
459pub const PRIdFAST64: &'static [u8; 3usize] = b"ld\0";
460pub const PRIi8: &'static [u8; 2usize] = b"i\0";
461pub const PRIi16: &'static [u8; 2usize] = b"i\0";
462pub const PRIi32: &'static [u8; 2usize] = b"i\0";
463pub const PRIi64: &'static [u8; 3usize] = b"li\0";
464pub const PRIiLEAST8: &'static [u8; 2usize] = b"i\0";
465pub const PRIiLEAST16: &'static [u8; 2usize] = b"i\0";
466pub const PRIiLEAST32: &'static [u8; 2usize] = b"i\0";
467pub const PRIiLEAST64: &'static [u8; 3usize] = b"li\0";
468pub const PRIiFAST8: &'static [u8; 2usize] = b"i\0";
469pub const PRIiFAST16: &'static [u8; 3usize] = b"li\0";
470pub const PRIiFAST32: &'static [u8; 3usize] = b"li\0";
471pub const PRIiFAST64: &'static [u8; 3usize] = b"li\0";
472pub const PRIo8: &'static [u8; 2usize] = b"o\0";
473pub const PRIo16: &'static [u8; 2usize] = b"o\0";
474pub const PRIo32: &'static [u8; 2usize] = b"o\0";
475pub const PRIo64: &'static [u8; 3usize] = b"lo\0";
476pub const PRIoLEAST8: &'static [u8; 2usize] = b"o\0";
477pub const PRIoLEAST16: &'static [u8; 2usize] = b"o\0";
478pub const PRIoLEAST32: &'static [u8; 2usize] = b"o\0";
479pub const PRIoLEAST64: &'static [u8; 3usize] = b"lo\0";
480pub const PRIoFAST8: &'static [u8; 2usize] = b"o\0";
481pub const PRIoFAST16: &'static [u8; 3usize] = b"lo\0";
482pub const PRIoFAST32: &'static [u8; 3usize] = b"lo\0";
483pub const PRIoFAST64: &'static [u8; 3usize] = b"lo\0";
484pub const PRIu8: &'static [u8; 2usize] = b"u\0";
485pub const PRIu16: &'static [u8; 2usize] = b"u\0";
486pub const PRIu32: &'static [u8; 2usize] = b"u\0";
487pub const PRIu64: &'static [u8; 3usize] = b"lu\0";
488pub const PRIuLEAST8: &'static [u8; 2usize] = b"u\0";
489pub const PRIuLEAST16: &'static [u8; 2usize] = b"u\0";
490pub const PRIuLEAST32: &'static [u8; 2usize] = b"u\0";
491pub const PRIuLEAST64: &'static [u8; 3usize] = b"lu\0";
492pub const PRIuFAST8: &'static [u8; 2usize] = b"u\0";
493pub const PRIuFAST16: &'static [u8; 3usize] = b"lu\0";
494pub const PRIuFAST32: &'static [u8; 3usize] = b"lu\0";
495pub const PRIuFAST64: &'static [u8; 3usize] = b"lu\0";
496pub const PRIx8: &'static [u8; 2usize] = b"x\0";
497pub const PRIx16: &'static [u8; 2usize] = b"x\0";
498pub const PRIx32: &'static [u8; 2usize] = b"x\0";
499pub const PRIx64: &'static [u8; 3usize] = b"lx\0";
500pub const PRIxLEAST8: &'static [u8; 2usize] = b"x\0";
501pub const PRIxLEAST16: &'static [u8; 2usize] = b"x\0";
502pub const PRIxLEAST32: &'static [u8; 2usize] = b"x\0";
503pub const PRIxLEAST64: &'static [u8; 3usize] = b"lx\0";
504pub const PRIxFAST8: &'static [u8; 2usize] = b"x\0";
505pub const PRIxFAST16: &'static [u8; 3usize] = b"lx\0";
506pub const PRIxFAST32: &'static [u8; 3usize] = b"lx\0";
507pub const PRIxFAST64: &'static [u8; 3usize] = b"lx\0";
508pub const PRIX8: &'static [u8; 2usize] = b"X\0";
509pub const PRIX16: &'static [u8; 2usize] = b"X\0";
510pub const PRIX32: &'static [u8; 2usize] = b"X\0";
511pub const PRIX64: &'static [u8; 3usize] = b"lX\0";
512pub const PRIXLEAST8: &'static [u8; 2usize] = b"X\0";
513pub const PRIXLEAST16: &'static [u8; 2usize] = b"X\0";
514pub const PRIXLEAST32: &'static [u8; 2usize] = b"X\0";
515pub const PRIXLEAST64: &'static [u8; 3usize] = b"lX\0";
516pub const PRIXFAST8: &'static [u8; 2usize] = b"X\0";
517pub const PRIXFAST16: &'static [u8; 3usize] = b"lX\0";
518pub const PRIXFAST32: &'static [u8; 3usize] = b"lX\0";
519pub const PRIXFAST64: &'static [u8; 3usize] = b"lX\0";
520pub const PRIdMAX: &'static [u8; 3usize] = b"ld\0";
521pub const PRIiMAX: &'static [u8; 3usize] = b"li\0";
522pub const PRIoMAX: &'static [u8; 3usize] = b"lo\0";
523pub const PRIuMAX: &'static [u8; 3usize] = b"lu\0";
524pub const PRIxMAX: &'static [u8; 3usize] = b"lx\0";
525pub const PRIXMAX: &'static [u8; 3usize] = b"lX\0";
526pub const PRIdPTR: &'static [u8; 3usize] = b"ld\0";
527pub const PRIiPTR: &'static [u8; 3usize] = b"li\0";
528pub const PRIoPTR: &'static [u8; 3usize] = b"lo\0";
529pub const PRIuPTR: &'static [u8; 3usize] = b"lu\0";
530pub const PRIxPTR: &'static [u8; 3usize] = b"lx\0";
531pub const PRIXPTR: &'static [u8; 3usize] = b"lX\0";
532pub const SCNd8: &'static [u8; 4usize] = b"hhd\0";
533pub const SCNd16: &'static [u8; 3usize] = b"hd\0";
534pub const SCNd32: &'static [u8; 2usize] = b"d\0";
535pub const SCNd64: &'static [u8; 3usize] = b"ld\0";
536pub const SCNdLEAST8: &'static [u8; 4usize] = b"hhd\0";
537pub const SCNdLEAST16: &'static [u8; 3usize] = b"hd\0";
538pub const SCNdLEAST32: &'static [u8; 2usize] = b"d\0";
539pub const SCNdLEAST64: &'static [u8; 3usize] = b"ld\0";
540pub const SCNdFAST8: &'static [u8; 4usize] = b"hhd\0";
541pub const SCNdFAST16: &'static [u8; 3usize] = b"ld\0";
542pub const SCNdFAST32: &'static [u8; 3usize] = b"ld\0";
543pub const SCNdFAST64: &'static [u8; 3usize] = b"ld\0";
544pub const SCNi8: &'static [u8; 4usize] = b"hhi\0";
545pub const SCNi16: &'static [u8; 3usize] = b"hi\0";
546pub const SCNi32: &'static [u8; 2usize] = b"i\0";
547pub const SCNi64: &'static [u8; 3usize] = b"li\0";
548pub const SCNiLEAST8: &'static [u8; 4usize] = b"hhi\0";
549pub const SCNiLEAST16: &'static [u8; 3usize] = b"hi\0";
550pub const SCNiLEAST32: &'static [u8; 2usize] = b"i\0";
551pub const SCNiLEAST64: &'static [u8; 3usize] = b"li\0";
552pub const SCNiFAST8: &'static [u8; 4usize] = b"hhi\0";
553pub const SCNiFAST16: &'static [u8; 3usize] = b"li\0";
554pub const SCNiFAST32: &'static [u8; 3usize] = b"li\0";
555pub const SCNiFAST64: &'static [u8; 3usize] = b"li\0";
556pub const SCNu8: &'static [u8; 4usize] = b"hhu\0";
557pub const SCNu16: &'static [u8; 3usize] = b"hu\0";
558pub const SCNu32: &'static [u8; 2usize] = b"u\0";
559pub const SCNu64: &'static [u8; 3usize] = b"lu\0";
560pub const SCNuLEAST8: &'static [u8; 4usize] = b"hhu\0";
561pub const SCNuLEAST16: &'static [u8; 3usize] = b"hu\0";
562pub const SCNuLEAST32: &'static [u8; 2usize] = b"u\0";
563pub const SCNuLEAST64: &'static [u8; 3usize] = b"lu\0";
564pub const SCNuFAST8: &'static [u8; 4usize] = b"hhu\0";
565pub const SCNuFAST16: &'static [u8; 3usize] = b"lu\0";
566pub const SCNuFAST32: &'static [u8; 3usize] = b"lu\0";
567pub const SCNuFAST64: &'static [u8; 3usize] = b"lu\0";
568pub const SCNo8: &'static [u8; 4usize] = b"hho\0";
569pub const SCNo16: &'static [u8; 3usize] = b"ho\0";
570pub const SCNo32: &'static [u8; 2usize] = b"o\0";
571pub const SCNo64: &'static [u8; 3usize] = b"lo\0";
572pub const SCNoLEAST8: &'static [u8; 4usize] = b"hho\0";
573pub const SCNoLEAST16: &'static [u8; 3usize] = b"ho\0";
574pub const SCNoLEAST32: &'static [u8; 2usize] = b"o\0";
575pub const SCNoLEAST64: &'static [u8; 3usize] = b"lo\0";
576pub const SCNoFAST8: &'static [u8; 4usize] = b"hho\0";
577pub const SCNoFAST16: &'static [u8; 3usize] = b"lo\0";
578pub const SCNoFAST32: &'static [u8; 3usize] = b"lo\0";
579pub const SCNoFAST64: &'static [u8; 3usize] = b"lo\0";
580pub const SCNx8: &'static [u8; 4usize] = b"hhx\0";
581pub const SCNx16: &'static [u8; 3usize] = b"hx\0";
582pub const SCNx32: &'static [u8; 2usize] = b"x\0";
583pub const SCNx64: &'static [u8; 3usize] = b"lx\0";
584pub const SCNxLEAST8: &'static [u8; 4usize] = b"hhx\0";
585pub const SCNxLEAST16: &'static [u8; 3usize] = b"hx\0";
586pub const SCNxLEAST32: &'static [u8; 2usize] = b"x\0";
587pub const SCNxLEAST64: &'static [u8; 3usize] = b"lx\0";
588pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\0";
589pub const SCNxFAST16: &'static [u8; 3usize] = b"lx\0";
590pub const SCNxFAST32: &'static [u8; 3usize] = b"lx\0";
591pub const SCNxFAST64: &'static [u8; 3usize] = b"lx\0";
592pub const SCNdMAX: &'static [u8; 3usize] = b"ld\0";
593pub const SCNiMAX: &'static [u8; 3usize] = b"li\0";
594pub const SCNoMAX: &'static [u8; 3usize] = b"lo\0";
595pub const SCNuMAX: &'static [u8; 3usize] = b"lu\0";
596pub const SCNxMAX: &'static [u8; 3usize] = b"lx\0";
597pub const SCNdPTR: &'static [u8; 3usize] = b"ld\0";
598pub const SCNiPTR: &'static [u8; 3usize] = b"li\0";
599pub const SCNoPTR: &'static [u8; 3usize] = b"lo\0";
600pub const SCNuPTR: &'static [u8; 3usize] = b"lu\0";
601pub const SCNxPTR: &'static [u8; 3usize] = b"lx\0";
602pub const LIBRAW_DEFAULT_ADJUST_MAXIMUM_THRESHOLD: f64 = 0.75;
603pub const LIBRAW_DEFAULT_AUTO_BRIGHTNESS_THRESHOLD: f64 = 0.01;
604pub const LIBRAW_MAX_ALLOC_MB_DEFAULT: u32 = 2048;
605pub const LIBRAW_MAX_THUMBNAIL_MB: u32 = 512;
606pub const LIBRAW_MAX_METADATA_BLOCKS: u32 = 1024;
607pub const LIBRAW_CBLACK_SIZE: u32 = 4104;
608pub const LIBRAW_IFD_MAXCOUNT: u32 = 10;
609pub const LIBRAW_CRXTRACKS_MAXCOUNT: u32 = 16;
610pub const LIBRAW_AHD_TILE: u32 = 512;
611pub const LIBRAW_LENS_NOT_SET: i32 = -1;
612pub const LIBRAW_XTRANS: u32 = 9;
613pub const LIBRAW_PROGRESS_THUMB_MASK: u32 = 268435455;
614pub const LIBRAW_MAJOR_VERSION: u32 = 0;
615pub const LIBRAW_MINOR_VERSION: u32 = 20;
616pub const LIBRAW_PATCH_VERSION: u32 = 1;
617pub const LIBRAW_SHLIB_CURRENT: u32 = 20;
618pub const LIBRAW_SHLIB_REVISION: u32 = 0;
619pub const LIBRAW_SHLIB_AGE: u32 = 0;
620pub const LibRawBigEndian: u32 = 0;
621pub const LIBRAW_HISTOGRAM_SIZE: u32 = 8192;
622extern "C" {
623    pub fn memcpy(
624        __dest: *mut libc::c_void,
625        __src: *const libc::c_void,
626        __n: libc::c_ulong,
627    ) -> *mut libc::c_void;
628}
629extern "C" {
630    pub fn memmove(
631        __dest: *mut libc::c_void,
632        __src: *const libc::c_void,
633        __n: libc::c_ulong,
634    ) -> *mut libc::c_void;
635}
636extern "C" {
637    pub fn memccpy(
638        __dest: *mut libc::c_void,
639        __src: *const libc::c_void,
640        __c: libc::c_int,
641        __n: libc::c_ulong,
642    ) -> *mut libc::c_void;
643}
644extern "C" {
645    pub fn memset(
646        __s: *mut libc::c_void,
647        __c: libc::c_int,
648        __n: libc::c_ulong,
649    ) -> *mut libc::c_void;
650}
651extern "C" {
652    pub fn memcmp(
653        __s1: *const libc::c_void,
654        __s2: *const libc::c_void,
655        __n: libc::c_ulong,
656    ) -> libc::c_int;
657}
658extern "C" {
659    pub fn memchr(
660        __s: *const libc::c_void,
661        __c: libc::c_int,
662        __n: libc::c_ulong,
663    ) -> *mut libc::c_void;
664}
665extern "C" {
666    pub fn strcpy(__dest: *mut libc::c_char, __src: *const libc::c_char) -> *mut libc::c_char;
667}
668extern "C" {
669    pub fn strncpy(
670        __dest: *mut libc::c_char,
671        __src: *const libc::c_char,
672        __n: libc::c_ulong,
673    ) -> *mut libc::c_char;
674}
675extern "C" {
676    pub fn strcat(__dest: *mut libc::c_char, __src: *const libc::c_char) -> *mut libc::c_char;
677}
678extern "C" {
679    pub fn strncat(
680        __dest: *mut libc::c_char,
681        __src: *const libc::c_char,
682        __n: libc::c_ulong,
683    ) -> *mut libc::c_char;
684}
685extern "C" {
686    pub fn strcmp(__s1: *const libc::c_char, __s2: *const libc::c_char) -> libc::c_int;
687}
688extern "C" {
689    pub fn strncmp(
690        __s1: *const libc::c_char,
691        __s2: *const libc::c_char,
692        __n: libc::c_ulong,
693    ) -> libc::c_int;
694}
695extern "C" {
696    pub fn strcoll(__s1: *const libc::c_char, __s2: *const libc::c_char) -> libc::c_int;
697}
698extern "C" {
699    pub fn strxfrm(
700        __dest: *mut libc::c_char,
701        __src: *const libc::c_char,
702        __n: libc::c_ulong,
703    ) -> libc::c_ulong;
704}
705#[repr(C)]
706#[derive(Debug, Copy, Clone, PartialEq, Eq)]
707pub struct __locale_struct {
708    pub __locales: [*mut __locale_data; 13usize],
709    pub __ctype_b: *const libc::c_ushort,
710    pub __ctype_tolower: *const libc::c_int,
711    pub __ctype_toupper: *const libc::c_int,
712    pub __names: [*const libc::c_char; 13usize],
713}
714#[test]
715fn bindgen_test_layout___locale_struct() {
716    assert_eq!(
717        ::core::mem::size_of::<__locale_struct>(),
718        232usize,
719        concat!("Size of: ", stringify!(__locale_struct))
720    );
721    assert_eq!(
722        ::core::mem::align_of::<__locale_struct>(),
723        8usize,
724        concat!("Alignment of ", stringify!(__locale_struct))
725    );
726    assert_eq!(
727        unsafe { &(*(::core::ptr::null::<__locale_struct>())).__locales as *const _ as usize },
728        0usize,
729        concat!(
730            "Offset of field: ",
731            stringify!(__locale_struct),
732            "::",
733            stringify!(__locales)
734        )
735    );
736    assert_eq!(
737        unsafe { &(*(::core::ptr::null::<__locale_struct>())).__ctype_b as *const _ as usize },
738        104usize,
739        concat!(
740            "Offset of field: ",
741            stringify!(__locale_struct),
742            "::",
743            stringify!(__ctype_b)
744        )
745    );
746    assert_eq!(
747        unsafe {
748            &(*(::core::ptr::null::<__locale_struct>())).__ctype_tolower as *const _ as usize
749        },
750        112usize,
751        concat!(
752            "Offset of field: ",
753            stringify!(__locale_struct),
754            "::",
755            stringify!(__ctype_tolower)
756        )
757    );
758    assert_eq!(
759        unsafe {
760            &(*(::core::ptr::null::<__locale_struct>())).__ctype_toupper as *const _ as usize
761        },
762        120usize,
763        concat!(
764            "Offset of field: ",
765            stringify!(__locale_struct),
766            "::",
767            stringify!(__ctype_toupper)
768        )
769    );
770    assert_eq!(
771        unsafe { &(*(::core::ptr::null::<__locale_struct>())).__names as *const _ as usize },
772        128usize,
773        concat!(
774            "Offset of field: ",
775            stringify!(__locale_struct),
776            "::",
777            stringify!(__names)
778        )
779    );
780}
781pub type __locale_t = *mut __locale_struct;
782pub type locale_t = __locale_t;
783extern "C" {
784    pub fn strcoll_l(
785        __s1: *const libc::c_char,
786        __s2: *const libc::c_char,
787        __l: locale_t,
788    ) -> libc::c_int;
789}
790extern "C" {
791    pub fn strxfrm_l(
792        __dest: *mut libc::c_char,
793        __src: *const libc::c_char,
794        __n: usize,
795        __l: locale_t,
796    ) -> usize;
797}
798extern "C" {
799    pub fn strdup(__s: *const libc::c_char) -> *mut libc::c_char;
800}
801extern "C" {
802    pub fn strndup(__string: *const libc::c_char, __n: libc::c_ulong) -> *mut libc::c_char;
803}
804extern "C" {
805    pub fn strchr(__s: *const libc::c_char, __c: libc::c_int) -> *mut libc::c_char;
806}
807extern "C" {
808    pub fn strrchr(__s: *const libc::c_char, __c: libc::c_int) -> *mut libc::c_char;
809}
810extern "C" {
811    pub fn strcspn(__s: *const libc::c_char, __reject: *const libc::c_char) -> libc::c_ulong;
812}
813extern "C" {
814    pub fn strspn(__s: *const libc::c_char, __accept: *const libc::c_char) -> libc::c_ulong;
815}
816extern "C" {
817    pub fn strpbrk(__s: *const libc::c_char, __accept: *const libc::c_char) -> *mut libc::c_char;
818}
819extern "C" {
820    pub fn strstr(
821        __haystack: *const libc::c_char,
822        __needle: *const libc::c_char,
823    ) -> *mut libc::c_char;
824}
825extern "C" {
826    pub fn strtok(__s: *mut libc::c_char, __delim: *const libc::c_char) -> *mut libc::c_char;
827}
828extern "C" {
829    pub fn strtok_r(
830        __s: *mut libc::c_char,
831        __delim: *const libc::c_char,
832        __save_ptr: *mut *mut libc::c_char,
833    ) -> *mut libc::c_char;
834}
835extern "C" {
836    pub fn strlen(__s: *const libc::c_char) -> libc::c_ulong;
837}
838extern "C" {
839    pub fn strnlen(__string: *const libc::c_char, __maxlen: usize) -> usize;
840}
841extern "C" {
842    pub fn strerror(__errnum: libc::c_int) -> *mut libc::c_char;
843}
844extern "C" {
845    #[link_name = "\u{1}__xpg_strerror_r"]
846    pub fn strerror_r(
847        __errnum: libc::c_int,
848        __buf: *mut libc::c_char,
849        __buflen: usize,
850    ) -> libc::c_int;
851}
852extern "C" {
853    pub fn strerror_l(__errnum: libc::c_int, __l: locale_t) -> *mut libc::c_char;
854}
855extern "C" {
856    pub fn bcmp(
857        __s1: *const libc::c_void,
858        __s2: *const libc::c_void,
859        __n: libc::c_ulong,
860    ) -> libc::c_int;
861}
862extern "C" {
863    pub fn bcopy(__src: *const libc::c_void, __dest: *mut libc::c_void, __n: usize);
864}
865extern "C" {
866    pub fn bzero(__s: *mut libc::c_void, __n: libc::c_ulong);
867}
868extern "C" {
869    pub fn index(__s: *const libc::c_char, __c: libc::c_int) -> *mut libc::c_char;
870}
871extern "C" {
872    pub fn rindex(__s: *const libc::c_char, __c: libc::c_int) -> *mut libc::c_char;
873}
874extern "C" {
875    pub fn ffs(__i: libc::c_int) -> libc::c_int;
876}
877extern "C" {
878    pub fn ffsl(__l: libc::c_long) -> libc::c_int;
879}
880extern "C" {
881    pub fn ffsll(__ll: libc::c_longlong) -> libc::c_int;
882}
883extern "C" {
884    pub fn strcasecmp(__s1: *const libc::c_char, __s2: *const libc::c_char) -> libc::c_int;
885}
886extern "C" {
887    pub fn strncasecmp(
888        __s1: *const libc::c_char,
889        __s2: *const libc::c_char,
890        __n: libc::c_ulong,
891    ) -> libc::c_int;
892}
893extern "C" {
894    pub fn strcasecmp_l(
895        __s1: *const libc::c_char,
896        __s2: *const libc::c_char,
897        __loc: locale_t,
898    ) -> libc::c_int;
899}
900extern "C" {
901    pub fn strncasecmp_l(
902        __s1: *const libc::c_char,
903        __s2: *const libc::c_char,
904        __n: usize,
905        __loc: locale_t,
906    ) -> libc::c_int;
907}
908extern "C" {
909    pub fn explicit_bzero(__s: *mut libc::c_void, __n: usize);
910}
911extern "C" {
912    pub fn strsep(
913        __stringp: *mut *mut libc::c_char,
914        __delim: *const libc::c_char,
915    ) -> *mut libc::c_char;
916}
917extern "C" {
918    pub fn strsignal(__sig: libc::c_int) -> *mut libc::c_char;
919}
920extern "C" {
921    pub fn stpcpy(__dest: *mut libc::c_char, __src: *const libc::c_char) -> *mut libc::c_char;
922}
923extern "C" {
924    pub fn stpncpy(
925        __dest: *mut libc::c_char,
926        __src: *const libc::c_char,
927        __n: libc::c_ulong,
928    ) -> *mut libc::c_char;
929}
930pub type va_list = __builtin_va_list;
931pub type __gnuc_va_list = __builtin_va_list;
932pub type __u_char = libc::c_uchar;
933pub type __u_short = libc::c_ushort;
934pub type __u_int = libc::c_uint;
935pub type __u_long = libc::c_ulong;
936pub type __int8_t = libc::c_schar;
937pub type __uint8_t = libc::c_uchar;
938pub type __int16_t = libc::c_short;
939pub type __uint16_t = libc::c_ushort;
940pub type __int32_t = libc::c_int;
941pub type __uint32_t = libc::c_uint;
942pub type __int64_t = libc::c_long;
943pub type __uint64_t = libc::c_ulong;
944pub type __int_least8_t = __int8_t;
945pub type __uint_least8_t = __uint8_t;
946pub type __int_least16_t = __int16_t;
947pub type __uint_least16_t = __uint16_t;
948pub type __int_least32_t = __int32_t;
949pub type __uint_least32_t = __uint32_t;
950pub type __int_least64_t = __int64_t;
951pub type __uint_least64_t = __uint64_t;
952pub type __quad_t = libc::c_long;
953pub type __u_quad_t = libc::c_ulong;
954pub type __intmax_t = libc::c_long;
955pub type __uintmax_t = libc::c_ulong;
956pub type __dev_t = libc::c_ulong;
957pub type __uid_t = libc::c_uint;
958pub type __gid_t = libc::c_uint;
959pub type __ino_t = libc::c_ulong;
960pub type __ino64_t = libc::c_ulong;
961pub type __mode_t = libc::c_uint;
962pub type __nlink_t = libc::c_ulong;
963pub type __off_t = libc::c_long;
964pub type __off64_t = libc::c_long;
965pub type __pid_t = libc::c_int;
966#[repr(C)]
967#[derive(Debug, Copy, Clone, PartialEq, Eq)]
968pub struct __fsid_t {
969    pub __val: [libc::c_int; 2usize],
970}
971#[test]
972fn bindgen_test_layout___fsid_t() {
973    assert_eq!(
974        ::core::mem::size_of::<__fsid_t>(),
975        8usize,
976        concat!("Size of: ", stringify!(__fsid_t))
977    );
978    assert_eq!(
979        ::core::mem::align_of::<__fsid_t>(),
980        4usize,
981        concat!("Alignment of ", stringify!(__fsid_t))
982    );
983    assert_eq!(
984        unsafe { &(*(::core::ptr::null::<__fsid_t>())).__val as *const _ as usize },
985        0usize,
986        concat!(
987            "Offset of field: ",
988            stringify!(__fsid_t),
989            "::",
990            stringify!(__val)
991        )
992    );
993}
994pub type __clock_t = libc::c_long;
995pub type __rlim_t = libc::c_ulong;
996pub type __rlim64_t = libc::c_ulong;
997pub type __id_t = libc::c_uint;
998pub type __time_t = libc::c_long;
999pub type __useconds_t = libc::c_uint;
1000pub type __suseconds_t = libc::c_long;
1001pub type __daddr_t = libc::c_int;
1002pub type __key_t = libc::c_int;
1003pub type __clockid_t = libc::c_int;
1004pub type __timer_t = *mut libc::c_void;
1005pub type __blksize_t = libc::c_long;
1006pub type __blkcnt_t = libc::c_long;
1007pub type __blkcnt64_t = libc::c_long;
1008pub type __fsblkcnt_t = libc::c_ulong;
1009pub type __fsblkcnt64_t = libc::c_ulong;
1010pub type __fsfilcnt_t = libc::c_ulong;
1011pub type __fsfilcnt64_t = libc::c_ulong;
1012pub type __fsword_t = libc::c_long;
1013pub type __ssize_t = libc::c_long;
1014pub type __syscall_slong_t = libc::c_long;
1015pub type __syscall_ulong_t = libc::c_ulong;
1016pub type __loff_t = __off64_t;
1017pub type __caddr_t = *mut libc::c_char;
1018pub type __intptr_t = libc::c_long;
1019pub type __socklen_t = libc::c_uint;
1020pub type __sig_atomic_t = libc::c_int;
1021#[repr(C)]
1022#[derive(Copy, Clone)]
1023pub struct __mbstate_t {
1024    pub __count: libc::c_int,
1025    pub __value: __mbstate_t__bindgen_ty_1,
1026}
1027#[repr(C)]
1028#[derive(Copy, Clone)]
1029pub union __mbstate_t__bindgen_ty_1 {
1030    pub __wch: libc::c_uint,
1031    pub __wchb: [libc::c_char; 4usize],
1032    _bindgen_union_align: u32,
1033}
1034#[test]
1035fn bindgen_test_layout___mbstate_t__bindgen_ty_1() {
1036    assert_eq!(
1037        ::core::mem::size_of::<__mbstate_t__bindgen_ty_1>(),
1038        4usize,
1039        concat!("Size of: ", stringify!(__mbstate_t__bindgen_ty_1))
1040    );
1041    assert_eq!(
1042        ::core::mem::align_of::<__mbstate_t__bindgen_ty_1>(),
1043        4usize,
1044        concat!("Alignment of ", stringify!(__mbstate_t__bindgen_ty_1))
1045    );
1046    assert_eq!(
1047        unsafe {
1048            &(*(::core::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wch as *const _ as usize
1049        },
1050        0usize,
1051        concat!(
1052            "Offset of field: ",
1053            stringify!(__mbstate_t__bindgen_ty_1),
1054            "::",
1055            stringify!(__wch)
1056        )
1057    );
1058    assert_eq!(
1059        unsafe {
1060            &(*(::core::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wchb as *const _ as usize
1061        },
1062        0usize,
1063        concat!(
1064            "Offset of field: ",
1065            stringify!(__mbstate_t__bindgen_ty_1),
1066            "::",
1067            stringify!(__wchb)
1068        )
1069    );
1070}
1071#[test]
1072fn bindgen_test_layout___mbstate_t() {
1073    assert_eq!(
1074        ::core::mem::size_of::<__mbstate_t>(),
1075        8usize,
1076        concat!("Size of: ", stringify!(__mbstate_t))
1077    );
1078    assert_eq!(
1079        ::core::mem::align_of::<__mbstate_t>(),
1080        4usize,
1081        concat!("Alignment of ", stringify!(__mbstate_t))
1082    );
1083    assert_eq!(
1084        unsafe { &(*(::core::ptr::null::<__mbstate_t>())).__count as *const _ as usize },
1085        0usize,
1086        concat!(
1087            "Offset of field: ",
1088            stringify!(__mbstate_t),
1089            "::",
1090            stringify!(__count)
1091        )
1092    );
1093    assert_eq!(
1094        unsafe { &(*(::core::ptr::null::<__mbstate_t>())).__value as *const _ as usize },
1095        4usize,
1096        concat!(
1097            "Offset of field: ",
1098            stringify!(__mbstate_t),
1099            "::",
1100            stringify!(__value)
1101        )
1102    );
1103}
1104#[repr(C)]
1105#[derive(Copy, Clone)]
1106pub struct _G_fpos_t {
1107    pub __pos: __off_t,
1108    pub __state: __mbstate_t,
1109}
1110#[test]
1111fn bindgen_test_layout__G_fpos_t() {
1112    assert_eq!(
1113        ::core::mem::size_of::<_G_fpos_t>(),
1114        16usize,
1115        concat!("Size of: ", stringify!(_G_fpos_t))
1116    );
1117    assert_eq!(
1118        ::core::mem::align_of::<_G_fpos_t>(),
1119        8usize,
1120        concat!("Alignment of ", stringify!(_G_fpos_t))
1121    );
1122    assert_eq!(
1123        unsafe { &(*(::core::ptr::null::<_G_fpos_t>())).__pos as *const _ as usize },
1124        0usize,
1125        concat!(
1126            "Offset of field: ",
1127            stringify!(_G_fpos_t),
1128            "::",
1129            stringify!(__pos)
1130        )
1131    );
1132    assert_eq!(
1133        unsafe { &(*(::core::ptr::null::<_G_fpos_t>())).__state as *const _ as usize },
1134        8usize,
1135        concat!(
1136            "Offset of field: ",
1137            stringify!(_G_fpos_t),
1138            "::",
1139            stringify!(__state)
1140        )
1141    );
1142}
1143pub type __fpos_t = _G_fpos_t;
1144#[repr(C)]
1145#[derive(Copy, Clone)]
1146pub struct _G_fpos64_t {
1147    pub __pos: __off64_t,
1148    pub __state: __mbstate_t,
1149}
1150#[test]
1151fn bindgen_test_layout__G_fpos64_t() {
1152    assert_eq!(
1153        ::core::mem::size_of::<_G_fpos64_t>(),
1154        16usize,
1155        concat!("Size of: ", stringify!(_G_fpos64_t))
1156    );
1157    assert_eq!(
1158        ::core::mem::align_of::<_G_fpos64_t>(),
1159        8usize,
1160        concat!("Alignment of ", stringify!(_G_fpos64_t))
1161    );
1162    assert_eq!(
1163        unsafe { &(*(::core::ptr::null::<_G_fpos64_t>())).__pos as *const _ as usize },
1164        0usize,
1165        concat!(
1166            "Offset of field: ",
1167            stringify!(_G_fpos64_t),
1168            "::",
1169            stringify!(__pos)
1170        )
1171    );
1172    assert_eq!(
1173        unsafe { &(*(::core::ptr::null::<_G_fpos64_t>())).__state as *const _ as usize },
1174        8usize,
1175        concat!(
1176            "Offset of field: ",
1177            stringify!(_G_fpos64_t),
1178            "::",
1179            stringify!(__state)
1180        )
1181    );
1182}
1183pub type __fpos64_t = _G_fpos64_t;
1184pub type __FILE = _IO_FILE;
1185pub type FILE = _IO_FILE;
1186#[repr(C)]
1187#[derive(Debug, Copy, Clone)]
1188pub struct _IO_marker {
1189    _unused: [u8; 0],
1190}
1191#[repr(C)]
1192#[derive(Debug, Copy, Clone)]
1193pub struct _IO_codecvt {
1194    _unused: [u8; 0],
1195}
1196#[repr(C)]
1197#[derive(Debug, Copy, Clone)]
1198pub struct _IO_wide_data {
1199    _unused: [u8; 0],
1200}
1201pub type _IO_lock_t = libc::c_void;
1202#[repr(C)]
1203#[derive(Debug, Copy, Clone, PartialEq, Eq)]
1204pub struct _IO_FILE {
1205    pub _flags: libc::c_int,
1206    pub _IO_read_ptr: *mut libc::c_char,
1207    pub _IO_read_end: *mut libc::c_char,
1208    pub _IO_read_base: *mut libc::c_char,
1209    pub _IO_write_base: *mut libc::c_char,
1210    pub _IO_write_ptr: *mut libc::c_char,
1211    pub _IO_write_end: *mut libc::c_char,
1212    pub _IO_buf_base: *mut libc::c_char,
1213    pub _IO_buf_end: *mut libc::c_char,
1214    pub _IO_save_base: *mut libc::c_char,
1215    pub _IO_backup_base: *mut libc::c_char,
1216    pub _IO_save_end: *mut libc::c_char,
1217    pub _markers: *mut _IO_marker,
1218    pub _chain: *mut _IO_FILE,
1219    pub _fileno: libc::c_int,
1220    pub _flags2: libc::c_int,
1221    pub _old_offset: __off_t,
1222    pub _cur_column: libc::c_ushort,
1223    pub _vtable_offset: libc::c_schar,
1224    pub _shortbuf: [libc::c_char; 1usize],
1225    pub _lock: *mut _IO_lock_t,
1226    pub _offset: __off64_t,
1227    pub _codecvt: *mut _IO_codecvt,
1228    pub _wide_data: *mut _IO_wide_data,
1229    pub _freeres_list: *mut _IO_FILE,
1230    pub _freeres_buf: *mut libc::c_void,
1231    pub __pad5: usize,
1232    pub _mode: libc::c_int,
1233    pub _unused2: [libc::c_char; 20usize],
1234}
1235#[test]
1236fn bindgen_test_layout__IO_FILE() {
1237    assert_eq!(
1238        ::core::mem::size_of::<_IO_FILE>(),
1239        216usize,
1240        concat!("Size of: ", stringify!(_IO_FILE))
1241    );
1242    assert_eq!(
1243        ::core::mem::align_of::<_IO_FILE>(),
1244        8usize,
1245        concat!("Alignment of ", stringify!(_IO_FILE))
1246    );
1247    assert_eq!(
1248        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
1249        0usize,
1250        concat!(
1251            "Offset of field: ",
1252            stringify!(_IO_FILE),
1253            "::",
1254            stringify!(_flags)
1255        )
1256    );
1257    assert_eq!(
1258        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
1259        8usize,
1260        concat!(
1261            "Offset of field: ",
1262            stringify!(_IO_FILE),
1263            "::",
1264            stringify!(_IO_read_ptr)
1265        )
1266    );
1267    assert_eq!(
1268        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
1269        16usize,
1270        concat!(
1271            "Offset of field: ",
1272            stringify!(_IO_FILE),
1273            "::",
1274            stringify!(_IO_read_end)
1275        )
1276    );
1277    assert_eq!(
1278        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
1279        24usize,
1280        concat!(
1281            "Offset of field: ",
1282            stringify!(_IO_FILE),
1283            "::",
1284            stringify!(_IO_read_base)
1285        )
1286    );
1287    assert_eq!(
1288        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
1289        32usize,
1290        concat!(
1291            "Offset of field: ",
1292            stringify!(_IO_FILE),
1293            "::",
1294            stringify!(_IO_write_base)
1295        )
1296    );
1297    assert_eq!(
1298        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
1299        40usize,
1300        concat!(
1301            "Offset of field: ",
1302            stringify!(_IO_FILE),
1303            "::",
1304            stringify!(_IO_write_ptr)
1305        )
1306    );
1307    assert_eq!(
1308        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
1309        48usize,
1310        concat!(
1311            "Offset of field: ",
1312            stringify!(_IO_FILE),
1313            "::",
1314            stringify!(_IO_write_end)
1315        )
1316    );
1317    assert_eq!(
1318        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
1319        56usize,
1320        concat!(
1321            "Offset of field: ",
1322            stringify!(_IO_FILE),
1323            "::",
1324            stringify!(_IO_buf_base)
1325        )
1326    );
1327    assert_eq!(
1328        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
1329        64usize,
1330        concat!(
1331            "Offset of field: ",
1332            stringify!(_IO_FILE),
1333            "::",
1334            stringify!(_IO_buf_end)
1335        )
1336    );
1337    assert_eq!(
1338        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
1339        72usize,
1340        concat!(
1341            "Offset of field: ",
1342            stringify!(_IO_FILE),
1343            "::",
1344            stringify!(_IO_save_base)
1345        )
1346    );
1347    assert_eq!(
1348        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
1349        80usize,
1350        concat!(
1351            "Offset of field: ",
1352            stringify!(_IO_FILE),
1353            "::",
1354            stringify!(_IO_backup_base)
1355        )
1356    );
1357    assert_eq!(
1358        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
1359        88usize,
1360        concat!(
1361            "Offset of field: ",
1362            stringify!(_IO_FILE),
1363            "::",
1364            stringify!(_IO_save_end)
1365        )
1366    );
1367    assert_eq!(
1368        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
1369        96usize,
1370        concat!(
1371            "Offset of field: ",
1372            stringify!(_IO_FILE),
1373            "::",
1374            stringify!(_markers)
1375        )
1376    );
1377    assert_eq!(
1378        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
1379        104usize,
1380        concat!(
1381            "Offset of field: ",
1382            stringify!(_IO_FILE),
1383            "::",
1384            stringify!(_chain)
1385        )
1386    );
1387    assert_eq!(
1388        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
1389        112usize,
1390        concat!(
1391            "Offset of field: ",
1392            stringify!(_IO_FILE),
1393            "::",
1394            stringify!(_fileno)
1395        )
1396    );
1397    assert_eq!(
1398        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
1399        116usize,
1400        concat!(
1401            "Offset of field: ",
1402            stringify!(_IO_FILE),
1403            "::",
1404            stringify!(_flags2)
1405        )
1406    );
1407    assert_eq!(
1408        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
1409        120usize,
1410        concat!(
1411            "Offset of field: ",
1412            stringify!(_IO_FILE),
1413            "::",
1414            stringify!(_old_offset)
1415        )
1416    );
1417    assert_eq!(
1418        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
1419        128usize,
1420        concat!(
1421            "Offset of field: ",
1422            stringify!(_IO_FILE),
1423            "::",
1424            stringify!(_cur_column)
1425        )
1426    );
1427    assert_eq!(
1428        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
1429        130usize,
1430        concat!(
1431            "Offset of field: ",
1432            stringify!(_IO_FILE),
1433            "::",
1434            stringify!(_vtable_offset)
1435        )
1436    );
1437    assert_eq!(
1438        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
1439        131usize,
1440        concat!(
1441            "Offset of field: ",
1442            stringify!(_IO_FILE),
1443            "::",
1444            stringify!(_shortbuf)
1445        )
1446    );
1447    assert_eq!(
1448        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
1449        136usize,
1450        concat!(
1451            "Offset of field: ",
1452            stringify!(_IO_FILE),
1453            "::",
1454            stringify!(_lock)
1455        )
1456    );
1457    assert_eq!(
1458        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
1459        144usize,
1460        concat!(
1461            "Offset of field: ",
1462            stringify!(_IO_FILE),
1463            "::",
1464            stringify!(_offset)
1465        )
1466    );
1467    assert_eq!(
1468        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
1469        152usize,
1470        concat!(
1471            "Offset of field: ",
1472            stringify!(_IO_FILE),
1473            "::",
1474            stringify!(_codecvt)
1475        )
1476    );
1477    assert_eq!(
1478        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
1479        160usize,
1480        concat!(
1481            "Offset of field: ",
1482            stringify!(_IO_FILE),
1483            "::",
1484            stringify!(_wide_data)
1485        )
1486    );
1487    assert_eq!(
1488        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
1489        168usize,
1490        concat!(
1491            "Offset of field: ",
1492            stringify!(_IO_FILE),
1493            "::",
1494            stringify!(_freeres_list)
1495        )
1496    );
1497    assert_eq!(
1498        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
1499        176usize,
1500        concat!(
1501            "Offset of field: ",
1502            stringify!(_IO_FILE),
1503            "::",
1504            stringify!(_freeres_buf)
1505        )
1506    );
1507    assert_eq!(
1508        unsafe { &(*(::core::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
1509        184usize,
1510        concat!(
1511            "Offset of field: ",
1512            stringify!(_IO_FILE),
1513            "::",
1514            stringify!(__pad5)
1515        )
1516    );
1517    assert_eq!(
1518        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
1519        192usize,
1520        concat!(
1521            "Offset of field: ",
1522            stringify!(_IO_FILE),
1523            "::",
1524            stringify!(_mode)
1525        )
1526    );
1527    assert_eq!(
1528        unsafe { &(*(::core::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
1529        196usize,
1530        concat!(
1531            "Offset of field: ",
1532            stringify!(_IO_FILE),
1533            "::",
1534            stringify!(_unused2)
1535        )
1536    );
1537}
1538pub type off_t = __off64_t;
1539pub type fpos_t = __fpos64_t;
1540extern "C" {
1541    pub static mut stdin: *mut FILE;
1542}
1543extern "C" {
1544    pub static mut stdout: *mut FILE;
1545}
1546extern "C" {
1547    pub static mut stderr: *mut FILE;
1548}
1549extern "C" {
1550    pub fn remove(__filename: *const libc::c_char) -> libc::c_int;
1551}
1552extern "C" {
1553    pub fn rename(__old: *const libc::c_char, __new: *const libc::c_char) -> libc::c_int;
1554}
1555extern "C" {
1556    pub fn renameat(
1557        __oldfd: libc::c_int,
1558        __old: *const libc::c_char,
1559        __newfd: libc::c_int,
1560        __new: *const libc::c_char,
1561    ) -> libc::c_int;
1562}
1563extern "C" {
1564    #[link_name = "\u{1}tmpfile64"]
1565    pub fn tmpfile() -> *mut FILE;
1566}
1567extern "C" {
1568    pub fn tmpnam(__s: *mut libc::c_char) -> *mut libc::c_char;
1569}
1570extern "C" {
1571    pub fn tmpnam_r(__s: *mut libc::c_char) -> *mut libc::c_char;
1572}
1573extern "C" {
1574    pub fn tempnam(__dir: *const libc::c_char, __pfx: *const libc::c_char) -> *mut libc::c_char;
1575}
1576extern "C" {
1577    pub fn fclose(__stream: *mut FILE) -> libc::c_int;
1578}
1579extern "C" {
1580    pub fn fflush(__stream: *mut FILE) -> libc::c_int;
1581}
1582extern "C" {
1583    pub fn fflush_unlocked(__stream: *mut FILE) -> libc::c_int;
1584}
1585extern "C" {
1586    #[link_name = "\u{1}fopen64"]
1587    pub fn fopen(__filename: *const libc::c_char, __modes: *const libc::c_char) -> *mut FILE;
1588}
1589extern "C" {
1590    #[link_name = "\u{1}freopen64"]
1591    pub fn freopen(
1592        __filename: *const libc::c_char,
1593        __modes: *const libc::c_char,
1594        __stream: *mut FILE,
1595    ) -> *mut FILE;
1596}
1597extern "C" {
1598    pub fn fdopen(__fd: libc::c_int, __modes: *const libc::c_char) -> *mut FILE;
1599}
1600extern "C" {
1601    pub fn fmemopen(
1602        __s: *mut libc::c_void,
1603        __len: usize,
1604        __modes: *const libc::c_char,
1605    ) -> *mut FILE;
1606}
1607extern "C" {
1608    pub fn open_memstream(__bufloc: *mut *mut libc::c_char, __sizeloc: *mut usize) -> *mut FILE;
1609}
1610extern "C" {
1611    pub fn setbuf(__stream: *mut FILE, __buf: *mut libc::c_char);
1612}
1613extern "C" {
1614    pub fn setvbuf(
1615        __stream: *mut FILE,
1616        __buf: *mut libc::c_char,
1617        __modes: libc::c_int,
1618        __n: usize,
1619    ) -> libc::c_int;
1620}
1621extern "C" {
1622    pub fn setbuffer(__stream: *mut FILE, __buf: *mut libc::c_char, __size: usize);
1623}
1624extern "C" {
1625    pub fn setlinebuf(__stream: *mut FILE);
1626}
1627extern "C" {
1628    pub fn fprintf(__stream: *mut FILE, __format: *const libc::c_char, ...) -> libc::c_int;
1629}
1630extern "C" {
1631    pub fn printf(__format: *const libc::c_char, ...) -> libc::c_int;
1632}
1633extern "C" {
1634    pub fn sprintf(__s: *mut libc::c_char, __format: *const libc::c_char, ...) -> libc::c_int;
1635}
1636extern "C" {
1637    pub fn vfprintf(
1638        __s: *mut FILE,
1639        __format: *const libc::c_char,
1640        __arg: *mut __va_list_tag,
1641    ) -> libc::c_int;
1642}
1643extern "C" {
1644    pub fn vprintf(__format: *const libc::c_char, __arg: *mut __va_list_tag) -> libc::c_int;
1645}
1646extern "C" {
1647    pub fn vsprintf(
1648        __s: *mut libc::c_char,
1649        __format: *const libc::c_char,
1650        __arg: *mut __va_list_tag,
1651    ) -> libc::c_int;
1652}
1653extern "C" {
1654    pub fn snprintf(
1655        __s: *mut libc::c_char,
1656        __maxlen: libc::c_ulong,
1657        __format: *const libc::c_char,
1658        ...
1659    ) -> libc::c_int;
1660}
1661extern "C" {
1662    pub fn vsnprintf(
1663        __s: *mut libc::c_char,
1664        __maxlen: libc::c_ulong,
1665        __format: *const libc::c_char,
1666        __arg: *mut __va_list_tag,
1667    ) -> libc::c_int;
1668}
1669extern "C" {
1670    pub fn vdprintf(
1671        __fd: libc::c_int,
1672        __fmt: *const libc::c_char,
1673        __arg: *mut __va_list_tag,
1674    ) -> libc::c_int;
1675}
1676extern "C" {
1677    pub fn dprintf(__fd: libc::c_int, __fmt: *const libc::c_char, ...) -> libc::c_int;
1678}
1679extern "C" {
1680    pub fn fscanf(__stream: *mut FILE, __format: *const libc::c_char, ...) -> libc::c_int;
1681}
1682extern "C" {
1683    pub fn scanf(__format: *const libc::c_char, ...) -> libc::c_int;
1684}
1685extern "C" {
1686    pub fn sscanf(__s: *const libc::c_char, __format: *const libc::c_char, ...) -> libc::c_int;
1687}
1688extern "C" {
1689    #[link_name = "\u{1}__isoc99_fscanf"]
1690    pub fn fscanf1(__stream: *mut FILE, __format: *const libc::c_char, ...) -> libc::c_int;
1691}
1692extern "C" {
1693    #[link_name = "\u{1}__isoc99_scanf"]
1694    pub fn scanf1(__format: *const libc::c_char, ...) -> libc::c_int;
1695}
1696extern "C" {
1697    #[link_name = "\u{1}__isoc99_sscanf"]
1698    pub fn sscanf1(__s: *const libc::c_char, __format: *const libc::c_char, ...) -> libc::c_int;
1699}
1700extern "C" {
1701    pub fn vfscanf(
1702        __s: *mut FILE,
1703        __format: *const libc::c_char,
1704        __arg: *mut __va_list_tag,
1705    ) -> libc::c_int;
1706}
1707extern "C" {
1708    pub fn vscanf(__format: *const libc::c_char, __arg: *mut __va_list_tag) -> libc::c_int;
1709}
1710extern "C" {
1711    pub fn vsscanf(
1712        __s: *const libc::c_char,
1713        __format: *const libc::c_char,
1714        __arg: *mut __va_list_tag,
1715    ) -> libc::c_int;
1716}
1717extern "C" {
1718    #[link_name = "\u{1}__isoc99_vfscanf"]
1719    pub fn vfscanf1(
1720        __s: *mut FILE,
1721        __format: *const libc::c_char,
1722        __arg: *mut __va_list_tag,
1723    ) -> libc::c_int;
1724}
1725extern "C" {
1726    #[link_name = "\u{1}__isoc99_vscanf"]
1727    pub fn vscanf1(__format: *const libc::c_char, __arg: *mut __va_list_tag) -> libc::c_int;
1728}
1729extern "C" {
1730    #[link_name = "\u{1}__isoc99_vsscanf"]
1731    pub fn vsscanf1(
1732        __s: *const libc::c_char,
1733        __format: *const libc::c_char,
1734        __arg: *mut __va_list_tag,
1735    ) -> libc::c_int;
1736}
1737extern "C" {
1738    pub fn fgetc(__stream: *mut FILE) -> libc::c_int;
1739}
1740extern "C" {
1741    pub fn getc(__stream: *mut FILE) -> libc::c_int;
1742}
1743extern "C" {
1744    pub fn getchar() -> libc::c_int;
1745}
1746extern "C" {
1747    pub fn getc_unlocked(__stream: *mut FILE) -> libc::c_int;
1748}
1749extern "C" {
1750    pub fn getchar_unlocked() -> libc::c_int;
1751}
1752extern "C" {
1753    pub fn fgetc_unlocked(__stream: *mut FILE) -> libc::c_int;
1754}
1755extern "C" {
1756    pub fn fputc(__c: libc::c_int, __stream: *mut FILE) -> libc::c_int;
1757}
1758extern "C" {
1759    pub fn putc(__c: libc::c_int, __stream: *mut FILE) -> libc::c_int;
1760}
1761extern "C" {
1762    pub fn putchar(__c: libc::c_int) -> libc::c_int;
1763}
1764extern "C" {
1765    pub fn fputc_unlocked(__c: libc::c_int, __stream: *mut FILE) -> libc::c_int;
1766}
1767extern "C" {
1768    pub fn putc_unlocked(__c: libc::c_int, __stream: *mut FILE) -> libc::c_int;
1769}
1770extern "C" {
1771    pub fn putchar_unlocked(__c: libc::c_int) -> libc::c_int;
1772}
1773extern "C" {
1774    pub fn getw(__stream: *mut FILE) -> libc::c_int;
1775}
1776extern "C" {
1777    pub fn putw(__w: libc::c_int, __stream: *mut FILE) -> libc::c_int;
1778}
1779extern "C" {
1780    pub fn fgets(
1781        __s: *mut libc::c_char,
1782        __n: libc::c_int,
1783        __stream: *mut FILE,
1784    ) -> *mut libc::c_char;
1785}
1786extern "C" {
1787    pub fn getdelim(
1788        __lineptr: *mut *mut libc::c_char,
1789        __n: *mut usize,
1790        __delimiter: libc::c_int,
1791        __stream: *mut FILE,
1792    ) -> __ssize_t;
1793}
1794extern "C" {
1795    pub fn getline(
1796        __lineptr: *mut *mut libc::c_char,
1797        __n: *mut usize,
1798        __stream: *mut FILE,
1799    ) -> __ssize_t;
1800}
1801extern "C" {
1802    pub fn fputs(__s: *const libc::c_char, __stream: *mut FILE) -> libc::c_int;
1803}
1804extern "C" {
1805    pub fn puts(__s: *const libc::c_char) -> libc::c_int;
1806}
1807extern "C" {
1808    pub fn ungetc(__c: libc::c_int, __stream: *mut FILE) -> libc::c_int;
1809}
1810extern "C" {
1811    pub fn fread(
1812        __ptr: *mut libc::c_void,
1813        __size: libc::c_ulong,
1814        __n: libc::c_ulong,
1815        __stream: *mut FILE,
1816    ) -> libc::c_ulong;
1817}
1818extern "C" {
1819    pub fn fwrite(
1820        __ptr: *const libc::c_void,
1821        __size: libc::c_ulong,
1822        __n: libc::c_ulong,
1823        __s: *mut FILE,
1824    ) -> libc::c_ulong;
1825}
1826extern "C" {
1827    pub fn fread_unlocked(
1828        __ptr: *mut libc::c_void,
1829        __size: usize,
1830        __n: usize,
1831        __stream: *mut FILE,
1832    ) -> usize;
1833}
1834extern "C" {
1835    pub fn fwrite_unlocked(
1836        __ptr: *const libc::c_void,
1837        __size: usize,
1838        __n: usize,
1839        __stream: *mut FILE,
1840    ) -> usize;
1841}
1842extern "C" {
1843    pub fn fseek(__stream: *mut FILE, __off: libc::c_long, __whence: libc::c_int) -> libc::c_int;
1844}
1845extern "C" {
1846    pub fn ftell(__stream: *mut FILE) -> libc::c_long;
1847}
1848extern "C" {
1849    pub fn rewind(__stream: *mut FILE);
1850}
1851extern "C" {
1852    #[link_name = "\u{1}fseeko64"]
1853    pub fn fseeko(__stream: *mut FILE, __off: __off64_t, __whence: libc::c_int) -> libc::c_int;
1854}
1855extern "C" {
1856    #[link_name = "\u{1}ftello64"]
1857    pub fn ftello(__stream: *mut FILE) -> __off64_t;
1858}
1859extern "C" {
1860    #[link_name = "\u{1}fgetpos64"]
1861    pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> libc::c_int;
1862}
1863extern "C" {
1864    #[link_name = "\u{1}fsetpos64"]
1865    pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> libc::c_int;
1866}
1867extern "C" {
1868    pub fn clearerr(__stream: *mut FILE);
1869}
1870extern "C" {
1871    pub fn feof(__stream: *mut FILE) -> libc::c_int;
1872}
1873extern "C" {
1874    pub fn ferror(__stream: *mut FILE) -> libc::c_int;
1875}
1876extern "C" {
1877    pub fn clearerr_unlocked(__stream: *mut FILE);
1878}
1879extern "C" {
1880    pub fn feof_unlocked(__stream: *mut FILE) -> libc::c_int;
1881}
1882extern "C" {
1883    pub fn ferror_unlocked(__stream: *mut FILE) -> libc::c_int;
1884}
1885extern "C" {
1886    pub fn perror(__s: *const libc::c_char);
1887}
1888extern "C" {
1889    pub static mut sys_nerr: libc::c_int;
1890}
1891extern "C" {
1892    pub static mut sys_errlist: [*const libc::c_char; 0usize];
1893}
1894extern "C" {
1895    pub fn fileno(__stream: *mut FILE) -> libc::c_int;
1896}
1897extern "C" {
1898    pub fn fileno_unlocked(__stream: *mut FILE) -> libc::c_int;
1899}
1900extern "C" {
1901    pub fn popen(__command: *const libc::c_char, __modes: *const libc::c_char) -> *mut FILE;
1902}
1903extern "C" {
1904    pub fn pclose(__stream: *mut FILE) -> libc::c_int;
1905}
1906extern "C" {
1907    pub fn ctermid(__s: *mut libc::c_char) -> *mut libc::c_char;
1908}
1909extern "C" {
1910    pub fn flockfile(__stream: *mut FILE);
1911}
1912extern "C" {
1913    pub fn ftrylockfile(__stream: *mut FILE) -> libc::c_int;
1914}
1915extern "C" {
1916    pub fn funlockfile(__stream: *mut FILE);
1917}
1918pub type wchar_t = libc::c_int;
1919pub const idtype_t_P_ALL: idtype_t = 0;
1920pub const idtype_t_P_PID: idtype_t = 1;
1921pub const idtype_t_P_PGID: idtype_t = 2;
1922pub type idtype_t = libc::c_uint;
1923pub type _Float32 = f32;
1924pub type _Float64 = f64;
1925pub type _Float32x = f64;
1926pub type _Float64x = u128;
1927#[repr(C)]
1928#[derive(Debug, Copy, Clone, PartialEq, Eq)]
1929pub struct div_t {
1930    pub quot: libc::c_int,
1931    pub rem: libc::c_int,
1932}
1933#[test]
1934fn bindgen_test_layout_div_t() {
1935    assert_eq!(
1936        ::core::mem::size_of::<div_t>(),
1937        8usize,
1938        concat!("Size of: ", stringify!(div_t))
1939    );
1940    assert_eq!(
1941        ::core::mem::align_of::<div_t>(),
1942        4usize,
1943        concat!("Alignment of ", stringify!(div_t))
1944    );
1945    assert_eq!(
1946        unsafe { &(*(::core::ptr::null::<div_t>())).quot as *const _ as usize },
1947        0usize,
1948        concat!(
1949            "Offset of field: ",
1950            stringify!(div_t),
1951            "::",
1952            stringify!(quot)
1953        )
1954    );
1955    assert_eq!(
1956        unsafe { &(*(::core::ptr::null::<div_t>())).rem as *const _ as usize },
1957        4usize,
1958        concat!(
1959            "Offset of field: ",
1960            stringify!(div_t),
1961            "::",
1962            stringify!(rem)
1963        )
1964    );
1965}
1966#[repr(C)]
1967#[derive(Debug, Copy, Clone, PartialEq, Eq)]
1968pub struct ldiv_t {
1969    pub quot: libc::c_long,
1970    pub rem: libc::c_long,
1971}
1972#[test]
1973fn bindgen_test_layout_ldiv_t() {
1974    assert_eq!(
1975        ::core::mem::size_of::<ldiv_t>(),
1976        16usize,
1977        concat!("Size of: ", stringify!(ldiv_t))
1978    );
1979    assert_eq!(
1980        ::core::mem::align_of::<ldiv_t>(),
1981        8usize,
1982        concat!("Alignment of ", stringify!(ldiv_t))
1983    );
1984    assert_eq!(
1985        unsafe { &(*(::core::ptr::null::<ldiv_t>())).quot as *const _ as usize },
1986        0usize,
1987        concat!(
1988            "Offset of field: ",
1989            stringify!(ldiv_t),
1990            "::",
1991            stringify!(quot)
1992        )
1993    );
1994    assert_eq!(
1995        unsafe { &(*(::core::ptr::null::<ldiv_t>())).rem as *const _ as usize },
1996        8usize,
1997        concat!(
1998            "Offset of field: ",
1999            stringify!(ldiv_t),
2000            "::",
2001            stringify!(rem)
2002        )
2003    );
2004}
2005#[repr(C)]
2006#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2007pub struct lldiv_t {
2008    pub quot: libc::c_longlong,
2009    pub rem: libc::c_longlong,
2010}
2011#[test]
2012fn bindgen_test_layout_lldiv_t() {
2013    assert_eq!(
2014        ::core::mem::size_of::<lldiv_t>(),
2015        16usize,
2016        concat!("Size of: ", stringify!(lldiv_t))
2017    );
2018    assert_eq!(
2019        ::core::mem::align_of::<lldiv_t>(),
2020        8usize,
2021        concat!("Alignment of ", stringify!(lldiv_t))
2022    );
2023    assert_eq!(
2024        unsafe { &(*(::core::ptr::null::<lldiv_t>())).quot as *const _ as usize },
2025        0usize,
2026        concat!(
2027            "Offset of field: ",
2028            stringify!(lldiv_t),
2029            "::",
2030            stringify!(quot)
2031        )
2032    );
2033    assert_eq!(
2034        unsafe { &(*(::core::ptr::null::<lldiv_t>())).rem as *const _ as usize },
2035        8usize,
2036        concat!(
2037            "Offset of field: ",
2038            stringify!(lldiv_t),
2039            "::",
2040            stringify!(rem)
2041        )
2042    );
2043}
2044extern "C" {
2045    pub fn atof(__nptr: *const libc::c_char) -> f64;
2046}
2047extern "C" {
2048    pub fn atoi(__nptr: *const libc::c_char) -> libc::c_int;
2049}
2050extern "C" {
2051    pub fn atol(__nptr: *const libc::c_char) -> libc::c_long;
2052}
2053extern "C" {
2054    pub fn atoll(__nptr: *const libc::c_char) -> libc::c_longlong;
2055}
2056extern "C" {
2057    pub fn strtod(__nptr: *const libc::c_char, __endptr: *mut *mut libc::c_char) -> f64;
2058}
2059extern "C" {
2060    pub fn strtof(__nptr: *const libc::c_char, __endptr: *mut *mut libc::c_char) -> f32;
2061}
2062extern "C" {
2063    pub fn strtol(
2064        __nptr: *const libc::c_char,
2065        __endptr: *mut *mut libc::c_char,
2066        __base: libc::c_int,
2067    ) -> libc::c_long;
2068}
2069extern "C" {
2070    pub fn strtoul(
2071        __nptr: *const libc::c_char,
2072        __endptr: *mut *mut libc::c_char,
2073        __base: libc::c_int,
2074    ) -> libc::c_ulong;
2075}
2076extern "C" {
2077    pub fn strtoq(
2078        __nptr: *const libc::c_char,
2079        __endptr: *mut *mut libc::c_char,
2080        __base: libc::c_int,
2081    ) -> libc::c_longlong;
2082}
2083extern "C" {
2084    pub fn strtouq(
2085        __nptr: *const libc::c_char,
2086        __endptr: *mut *mut libc::c_char,
2087        __base: libc::c_int,
2088    ) -> libc::c_ulonglong;
2089}
2090extern "C" {
2091    pub fn strtoll(
2092        __nptr: *const libc::c_char,
2093        __endptr: *mut *mut libc::c_char,
2094        __base: libc::c_int,
2095    ) -> libc::c_longlong;
2096}
2097extern "C" {
2098    pub fn strtoull(
2099        __nptr: *const libc::c_char,
2100        __endptr: *mut *mut libc::c_char,
2101        __base: libc::c_int,
2102    ) -> libc::c_ulonglong;
2103}
2104extern "C" {
2105    pub fn l64a(__n: libc::c_long) -> *mut libc::c_char;
2106}
2107extern "C" {
2108    pub fn a64l(__s: *const libc::c_char) -> libc::c_long;
2109}
2110pub type u_char = __u_char;
2111pub type u_short = __u_short;
2112pub type u_int = __u_int;
2113pub type u_long = __u_long;
2114pub type quad_t = __quad_t;
2115pub type u_quad_t = __u_quad_t;
2116pub type fsid_t = __fsid_t;
2117pub type loff_t = __loff_t;
2118pub type ino_t = __ino64_t;
2119pub type dev_t = __dev_t;
2120pub type gid_t = __gid_t;
2121pub type mode_t = __mode_t;
2122pub type nlink_t = __nlink_t;
2123pub type uid_t = __uid_t;
2124pub type pid_t = __pid_t;
2125pub type id_t = __id_t;
2126pub type daddr_t = __daddr_t;
2127pub type caddr_t = __caddr_t;
2128pub type key_t = __key_t;
2129pub type clock_t = __clock_t;
2130pub type clockid_t = __clockid_t;
2131pub type time_t = __time_t;
2132pub type timer_t = __timer_t;
2133pub type ulong = libc::c_ulong;
2134pub type ushort = libc::c_ushort;
2135pub type uint = libc::c_uint;
2136pub type u_int8_t = __uint8_t;
2137pub type u_int16_t = __uint16_t;
2138pub type u_int32_t = __uint32_t;
2139pub type u_int64_t = __uint64_t;
2140pub type register_t = libc::c_long;
2141#[repr(C)]
2142#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2143pub struct __sigset_t {
2144    pub __val: [libc::c_ulong; 16usize],
2145}
2146#[test]
2147fn bindgen_test_layout___sigset_t() {
2148    assert_eq!(
2149        ::core::mem::size_of::<__sigset_t>(),
2150        128usize,
2151        concat!("Size of: ", stringify!(__sigset_t))
2152    );
2153    assert_eq!(
2154        ::core::mem::align_of::<__sigset_t>(),
2155        8usize,
2156        concat!("Alignment of ", stringify!(__sigset_t))
2157    );
2158    assert_eq!(
2159        unsafe { &(*(::core::ptr::null::<__sigset_t>())).__val as *const _ as usize },
2160        0usize,
2161        concat!(
2162            "Offset of field: ",
2163            stringify!(__sigset_t),
2164            "::",
2165            stringify!(__val)
2166        )
2167    );
2168}
2169pub type sigset_t = __sigset_t;
2170#[repr(C)]
2171#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2172pub struct timeval {
2173    pub tv_sec: __time_t,
2174    pub tv_usec: __suseconds_t,
2175}
2176#[test]
2177fn bindgen_test_layout_timeval() {
2178    assert_eq!(
2179        ::core::mem::size_of::<timeval>(),
2180        16usize,
2181        concat!("Size of: ", stringify!(timeval))
2182    );
2183    assert_eq!(
2184        ::core::mem::align_of::<timeval>(),
2185        8usize,
2186        concat!("Alignment of ", stringify!(timeval))
2187    );
2188    assert_eq!(
2189        unsafe { &(*(::core::ptr::null::<timeval>())).tv_sec as *const _ as usize },
2190        0usize,
2191        concat!(
2192            "Offset of field: ",
2193            stringify!(timeval),
2194            "::",
2195            stringify!(tv_sec)
2196        )
2197    );
2198    assert_eq!(
2199        unsafe { &(*(::core::ptr::null::<timeval>())).tv_usec as *const _ as usize },
2200        8usize,
2201        concat!(
2202            "Offset of field: ",
2203            stringify!(timeval),
2204            "::",
2205            stringify!(tv_usec)
2206        )
2207    );
2208}
2209#[repr(C)]
2210#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2211pub struct timespec {
2212    pub tv_sec: __time_t,
2213    pub tv_nsec: __syscall_slong_t,
2214}
2215#[test]
2216fn bindgen_test_layout_timespec() {
2217    assert_eq!(
2218        ::core::mem::size_of::<timespec>(),
2219        16usize,
2220        concat!("Size of: ", stringify!(timespec))
2221    );
2222    assert_eq!(
2223        ::core::mem::align_of::<timespec>(),
2224        8usize,
2225        concat!("Alignment of ", stringify!(timespec))
2226    );
2227    assert_eq!(
2228        unsafe { &(*(::core::ptr::null::<timespec>())).tv_sec as *const _ as usize },
2229        0usize,
2230        concat!(
2231            "Offset of field: ",
2232            stringify!(timespec),
2233            "::",
2234            stringify!(tv_sec)
2235        )
2236    );
2237    assert_eq!(
2238        unsafe { &(*(::core::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
2239        8usize,
2240        concat!(
2241            "Offset of field: ",
2242            stringify!(timespec),
2243            "::",
2244            stringify!(tv_nsec)
2245        )
2246    );
2247}
2248pub type suseconds_t = __suseconds_t;
2249pub type __fd_mask = libc::c_long;
2250#[repr(C)]
2251#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2252pub struct fd_set {
2253    pub __fds_bits: [__fd_mask; 16usize],
2254}
2255#[test]
2256fn bindgen_test_layout_fd_set() {
2257    assert_eq!(
2258        ::core::mem::size_of::<fd_set>(),
2259        128usize,
2260        concat!("Size of: ", stringify!(fd_set))
2261    );
2262    assert_eq!(
2263        ::core::mem::align_of::<fd_set>(),
2264        8usize,
2265        concat!("Alignment of ", stringify!(fd_set))
2266    );
2267    assert_eq!(
2268        unsafe { &(*(::core::ptr::null::<fd_set>())).__fds_bits as *const _ as usize },
2269        0usize,
2270        concat!(
2271            "Offset of field: ",
2272            stringify!(fd_set),
2273            "::",
2274            stringify!(__fds_bits)
2275        )
2276    );
2277}
2278pub type fd_mask = __fd_mask;
2279extern "C" {
2280    pub fn select(
2281        __nfds: libc::c_int,
2282        __readfds: *mut fd_set,
2283        __writefds: *mut fd_set,
2284        __exceptfds: *mut fd_set,
2285        __timeout: *mut timeval,
2286    ) -> libc::c_int;
2287}
2288extern "C" {
2289    pub fn pselect(
2290        __nfds: libc::c_int,
2291        __readfds: *mut fd_set,
2292        __writefds: *mut fd_set,
2293        __exceptfds: *mut fd_set,
2294        __timeout: *const timespec,
2295        __sigmask: *const __sigset_t,
2296    ) -> libc::c_int;
2297}
2298pub type blksize_t = __blksize_t;
2299pub type blkcnt_t = __blkcnt64_t;
2300pub type fsblkcnt_t = __fsblkcnt64_t;
2301pub type fsfilcnt_t = __fsfilcnt64_t;
2302#[repr(C)]
2303#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2304pub struct __pthread_internal_list {
2305    pub __prev: *mut __pthread_internal_list,
2306    pub __next: *mut __pthread_internal_list,
2307}
2308#[test]
2309fn bindgen_test_layout___pthread_internal_list() {
2310    assert_eq!(
2311        ::core::mem::size_of::<__pthread_internal_list>(),
2312        16usize,
2313        concat!("Size of: ", stringify!(__pthread_internal_list))
2314    );
2315    assert_eq!(
2316        ::core::mem::align_of::<__pthread_internal_list>(),
2317        8usize,
2318        concat!("Alignment of ", stringify!(__pthread_internal_list))
2319    );
2320    assert_eq!(
2321        unsafe { &(*(::core::ptr::null::<__pthread_internal_list>())).__prev as *const _ as usize },
2322        0usize,
2323        concat!(
2324            "Offset of field: ",
2325            stringify!(__pthread_internal_list),
2326            "::",
2327            stringify!(__prev)
2328        )
2329    );
2330    assert_eq!(
2331        unsafe { &(*(::core::ptr::null::<__pthread_internal_list>())).__next as *const _ as usize },
2332        8usize,
2333        concat!(
2334            "Offset of field: ",
2335            stringify!(__pthread_internal_list),
2336            "::",
2337            stringify!(__next)
2338        )
2339    );
2340}
2341pub type __pthread_list_t = __pthread_internal_list;
2342#[repr(C)]
2343#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2344pub struct __pthread_internal_slist {
2345    pub __next: *mut __pthread_internal_slist,
2346}
2347#[test]
2348fn bindgen_test_layout___pthread_internal_slist() {
2349    assert_eq!(
2350        ::core::mem::size_of::<__pthread_internal_slist>(),
2351        8usize,
2352        concat!("Size of: ", stringify!(__pthread_internal_slist))
2353    );
2354    assert_eq!(
2355        ::core::mem::align_of::<__pthread_internal_slist>(),
2356        8usize,
2357        concat!("Alignment of ", stringify!(__pthread_internal_slist))
2358    );
2359    assert_eq!(
2360        unsafe {
2361            &(*(::core::ptr::null::<__pthread_internal_slist>())).__next as *const _ as usize
2362        },
2363        0usize,
2364        concat!(
2365            "Offset of field: ",
2366            stringify!(__pthread_internal_slist),
2367            "::",
2368            stringify!(__next)
2369        )
2370    );
2371}
2372pub type __pthread_slist_t = __pthread_internal_slist;
2373#[repr(C)]
2374#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2375pub struct __pthread_mutex_s {
2376    pub __lock: libc::c_int,
2377    pub __count: libc::c_uint,
2378    pub __owner: libc::c_int,
2379    pub __nusers: libc::c_uint,
2380    pub __kind: libc::c_int,
2381    pub __spins: libc::c_short,
2382    pub __elision: libc::c_short,
2383    pub __list: __pthread_list_t,
2384}
2385#[test]
2386fn bindgen_test_layout___pthread_mutex_s() {
2387    assert_eq!(
2388        ::core::mem::size_of::<__pthread_mutex_s>(),
2389        40usize,
2390        concat!("Size of: ", stringify!(__pthread_mutex_s))
2391    );
2392    assert_eq!(
2393        ::core::mem::align_of::<__pthread_mutex_s>(),
2394        8usize,
2395        concat!("Alignment of ", stringify!(__pthread_mutex_s))
2396    );
2397    assert_eq!(
2398        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__lock as *const _ as usize },
2399        0usize,
2400        concat!(
2401            "Offset of field: ",
2402            stringify!(__pthread_mutex_s),
2403            "::",
2404            stringify!(__lock)
2405        )
2406    );
2407    assert_eq!(
2408        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__count as *const _ as usize },
2409        4usize,
2410        concat!(
2411            "Offset of field: ",
2412            stringify!(__pthread_mutex_s),
2413            "::",
2414            stringify!(__count)
2415        )
2416    );
2417    assert_eq!(
2418        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__owner as *const _ as usize },
2419        8usize,
2420        concat!(
2421            "Offset of field: ",
2422            stringify!(__pthread_mutex_s),
2423            "::",
2424            stringify!(__owner)
2425        )
2426    );
2427    assert_eq!(
2428        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__nusers as *const _ as usize },
2429        12usize,
2430        concat!(
2431            "Offset of field: ",
2432            stringify!(__pthread_mutex_s),
2433            "::",
2434            stringify!(__nusers)
2435        )
2436    );
2437    assert_eq!(
2438        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__kind as *const _ as usize },
2439        16usize,
2440        concat!(
2441            "Offset of field: ",
2442            stringify!(__pthread_mutex_s),
2443            "::",
2444            stringify!(__kind)
2445        )
2446    );
2447    assert_eq!(
2448        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__spins as *const _ as usize },
2449        20usize,
2450        concat!(
2451            "Offset of field: ",
2452            stringify!(__pthread_mutex_s),
2453            "::",
2454            stringify!(__spins)
2455        )
2456    );
2457    assert_eq!(
2458        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__elision as *const _ as usize },
2459        22usize,
2460        concat!(
2461            "Offset of field: ",
2462            stringify!(__pthread_mutex_s),
2463            "::",
2464            stringify!(__elision)
2465        )
2466    );
2467    assert_eq!(
2468        unsafe { &(*(::core::ptr::null::<__pthread_mutex_s>())).__list as *const _ as usize },
2469        24usize,
2470        concat!(
2471            "Offset of field: ",
2472            stringify!(__pthread_mutex_s),
2473            "::",
2474            stringify!(__list)
2475        )
2476    );
2477}
2478#[repr(C)]
2479#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2480pub struct __pthread_rwlock_arch_t {
2481    pub __readers: libc::c_uint,
2482    pub __writers: libc::c_uint,
2483    pub __wrphase_futex: libc::c_uint,
2484    pub __writers_futex: libc::c_uint,
2485    pub __pad3: libc::c_uint,
2486    pub __pad4: libc::c_uint,
2487    pub __cur_writer: libc::c_int,
2488    pub __shared: libc::c_int,
2489    pub __rwelision: libc::c_schar,
2490    pub __pad1: [libc::c_uchar; 7usize],
2491    pub __pad2: libc::c_ulong,
2492    pub __flags: libc::c_uint,
2493}
2494#[test]
2495fn bindgen_test_layout___pthread_rwlock_arch_t() {
2496    assert_eq!(
2497        ::core::mem::size_of::<__pthread_rwlock_arch_t>(),
2498        56usize,
2499        concat!("Size of: ", stringify!(__pthread_rwlock_arch_t))
2500    );
2501    assert_eq!(
2502        ::core::mem::align_of::<__pthread_rwlock_arch_t>(),
2503        8usize,
2504        concat!("Alignment of ", stringify!(__pthread_rwlock_arch_t))
2505    );
2506    assert_eq!(
2507        unsafe {
2508            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__readers as *const _ as usize
2509        },
2510        0usize,
2511        concat!(
2512            "Offset of field: ",
2513            stringify!(__pthread_rwlock_arch_t),
2514            "::",
2515            stringify!(__readers)
2516        )
2517    );
2518    assert_eq!(
2519        unsafe {
2520            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__writers as *const _ as usize
2521        },
2522        4usize,
2523        concat!(
2524            "Offset of field: ",
2525            stringify!(__pthread_rwlock_arch_t),
2526            "::",
2527            stringify!(__writers)
2528        )
2529    );
2530    assert_eq!(
2531        unsafe {
2532            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__wrphase_futex as *const _
2533                as usize
2534        },
2535        8usize,
2536        concat!(
2537            "Offset of field: ",
2538            stringify!(__pthread_rwlock_arch_t),
2539            "::",
2540            stringify!(__wrphase_futex)
2541        )
2542    );
2543    assert_eq!(
2544        unsafe {
2545            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__writers_futex as *const _
2546                as usize
2547        },
2548        12usize,
2549        concat!(
2550            "Offset of field: ",
2551            stringify!(__pthread_rwlock_arch_t),
2552            "::",
2553            stringify!(__writers_futex)
2554        )
2555    );
2556    assert_eq!(
2557        unsafe { &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__pad3 as *const _ as usize },
2558        16usize,
2559        concat!(
2560            "Offset of field: ",
2561            stringify!(__pthread_rwlock_arch_t),
2562            "::",
2563            stringify!(__pad3)
2564        )
2565    );
2566    assert_eq!(
2567        unsafe { &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__pad4 as *const _ as usize },
2568        20usize,
2569        concat!(
2570            "Offset of field: ",
2571            stringify!(__pthread_rwlock_arch_t),
2572            "::",
2573            stringify!(__pad4)
2574        )
2575    );
2576    assert_eq!(
2577        unsafe {
2578            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__cur_writer as *const _ as usize
2579        },
2580        24usize,
2581        concat!(
2582            "Offset of field: ",
2583            stringify!(__pthread_rwlock_arch_t),
2584            "::",
2585            stringify!(__cur_writer)
2586        )
2587    );
2588    assert_eq!(
2589        unsafe {
2590            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__shared as *const _ as usize
2591        },
2592        28usize,
2593        concat!(
2594            "Offset of field: ",
2595            stringify!(__pthread_rwlock_arch_t),
2596            "::",
2597            stringify!(__shared)
2598        )
2599    );
2600    assert_eq!(
2601        unsafe {
2602            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__rwelision as *const _ as usize
2603        },
2604        32usize,
2605        concat!(
2606            "Offset of field: ",
2607            stringify!(__pthread_rwlock_arch_t),
2608            "::",
2609            stringify!(__rwelision)
2610        )
2611    );
2612    assert_eq!(
2613        unsafe { &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__pad1 as *const _ as usize },
2614        33usize,
2615        concat!(
2616            "Offset of field: ",
2617            stringify!(__pthread_rwlock_arch_t),
2618            "::",
2619            stringify!(__pad1)
2620        )
2621    );
2622    assert_eq!(
2623        unsafe { &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__pad2 as *const _ as usize },
2624        40usize,
2625        concat!(
2626            "Offset of field: ",
2627            stringify!(__pthread_rwlock_arch_t),
2628            "::",
2629            stringify!(__pad2)
2630        )
2631    );
2632    assert_eq!(
2633        unsafe {
2634            &(*(::core::ptr::null::<__pthread_rwlock_arch_t>())).__flags as *const _ as usize
2635        },
2636        48usize,
2637        concat!(
2638            "Offset of field: ",
2639            stringify!(__pthread_rwlock_arch_t),
2640            "::",
2641            stringify!(__flags)
2642        )
2643    );
2644}
2645#[repr(C)]
2646#[derive(Copy, Clone)]
2647pub struct __pthread_cond_s {
2648    pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1,
2649    pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2,
2650    pub __g_refs: [libc::c_uint; 2usize],
2651    pub __g_size: [libc::c_uint; 2usize],
2652    pub __g1_orig_size: libc::c_uint,
2653    pub __wrefs: libc::c_uint,
2654    pub __g_signals: [libc::c_uint; 2usize],
2655}
2656#[repr(C)]
2657#[derive(Copy, Clone)]
2658pub union __pthread_cond_s__bindgen_ty_1 {
2659    pub __wseq: libc::c_ulonglong,
2660    pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1,
2661    _bindgen_union_align: u64,
2662}
2663#[repr(C)]
2664#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2665pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 {
2666    pub __low: libc::c_uint,
2667    pub __high: libc::c_uint,
2668}
2669#[test]
2670fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1() {
2671    assert_eq!(
2672        ::core::mem::size_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
2673        8usize,
2674        concat!(
2675            "Size of: ",
2676            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
2677        )
2678    );
2679    assert_eq!(
2680        ::core::mem::align_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
2681        4usize,
2682        concat!(
2683            "Alignment of ",
2684            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
2685        )
2686    );
2687    assert_eq!(
2688        unsafe {
2689            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__low
2690                as *const _ as usize
2691        },
2692        0usize,
2693        concat!(
2694            "Offset of field: ",
2695            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
2696            "::",
2697            stringify!(__low)
2698        )
2699    );
2700    assert_eq!(
2701        unsafe {
2702            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__high
2703                as *const _ as usize
2704        },
2705        4usize,
2706        concat!(
2707            "Offset of field: ",
2708            stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
2709            "::",
2710            stringify!(__high)
2711        )
2712    );
2713}
2714#[test]
2715fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1() {
2716    assert_eq!(
2717        ::core::mem::size_of::<__pthread_cond_s__bindgen_ty_1>(),
2718        8usize,
2719        concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_1))
2720    );
2721    assert_eq!(
2722        ::core::mem::align_of::<__pthread_cond_s__bindgen_ty_1>(),
2723        8usize,
2724        concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_1))
2725    );
2726    assert_eq!(
2727        unsafe {
2728            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq as *const _ as usize
2729        },
2730        0usize,
2731        concat!(
2732            "Offset of field: ",
2733            stringify!(__pthread_cond_s__bindgen_ty_1),
2734            "::",
2735            stringify!(__wseq)
2736        )
2737    );
2738    assert_eq!(
2739        unsafe {
2740            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq32 as *const _
2741                as usize
2742        },
2743        0usize,
2744        concat!(
2745            "Offset of field: ",
2746            stringify!(__pthread_cond_s__bindgen_ty_1),
2747            "::",
2748            stringify!(__wseq32)
2749        )
2750    );
2751}
2752#[repr(C)]
2753#[derive(Copy, Clone)]
2754pub union __pthread_cond_s__bindgen_ty_2 {
2755    pub __g1_start: libc::c_ulonglong,
2756    pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1,
2757    _bindgen_union_align: u64,
2758}
2759#[repr(C)]
2760#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2761pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 {
2762    pub __low: libc::c_uint,
2763    pub __high: libc::c_uint,
2764}
2765#[test]
2766fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1() {
2767    assert_eq!(
2768        ::core::mem::size_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
2769        8usize,
2770        concat!(
2771            "Size of: ",
2772            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
2773        )
2774    );
2775    assert_eq!(
2776        ::core::mem::align_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
2777        4usize,
2778        concat!(
2779            "Alignment of ",
2780            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
2781        )
2782    );
2783    assert_eq!(
2784        unsafe {
2785            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__low
2786                as *const _ as usize
2787        },
2788        0usize,
2789        concat!(
2790            "Offset of field: ",
2791            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
2792            "::",
2793            stringify!(__low)
2794        )
2795    );
2796    assert_eq!(
2797        unsafe {
2798            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__high
2799                as *const _ as usize
2800        },
2801        4usize,
2802        concat!(
2803            "Offset of field: ",
2804            stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
2805            "::",
2806            stringify!(__high)
2807        )
2808    );
2809}
2810#[test]
2811fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2() {
2812    assert_eq!(
2813        ::core::mem::size_of::<__pthread_cond_s__bindgen_ty_2>(),
2814        8usize,
2815        concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_2))
2816    );
2817    assert_eq!(
2818        ::core::mem::align_of::<__pthread_cond_s__bindgen_ty_2>(),
2819        8usize,
2820        concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_2))
2821    );
2822    assert_eq!(
2823        unsafe {
2824            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start as *const _
2825                as usize
2826        },
2827        0usize,
2828        concat!(
2829            "Offset of field: ",
2830            stringify!(__pthread_cond_s__bindgen_ty_2),
2831            "::",
2832            stringify!(__g1_start)
2833        )
2834    );
2835    assert_eq!(
2836        unsafe {
2837            &(*(::core::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start32 as *const _
2838                as usize
2839        },
2840        0usize,
2841        concat!(
2842            "Offset of field: ",
2843            stringify!(__pthread_cond_s__bindgen_ty_2),
2844            "::",
2845            stringify!(__g1_start32)
2846        )
2847    );
2848}
2849#[test]
2850fn bindgen_test_layout___pthread_cond_s() {
2851    assert_eq!(
2852        ::core::mem::size_of::<__pthread_cond_s>(),
2853        48usize,
2854        concat!("Size of: ", stringify!(__pthread_cond_s))
2855    );
2856    assert_eq!(
2857        ::core::mem::align_of::<__pthread_cond_s>(),
2858        8usize,
2859        concat!("Alignment of ", stringify!(__pthread_cond_s))
2860    );
2861    assert_eq!(
2862        unsafe { &(*(::core::ptr::null::<__pthread_cond_s>())).__g_refs as *const _ as usize },
2863        16usize,
2864        concat!(
2865            "Offset of field: ",
2866            stringify!(__pthread_cond_s),
2867            "::",
2868            stringify!(__g_refs)
2869        )
2870    );
2871    assert_eq!(
2872        unsafe { &(*(::core::ptr::null::<__pthread_cond_s>())).__g_size as *const _ as usize },
2873        24usize,
2874        concat!(
2875            "Offset of field: ",
2876            stringify!(__pthread_cond_s),
2877            "::",
2878            stringify!(__g_size)
2879        )
2880    );
2881    assert_eq!(
2882        unsafe {
2883            &(*(::core::ptr::null::<__pthread_cond_s>())).__g1_orig_size as *const _ as usize
2884        },
2885        32usize,
2886        concat!(
2887            "Offset of field: ",
2888            stringify!(__pthread_cond_s),
2889            "::",
2890            stringify!(__g1_orig_size)
2891        )
2892    );
2893    assert_eq!(
2894        unsafe { &(*(::core::ptr::null::<__pthread_cond_s>())).__wrefs as *const _ as usize },
2895        36usize,
2896        concat!(
2897            "Offset of field: ",
2898            stringify!(__pthread_cond_s),
2899            "::",
2900            stringify!(__wrefs)
2901        )
2902    );
2903    assert_eq!(
2904        unsafe { &(*(::core::ptr::null::<__pthread_cond_s>())).__g_signals as *const _ as usize },
2905        40usize,
2906        concat!(
2907            "Offset of field: ",
2908            stringify!(__pthread_cond_s),
2909            "::",
2910            stringify!(__g_signals)
2911        )
2912    );
2913}
2914pub type pthread_t = libc::c_ulong;
2915#[repr(C)]
2916#[derive(Copy, Clone)]
2917pub union pthread_mutexattr_t {
2918    pub __size: [libc::c_char; 4usize],
2919    pub __align: libc::c_int,
2920    _bindgen_union_align: u32,
2921}
2922#[test]
2923fn bindgen_test_layout_pthread_mutexattr_t() {
2924    assert_eq!(
2925        ::core::mem::size_of::<pthread_mutexattr_t>(),
2926        4usize,
2927        concat!("Size of: ", stringify!(pthread_mutexattr_t))
2928    );
2929    assert_eq!(
2930        ::core::mem::align_of::<pthread_mutexattr_t>(),
2931        4usize,
2932        concat!("Alignment of ", stringify!(pthread_mutexattr_t))
2933    );
2934    assert_eq!(
2935        unsafe { &(*(::core::ptr::null::<pthread_mutexattr_t>())).__size as *const _ as usize },
2936        0usize,
2937        concat!(
2938            "Offset of field: ",
2939            stringify!(pthread_mutexattr_t),
2940            "::",
2941            stringify!(__size)
2942        )
2943    );
2944    assert_eq!(
2945        unsafe { &(*(::core::ptr::null::<pthread_mutexattr_t>())).__align as *const _ as usize },
2946        0usize,
2947        concat!(
2948            "Offset of field: ",
2949            stringify!(pthread_mutexattr_t),
2950            "::",
2951            stringify!(__align)
2952        )
2953    );
2954}
2955#[repr(C)]
2956#[derive(Copy, Clone)]
2957pub union pthread_condattr_t {
2958    pub __size: [libc::c_char; 4usize],
2959    pub __align: libc::c_int,
2960    _bindgen_union_align: u32,
2961}
2962#[test]
2963fn bindgen_test_layout_pthread_condattr_t() {
2964    assert_eq!(
2965        ::core::mem::size_of::<pthread_condattr_t>(),
2966        4usize,
2967        concat!("Size of: ", stringify!(pthread_condattr_t))
2968    );
2969    assert_eq!(
2970        ::core::mem::align_of::<pthread_condattr_t>(),
2971        4usize,
2972        concat!("Alignment of ", stringify!(pthread_condattr_t))
2973    );
2974    assert_eq!(
2975        unsafe { &(*(::core::ptr::null::<pthread_condattr_t>())).__size as *const _ as usize },
2976        0usize,
2977        concat!(
2978            "Offset of field: ",
2979            stringify!(pthread_condattr_t),
2980            "::",
2981            stringify!(__size)
2982        )
2983    );
2984    assert_eq!(
2985        unsafe { &(*(::core::ptr::null::<pthread_condattr_t>())).__align as *const _ as usize },
2986        0usize,
2987        concat!(
2988            "Offset of field: ",
2989            stringify!(pthread_condattr_t),
2990            "::",
2991            stringify!(__align)
2992        )
2993    );
2994}
2995pub type pthread_key_t = libc::c_uint;
2996pub type pthread_once_t = libc::c_int;
2997#[repr(C)]
2998#[derive(Copy, Clone)]
2999pub union pthread_attr_t {
3000    pub __size: [libc::c_char; 56usize],
3001    pub __align: libc::c_long,
3002    _bindgen_union_align: [u64; 7usize],
3003}
3004#[test]
3005fn bindgen_test_layout_pthread_attr_t() {
3006    assert_eq!(
3007        ::core::mem::size_of::<pthread_attr_t>(),
3008        56usize,
3009        concat!("Size of: ", stringify!(pthread_attr_t))
3010    );
3011    assert_eq!(
3012        ::core::mem::align_of::<pthread_attr_t>(),
3013        8usize,
3014        concat!("Alignment of ", stringify!(pthread_attr_t))
3015    );
3016    assert_eq!(
3017        unsafe { &(*(::core::ptr::null::<pthread_attr_t>())).__size as *const _ as usize },
3018        0usize,
3019        concat!(
3020            "Offset of field: ",
3021            stringify!(pthread_attr_t),
3022            "::",
3023            stringify!(__size)
3024        )
3025    );
3026    assert_eq!(
3027        unsafe { &(*(::core::ptr::null::<pthread_attr_t>())).__align as *const _ as usize },
3028        0usize,
3029        concat!(
3030            "Offset of field: ",
3031            stringify!(pthread_attr_t),
3032            "::",
3033            stringify!(__align)
3034        )
3035    );
3036}
3037#[repr(C)]
3038#[derive(Copy, Clone)]
3039pub union pthread_mutex_t {
3040    pub __data: __pthread_mutex_s,
3041    pub __size: [libc::c_char; 40usize],
3042    pub __align: libc::c_long,
3043    _bindgen_union_align: [u64; 5usize],
3044}
3045#[test]
3046fn bindgen_test_layout_pthread_mutex_t() {
3047    assert_eq!(
3048        ::core::mem::size_of::<pthread_mutex_t>(),
3049        40usize,
3050        concat!("Size of: ", stringify!(pthread_mutex_t))
3051    );
3052    assert_eq!(
3053        ::core::mem::align_of::<pthread_mutex_t>(),
3054        8usize,
3055        concat!("Alignment of ", stringify!(pthread_mutex_t))
3056    );
3057    assert_eq!(
3058        unsafe { &(*(::core::ptr::null::<pthread_mutex_t>())).__data as *const _ as usize },
3059        0usize,
3060        concat!(
3061            "Offset of field: ",
3062            stringify!(pthread_mutex_t),
3063            "::",
3064            stringify!(__data)
3065        )
3066    );
3067    assert_eq!(
3068        unsafe { &(*(::core::ptr::null::<pthread_mutex_t>())).__size as *const _ as usize },
3069        0usize,
3070        concat!(
3071            "Offset of field: ",
3072            stringify!(pthread_mutex_t),
3073            "::",
3074            stringify!(__size)
3075        )
3076    );
3077    assert_eq!(
3078        unsafe { &(*(::core::ptr::null::<pthread_mutex_t>())).__align as *const _ as usize },
3079        0usize,
3080        concat!(
3081            "Offset of field: ",
3082            stringify!(pthread_mutex_t),
3083            "::",
3084            stringify!(__align)
3085        )
3086    );
3087}
3088#[repr(C)]
3089#[derive(Copy, Clone)]
3090pub union pthread_cond_t {
3091    pub __data: __pthread_cond_s,
3092    pub __size: [libc::c_char; 48usize],
3093    pub __align: libc::c_longlong,
3094    _bindgen_union_align: [u64; 6usize],
3095}
3096#[test]
3097fn bindgen_test_layout_pthread_cond_t() {
3098    assert_eq!(
3099        ::core::mem::size_of::<pthread_cond_t>(),
3100        48usize,
3101        concat!("Size of: ", stringify!(pthread_cond_t))
3102    );
3103    assert_eq!(
3104        ::core::mem::align_of::<pthread_cond_t>(),
3105        8usize,
3106        concat!("Alignment of ", stringify!(pthread_cond_t))
3107    );
3108    assert_eq!(
3109        unsafe { &(*(::core::ptr::null::<pthread_cond_t>())).__data as *const _ as usize },
3110        0usize,
3111        concat!(
3112            "Offset of field: ",
3113            stringify!(pthread_cond_t),
3114            "::",
3115            stringify!(__data)
3116        )
3117    );
3118    assert_eq!(
3119        unsafe { &(*(::core::ptr::null::<pthread_cond_t>())).__size as *const _ as usize },
3120        0usize,
3121        concat!(
3122            "Offset of field: ",
3123            stringify!(pthread_cond_t),
3124            "::",
3125            stringify!(__size)
3126        )
3127    );
3128    assert_eq!(
3129        unsafe { &(*(::core::ptr::null::<pthread_cond_t>())).__align as *const _ as usize },
3130        0usize,
3131        concat!(
3132            "Offset of field: ",
3133            stringify!(pthread_cond_t),
3134            "::",
3135            stringify!(__align)
3136        )
3137    );
3138}
3139#[repr(C)]
3140#[derive(Copy, Clone)]
3141pub union pthread_rwlock_t {
3142    pub __data: __pthread_rwlock_arch_t,
3143    pub __size: [libc::c_char; 56usize],
3144    pub __align: libc::c_long,
3145    _bindgen_union_align: [u64; 7usize],
3146}
3147#[test]
3148fn bindgen_test_layout_pthread_rwlock_t() {
3149    assert_eq!(
3150        ::core::mem::size_of::<pthread_rwlock_t>(),
3151        56usize,
3152        concat!("Size of: ", stringify!(pthread_rwlock_t))
3153    );
3154    assert_eq!(
3155        ::core::mem::align_of::<pthread_rwlock_t>(),
3156        8usize,
3157        concat!("Alignment of ", stringify!(pthread_rwlock_t))
3158    );
3159    assert_eq!(
3160        unsafe { &(*(::core::ptr::null::<pthread_rwlock_t>())).__data as *const _ as usize },
3161        0usize,
3162        concat!(
3163            "Offset of field: ",
3164            stringify!(pthread_rwlock_t),
3165            "::",
3166            stringify!(__data)
3167        )
3168    );
3169    assert_eq!(
3170        unsafe { &(*(::core::ptr::null::<pthread_rwlock_t>())).__size as *const _ as usize },
3171        0usize,
3172        concat!(
3173            "Offset of field: ",
3174            stringify!(pthread_rwlock_t),
3175            "::",
3176            stringify!(__size)
3177        )
3178    );
3179    assert_eq!(
3180        unsafe { &(*(::core::ptr::null::<pthread_rwlock_t>())).__align as *const _ as usize },
3181        0usize,
3182        concat!(
3183            "Offset of field: ",
3184            stringify!(pthread_rwlock_t),
3185            "::",
3186            stringify!(__align)
3187        )
3188    );
3189}
3190#[repr(C)]
3191#[derive(Copy, Clone)]
3192pub union pthread_rwlockattr_t {
3193    pub __size: [libc::c_char; 8usize],
3194    pub __align: libc::c_long,
3195    _bindgen_union_align: u64,
3196}
3197#[test]
3198fn bindgen_test_layout_pthread_rwlockattr_t() {
3199    assert_eq!(
3200        ::core::mem::size_of::<pthread_rwlockattr_t>(),
3201        8usize,
3202        concat!("Size of: ", stringify!(pthread_rwlockattr_t))
3203    );
3204    assert_eq!(
3205        ::core::mem::align_of::<pthread_rwlockattr_t>(),
3206        8usize,
3207        concat!("Alignment of ", stringify!(pthread_rwlockattr_t))
3208    );
3209    assert_eq!(
3210        unsafe { &(*(::core::ptr::null::<pthread_rwlockattr_t>())).__size as *const _ as usize },
3211        0usize,
3212        concat!(
3213            "Offset of field: ",
3214            stringify!(pthread_rwlockattr_t),
3215            "::",
3216            stringify!(__size)
3217        )
3218    );
3219    assert_eq!(
3220        unsafe { &(*(::core::ptr::null::<pthread_rwlockattr_t>())).__align as *const _ as usize },
3221        0usize,
3222        concat!(
3223            "Offset of field: ",
3224            stringify!(pthread_rwlockattr_t),
3225            "::",
3226            stringify!(__align)
3227        )
3228    );
3229}
3230pub type pthread_spinlock_t = libc::c_int;
3231#[repr(C)]
3232#[derive(Copy, Clone)]
3233pub union pthread_barrier_t {
3234    pub __size: [libc::c_char; 32usize],
3235    pub __align: libc::c_long,
3236    _bindgen_union_align: [u64; 4usize],
3237}
3238#[test]
3239fn bindgen_test_layout_pthread_barrier_t() {
3240    assert_eq!(
3241        ::core::mem::size_of::<pthread_barrier_t>(),
3242        32usize,
3243        concat!("Size of: ", stringify!(pthread_barrier_t))
3244    );
3245    assert_eq!(
3246        ::core::mem::align_of::<pthread_barrier_t>(),
3247        8usize,
3248        concat!("Alignment of ", stringify!(pthread_barrier_t))
3249    );
3250    assert_eq!(
3251        unsafe { &(*(::core::ptr::null::<pthread_barrier_t>())).__size as *const _ as usize },
3252        0usize,
3253        concat!(
3254            "Offset of field: ",
3255            stringify!(pthread_barrier_t),
3256            "::",
3257            stringify!(__size)
3258        )
3259    );
3260    assert_eq!(
3261        unsafe { &(*(::core::ptr::null::<pthread_barrier_t>())).__align as *const _ as usize },
3262        0usize,
3263        concat!(
3264            "Offset of field: ",
3265            stringify!(pthread_barrier_t),
3266            "::",
3267            stringify!(__align)
3268        )
3269    );
3270}
3271#[repr(C)]
3272#[derive(Copy, Clone)]
3273pub union pthread_barrierattr_t {
3274    pub __size: [libc::c_char; 4usize],
3275    pub __align: libc::c_int,
3276    _bindgen_union_align: u32,
3277}
3278#[test]
3279fn bindgen_test_layout_pthread_barrierattr_t() {
3280    assert_eq!(
3281        ::core::mem::size_of::<pthread_barrierattr_t>(),
3282        4usize,
3283        concat!("Size of: ", stringify!(pthread_barrierattr_t))
3284    );
3285    assert_eq!(
3286        ::core::mem::align_of::<pthread_barrierattr_t>(),
3287        4usize,
3288        concat!("Alignment of ", stringify!(pthread_barrierattr_t))
3289    );
3290    assert_eq!(
3291        unsafe { &(*(::core::ptr::null::<pthread_barrierattr_t>())).__size as *const _ as usize },
3292        0usize,
3293        concat!(
3294            "Offset of field: ",
3295            stringify!(pthread_barrierattr_t),
3296            "::",
3297            stringify!(__size)
3298        )
3299    );
3300    assert_eq!(
3301        unsafe { &(*(::core::ptr::null::<pthread_barrierattr_t>())).__align as *const _ as usize },
3302        0usize,
3303        concat!(
3304            "Offset of field: ",
3305            stringify!(pthread_barrierattr_t),
3306            "::",
3307            stringify!(__align)
3308        )
3309    );
3310}
3311extern "C" {
3312    pub fn random() -> libc::c_long;
3313}
3314extern "C" {
3315    pub fn srandom(__seed: libc::c_uint);
3316}
3317extern "C" {
3318    pub fn initstate(
3319        __seed: libc::c_uint,
3320        __statebuf: *mut libc::c_char,
3321        __statelen: usize,
3322    ) -> *mut libc::c_char;
3323}
3324extern "C" {
3325    pub fn setstate(__statebuf: *mut libc::c_char) -> *mut libc::c_char;
3326}
3327#[repr(C)]
3328#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3329pub struct random_data {
3330    pub fptr: *mut i32,
3331    pub rptr: *mut i32,
3332    pub state: *mut i32,
3333    pub rand_type: libc::c_int,
3334    pub rand_deg: libc::c_int,
3335    pub rand_sep: libc::c_int,
3336    pub end_ptr: *mut i32,
3337}
3338#[test]
3339fn bindgen_test_layout_random_data() {
3340    assert_eq!(
3341        ::core::mem::size_of::<random_data>(),
3342        48usize,
3343        concat!("Size of: ", stringify!(random_data))
3344    );
3345    assert_eq!(
3346        ::core::mem::align_of::<random_data>(),
3347        8usize,
3348        concat!("Alignment of ", stringify!(random_data))
3349    );
3350    assert_eq!(
3351        unsafe { &(*(::core::ptr::null::<random_data>())).fptr as *const _ as usize },
3352        0usize,
3353        concat!(
3354            "Offset of field: ",
3355            stringify!(random_data),
3356            "::",
3357            stringify!(fptr)
3358        )
3359    );
3360    assert_eq!(
3361        unsafe { &(*(::core::ptr::null::<random_data>())).rptr as *const _ as usize },
3362        8usize,
3363        concat!(
3364            "Offset of field: ",
3365            stringify!(random_data),
3366            "::",
3367            stringify!(rptr)
3368        )
3369    );
3370    assert_eq!(
3371        unsafe { &(*(::core::ptr::null::<random_data>())).state as *const _ as usize },
3372        16usize,
3373        concat!(
3374            "Offset of field: ",
3375            stringify!(random_data),
3376            "::",
3377            stringify!(state)
3378        )
3379    );
3380    assert_eq!(
3381        unsafe { &(*(::core::ptr::null::<random_data>())).rand_type as *const _ as usize },
3382        24usize,
3383        concat!(
3384            "Offset of field: ",
3385            stringify!(random_data),
3386            "::",
3387            stringify!(rand_type)
3388        )
3389    );
3390    assert_eq!(
3391        unsafe { &(*(::core::ptr::null::<random_data>())).rand_deg as *const _ as usize },
3392        28usize,
3393        concat!(
3394            "Offset of field: ",
3395            stringify!(random_data),
3396            "::",
3397            stringify!(rand_deg)
3398        )
3399    );
3400    assert_eq!(
3401        unsafe { &(*(::core::ptr::null::<random_data>())).rand_sep as *const _ as usize },
3402        32usize,
3403        concat!(
3404            "Offset of field: ",
3405            stringify!(random_data),
3406            "::",
3407            stringify!(rand_sep)
3408        )
3409    );
3410    assert_eq!(
3411        unsafe { &(*(::core::ptr::null::<random_data>())).end_ptr as *const _ as usize },
3412        40usize,
3413        concat!(
3414            "Offset of field: ",
3415            stringify!(random_data),
3416            "::",
3417            stringify!(end_ptr)
3418        )
3419    );
3420}
3421extern "C" {
3422    pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> libc::c_int;
3423}
3424extern "C" {
3425    pub fn srandom_r(__seed: libc::c_uint, __buf: *mut random_data) -> libc::c_int;
3426}
3427extern "C" {
3428    pub fn initstate_r(
3429        __seed: libc::c_uint,
3430        __statebuf: *mut libc::c_char,
3431        __statelen: usize,
3432        __buf: *mut random_data,
3433    ) -> libc::c_int;
3434}
3435extern "C" {
3436    pub fn setstate_r(__statebuf: *mut libc::c_char, __buf: *mut random_data) -> libc::c_int;
3437}
3438extern "C" {
3439    pub fn rand() -> libc::c_int;
3440}
3441extern "C" {
3442    pub fn srand(__seed: libc::c_uint);
3443}
3444extern "C" {
3445    pub fn rand_r(__seed: *mut libc::c_uint) -> libc::c_int;
3446}
3447extern "C" {
3448    pub fn drand48() -> f64;
3449}
3450extern "C" {
3451    pub fn erand48(__xsubi: *mut libc::c_ushort) -> f64;
3452}
3453extern "C" {
3454    pub fn lrand48() -> libc::c_long;
3455}
3456extern "C" {
3457    pub fn nrand48(__xsubi: *mut libc::c_ushort) -> libc::c_long;
3458}
3459extern "C" {
3460    pub fn mrand48() -> libc::c_long;
3461}
3462extern "C" {
3463    pub fn jrand48(__xsubi: *mut libc::c_ushort) -> libc::c_long;
3464}
3465extern "C" {
3466    pub fn srand48(__seedval: libc::c_long);
3467}
3468extern "C" {
3469    pub fn seed48(__seed16v: *mut libc::c_ushort) -> *mut libc::c_ushort;
3470}
3471extern "C" {
3472    pub fn lcong48(__param: *mut libc::c_ushort);
3473}
3474#[repr(C)]
3475#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3476pub struct drand48_data {
3477    pub __x: [libc::c_ushort; 3usize],
3478    pub __old_x: [libc::c_ushort; 3usize],
3479    pub __c: libc::c_ushort,
3480    pub __init: libc::c_ushort,
3481    pub __a: libc::c_ulonglong,
3482}
3483#[test]
3484fn bindgen_test_layout_drand48_data() {
3485    assert_eq!(
3486        ::core::mem::size_of::<drand48_data>(),
3487        24usize,
3488        concat!("Size of: ", stringify!(drand48_data))
3489    );
3490    assert_eq!(
3491        ::core::mem::align_of::<drand48_data>(),
3492        8usize,
3493        concat!("Alignment of ", stringify!(drand48_data))
3494    );
3495    assert_eq!(
3496        unsafe { &(*(::core::ptr::null::<drand48_data>())).__x as *const _ as usize },
3497        0usize,
3498        concat!(
3499            "Offset of field: ",
3500            stringify!(drand48_data),
3501            "::",
3502            stringify!(__x)
3503        )
3504    );
3505    assert_eq!(
3506        unsafe { &(*(::core::ptr::null::<drand48_data>())).__old_x as *const _ as usize },
3507        6usize,
3508        concat!(
3509            "Offset of field: ",
3510            stringify!(drand48_data),
3511            "::",
3512            stringify!(__old_x)
3513        )
3514    );
3515    assert_eq!(
3516        unsafe { &(*(::core::ptr::null::<drand48_data>())).__c as *const _ as usize },
3517        12usize,
3518        concat!(
3519            "Offset of field: ",
3520            stringify!(drand48_data),
3521            "::",
3522            stringify!(__c)
3523        )
3524    );
3525    assert_eq!(
3526        unsafe { &(*(::core::ptr::null::<drand48_data>())).__init as *const _ as usize },
3527        14usize,
3528        concat!(
3529            "Offset of field: ",
3530            stringify!(drand48_data),
3531            "::",
3532            stringify!(__init)
3533        )
3534    );
3535    assert_eq!(
3536        unsafe { &(*(::core::ptr::null::<drand48_data>())).__a as *const _ as usize },
3537        16usize,
3538        concat!(
3539            "Offset of field: ",
3540            stringify!(drand48_data),
3541            "::",
3542            stringify!(__a)
3543        )
3544    );
3545}
3546extern "C" {
3547    pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> libc::c_int;
3548}
3549extern "C" {
3550    pub fn erand48_r(
3551        __xsubi: *mut libc::c_ushort,
3552        __buffer: *mut drand48_data,
3553        __result: *mut f64,
3554    ) -> libc::c_int;
3555}
3556extern "C" {
3557    pub fn lrand48_r(__buffer: *mut drand48_data, __result: *mut libc::c_long) -> libc::c_int;
3558}
3559extern "C" {
3560    pub fn nrand48_r(
3561        __xsubi: *mut libc::c_ushort,
3562        __buffer: *mut drand48_data,
3563        __result: *mut libc::c_long,
3564    ) -> libc::c_int;
3565}
3566extern "C" {
3567    pub fn mrand48_r(__buffer: *mut drand48_data, __result: *mut libc::c_long) -> libc::c_int;
3568}
3569extern "C" {
3570    pub fn jrand48_r(
3571        __xsubi: *mut libc::c_ushort,
3572        __buffer: *mut drand48_data,
3573        __result: *mut libc::c_long,
3574    ) -> libc::c_int;
3575}
3576extern "C" {
3577    pub fn srand48_r(__seedval: libc::c_long, __buffer: *mut drand48_data) -> libc::c_int;
3578}
3579extern "C" {
3580    pub fn seed48_r(__seed16v: *mut libc::c_ushort, __buffer: *mut drand48_data) -> libc::c_int;
3581}
3582extern "C" {
3583    pub fn lcong48_r(__param: *mut libc::c_ushort, __buffer: *mut drand48_data) -> libc::c_int;
3584}
3585extern "C" {
3586    pub fn malloc(__size: libc::c_ulong) -> *mut libc::c_void;
3587}
3588extern "C" {
3589    pub fn calloc(__nmemb: libc::c_ulong, __size: libc::c_ulong) -> *mut libc::c_void;
3590}
3591extern "C" {
3592    pub fn realloc(__ptr: *mut libc::c_void, __size: libc::c_ulong) -> *mut libc::c_void;
3593}
3594extern "C" {
3595    pub fn reallocarray(
3596        __ptr: *mut libc::c_void,
3597        __nmemb: usize,
3598        __size: usize,
3599    ) -> *mut libc::c_void;
3600}
3601extern "C" {
3602    pub fn free(__ptr: *mut libc::c_void);
3603}
3604extern "C" {
3605    pub fn alloca(__size: libc::c_ulong) -> *mut libc::c_void;
3606}
3607extern "C" {
3608    pub fn valloc(__size: usize) -> *mut libc::c_void;
3609}
3610extern "C" {
3611    pub fn posix_memalign(
3612        __memptr: *mut *mut libc::c_void,
3613        __alignment: usize,
3614        __size: usize,
3615    ) -> libc::c_int;
3616}
3617extern "C" {
3618    pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut libc::c_void;
3619}
3620extern "C" {
3621    pub fn abort();
3622}
3623extern "C" {
3624    pub fn atexit(__func: ::core::option::Option<unsafe extern "C" fn()>) -> libc::c_int;
3625}
3626extern "C" {
3627    pub fn at_quick_exit(__func: ::core::option::Option<unsafe extern "C" fn()>) -> libc::c_int;
3628}
3629extern "C" {
3630    pub fn on_exit(
3631        __func: ::core::option::Option<
3632            unsafe extern "C" fn(__status: libc::c_int, __arg: *mut libc::c_void),
3633        >,
3634        __arg: *mut libc::c_void,
3635    ) -> libc::c_int;
3636}
3637extern "C" {
3638    pub fn exit(__status: libc::c_int);
3639}
3640extern "C" {
3641    pub fn quick_exit(__status: libc::c_int);
3642}
3643extern "C" {
3644    pub fn getenv(__name: *const libc::c_char) -> *mut libc::c_char;
3645}
3646extern "C" {
3647    pub fn putenv(__string: *mut libc::c_char) -> libc::c_int;
3648}
3649extern "C" {
3650    pub fn setenv(
3651        __name: *const libc::c_char,
3652        __value: *const libc::c_char,
3653        __replace: libc::c_int,
3654    ) -> libc::c_int;
3655}
3656extern "C" {
3657    pub fn unsetenv(__name: *const libc::c_char) -> libc::c_int;
3658}
3659extern "C" {
3660    pub fn clearenv() -> libc::c_int;
3661}
3662extern "C" {
3663    pub fn mktemp(__template: *mut libc::c_char) -> *mut libc::c_char;
3664}
3665extern "C" {
3666    #[link_name = "\u{1}mkstemp64"]
3667    pub fn mkstemp(__template: *mut libc::c_char) -> libc::c_int;
3668}
3669extern "C" {
3670    #[link_name = "\u{1}mkstemps64"]
3671    pub fn mkstemps(__template: *mut libc::c_char, __suffixlen: libc::c_int) -> libc::c_int;
3672}
3673extern "C" {
3674    pub fn mkdtemp(__template: *mut libc::c_char) -> *mut libc::c_char;
3675}
3676extern "C" {
3677    pub fn system(__command: *const libc::c_char) -> libc::c_int;
3678}
3679extern "C" {
3680    pub fn realpath(
3681        __name: *const libc::c_char,
3682        __resolved: *mut libc::c_char,
3683    ) -> *mut libc::c_char;
3684}
3685pub type __compar_fn_t = ::core::option::Option<
3686    unsafe extern "C" fn(arg1: *const libc::c_void, arg2: *const libc::c_void) -> libc::c_int,
3687>;
3688extern "C" {
3689    pub fn bsearch(
3690        __key: *const libc::c_void,
3691        __base: *const libc::c_void,
3692        __nmemb: usize,
3693        __size: usize,
3694        __compar: __compar_fn_t,
3695    ) -> *mut libc::c_void;
3696}
3697extern "C" {
3698    pub fn qsort(__base: *mut libc::c_void, __nmemb: usize, __size: usize, __compar: __compar_fn_t);
3699}
3700extern "C" {
3701    pub fn abs(__x: libc::c_int) -> libc::c_int;
3702}
3703extern "C" {
3704    pub fn labs(__x: libc::c_long) -> libc::c_long;
3705}
3706extern "C" {
3707    pub fn llabs(__x: libc::c_longlong) -> libc::c_longlong;
3708}
3709extern "C" {
3710    pub fn div(__numer: libc::c_int, __denom: libc::c_int) -> div_t;
3711}
3712extern "C" {
3713    pub fn ldiv(__numer: libc::c_long, __denom: libc::c_long) -> ldiv_t;
3714}
3715extern "C" {
3716    pub fn lldiv(__numer: libc::c_longlong, __denom: libc::c_longlong) -> lldiv_t;
3717}
3718extern "C" {
3719    pub fn ecvt(
3720        __value: f64,
3721        __ndigit: libc::c_int,
3722        __decpt: *mut libc::c_int,
3723        __sign: *mut libc::c_int,
3724    ) -> *mut libc::c_char;
3725}
3726extern "C" {
3727    pub fn fcvt(
3728        __value: f64,
3729        __ndigit: libc::c_int,
3730        __decpt: *mut libc::c_int,
3731        __sign: *mut libc::c_int,
3732    ) -> *mut libc::c_char;
3733}
3734extern "C" {
3735    pub fn gcvt(__value: f64, __ndigit: libc::c_int, __buf: *mut libc::c_char)
3736        -> *mut libc::c_char;
3737}
3738extern "C" {
3739    pub fn mblen(__s: *const libc::c_char, __n: usize) -> libc::c_int;
3740}
3741extern "C" {
3742    pub fn mbtowc(__pwc: *mut wchar_t, __s: *const libc::c_char, __n: usize) -> libc::c_int;
3743}
3744extern "C" {
3745    pub fn wctomb(__s: *mut libc::c_char, __wchar: wchar_t) -> libc::c_int;
3746}
3747extern "C" {
3748    pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const libc::c_char, __n: usize) -> usize;
3749}
3750extern "C" {
3751    pub fn wcstombs(__s: *mut libc::c_char, __pwcs: *const wchar_t, __n: usize) -> usize;
3752}
3753extern "C" {
3754    pub fn rpmatch(__response: *const libc::c_char) -> libc::c_int;
3755}
3756extern "C" {
3757    pub fn getsubopt(
3758        __optionp: *mut *mut libc::c_char,
3759        __tokens: *const *mut libc::c_char,
3760        __valuep: *mut *mut libc::c_char,
3761    ) -> libc::c_int;
3762}
3763extern "C" {
3764    pub fn getloadavg(__loadavg: *mut f64, __nelem: libc::c_int) -> libc::c_int;
3765}
3766pub type float_t = f32;
3767pub type double_t = f64;
3768extern "C" {
3769    pub fn acos(__x: f64) -> f64;
3770}
3771extern "C" {
3772    pub fn asin(__x: f64) -> f64;
3773}
3774extern "C" {
3775    pub fn atan(__x: f64) -> f64;
3776}
3777extern "C" {
3778    pub fn atan2(__y: f64, __x: f64) -> f64;
3779}
3780extern "C" {
3781    pub fn cos(__x: f64) -> f64;
3782}
3783extern "C" {
3784    pub fn sin(__x: f64) -> f64;
3785}
3786extern "C" {
3787    pub fn tan(__x: f64) -> f64;
3788}
3789extern "C" {
3790    pub fn cosh(__x: f64) -> f64;
3791}
3792extern "C" {
3793    pub fn sinh(__x: f64) -> f64;
3794}
3795extern "C" {
3796    pub fn tanh(__x: f64) -> f64;
3797}
3798extern "C" {
3799    pub fn acosh(__x: f64) -> f64;
3800}
3801extern "C" {
3802    pub fn asinh(__x: f64) -> f64;
3803}
3804extern "C" {
3805    pub fn atanh(__x: f64) -> f64;
3806}
3807extern "C" {
3808    pub fn exp(__x: f64) -> f64;
3809}
3810extern "C" {
3811    pub fn frexp(__x: f64, __exponent: *mut libc::c_int) -> f64;
3812}
3813extern "C" {
3814    pub fn ldexp(__x: f64, __exponent: libc::c_int) -> f64;
3815}
3816extern "C" {
3817    pub fn log(__x: f64) -> f64;
3818}
3819extern "C" {
3820    pub fn log10(__x: f64) -> f64;
3821}
3822extern "C" {
3823    pub fn modf(__x: f64, __iptr: *mut f64) -> f64;
3824}
3825extern "C" {
3826    pub fn expm1(__x: f64) -> f64;
3827}
3828extern "C" {
3829    pub fn log1p(__x: f64) -> f64;
3830}
3831extern "C" {
3832    pub fn logb(__x: f64) -> f64;
3833}
3834extern "C" {
3835    pub fn exp2(__x: f64) -> f64;
3836}
3837extern "C" {
3838    pub fn log2(__x: f64) -> f64;
3839}
3840extern "C" {
3841    pub fn pow(__x: f64, __y: f64) -> f64;
3842}
3843extern "C" {
3844    pub fn sqrt(__x: f64) -> f64;
3845}
3846extern "C" {
3847    pub fn hypot(__x: f64, __y: f64) -> f64;
3848}
3849extern "C" {
3850    pub fn cbrt(__x: f64) -> f64;
3851}
3852extern "C" {
3853    pub fn ceil(__x: f64) -> f64;
3854}
3855extern "C" {
3856    pub fn fabs(__x: f64) -> f64;
3857}
3858extern "C" {
3859    pub fn floor(__x: f64) -> f64;
3860}
3861extern "C" {
3862    pub fn fmod(__x: f64, __y: f64) -> f64;
3863}
3864extern "C" {
3865    pub fn isinf(__value: f64) -> libc::c_int;
3866}
3867extern "C" {
3868    pub fn finite(__value: f64) -> libc::c_int;
3869}
3870extern "C" {
3871    pub fn drem(__x: f64, __y: f64) -> f64;
3872}
3873extern "C" {
3874    pub fn significand(__x: f64) -> f64;
3875}
3876extern "C" {
3877    pub fn copysign(__x: f64, __y: f64) -> f64;
3878}
3879extern "C" {
3880    pub fn nan(__tagb: *const libc::c_char) -> f64;
3881}
3882extern "C" {
3883    pub fn isnan(__value: f64) -> libc::c_int;
3884}
3885extern "C" {
3886    pub fn j0(arg1: f64) -> f64;
3887}
3888extern "C" {
3889    pub fn j1(arg1: f64) -> f64;
3890}
3891extern "C" {
3892    pub fn jn(arg1: libc::c_int, arg2: f64) -> f64;
3893}
3894extern "C" {
3895    pub fn y0(arg1: f64) -> f64;
3896}
3897extern "C" {
3898    pub fn y1(arg1: f64) -> f64;
3899}
3900extern "C" {
3901    pub fn yn(arg1: libc::c_int, arg2: f64) -> f64;
3902}
3903extern "C" {
3904    pub fn erf(arg1: f64) -> f64;
3905}
3906extern "C" {
3907    pub fn erfc(arg1: f64) -> f64;
3908}
3909extern "C" {
3910    pub fn lgamma(arg1: f64) -> f64;
3911}
3912extern "C" {
3913    pub fn tgamma(arg1: f64) -> f64;
3914}
3915extern "C" {
3916    pub fn gamma(arg1: f64) -> f64;
3917}
3918extern "C" {
3919    pub fn lgamma_r(arg1: f64, __signgamp: *mut libc::c_int) -> f64;
3920}
3921extern "C" {
3922    pub fn rint(__x: f64) -> f64;
3923}
3924extern "C" {
3925    pub fn nextafter(__x: f64, __y: f64) -> f64;
3926}
3927extern "C" {
3928    pub fn remainder(__x: f64, __y: f64) -> f64;
3929}
3930extern "C" {
3931    pub fn scalbn(__x: f64, __n: libc::c_int) -> f64;
3932}
3933extern "C" {
3934    pub fn ilogb(__x: f64) -> libc::c_int;
3935}
3936extern "C" {
3937    pub fn scalbln(__x: f64, __n: libc::c_long) -> f64;
3938}
3939extern "C" {
3940    pub fn nearbyint(__x: f64) -> f64;
3941}
3942extern "C" {
3943    pub fn round(__x: f64) -> f64;
3944}
3945extern "C" {
3946    pub fn trunc(__x: f64) -> f64;
3947}
3948extern "C" {
3949    pub fn remquo(__x: f64, __y: f64, __quo: *mut libc::c_int) -> f64;
3950}
3951extern "C" {
3952    pub fn lrint(__x: f64) -> libc::c_long;
3953}
3954extern "C" {
3955    pub fn llrint(__x: f64) -> libc::c_longlong;
3956}
3957extern "C" {
3958    pub fn lround(__x: f64) -> libc::c_long;
3959}
3960extern "C" {
3961    pub fn llround(__x: f64) -> libc::c_longlong;
3962}
3963extern "C" {
3964    pub fn fdim(__x: f64, __y: f64) -> f64;
3965}
3966extern "C" {
3967    pub fn fmax(__x: f64, __y: f64) -> f64;
3968}
3969extern "C" {
3970    pub fn fmin(__x: f64, __y: f64) -> f64;
3971}
3972extern "C" {
3973    pub fn fma(__x: f64, __y: f64, __z: f64) -> f64;
3974}
3975extern "C" {
3976    pub fn scalb(__x: f64, __n: f64) -> f64;
3977}
3978extern "C" {
3979    pub fn acosf(__x: f32) -> f32;
3980}
3981extern "C" {
3982    pub fn asinf(__x: f32) -> f32;
3983}
3984extern "C" {
3985    pub fn atanf(__x: f32) -> f32;
3986}
3987extern "C" {
3988    pub fn atan2f(__y: f32, __x: f32) -> f32;
3989}
3990extern "C" {
3991    pub fn cosf(__x: f32) -> f32;
3992}
3993extern "C" {
3994    pub fn sinf(__x: f32) -> f32;
3995}
3996extern "C" {
3997    pub fn tanf(__x: f32) -> f32;
3998}
3999extern "C" {
4000    pub fn coshf(__x: f32) -> f32;
4001}
4002extern "C" {
4003    pub fn sinhf(__x: f32) -> f32;
4004}
4005extern "C" {
4006    pub fn tanhf(__x: f32) -> f32;
4007}
4008extern "C" {
4009    pub fn acoshf(__x: f32) -> f32;
4010}
4011extern "C" {
4012    pub fn asinhf(__x: f32) -> f32;
4013}
4014extern "C" {
4015    pub fn atanhf(__x: f32) -> f32;
4016}
4017extern "C" {
4018    pub fn expf(__x: f32) -> f32;
4019}
4020extern "C" {
4021    pub fn frexpf(__x: f32, __exponent: *mut libc::c_int) -> f32;
4022}
4023extern "C" {
4024    pub fn ldexpf(__x: f32, __exponent: libc::c_int) -> f32;
4025}
4026extern "C" {
4027    pub fn logf(__x: f32) -> f32;
4028}
4029extern "C" {
4030    pub fn log10f(__x: f32) -> f32;
4031}
4032extern "C" {
4033    pub fn modff(__x: f32, __iptr: *mut f32) -> f32;
4034}
4035extern "C" {
4036    pub fn expm1f(__x: f32) -> f32;
4037}
4038extern "C" {
4039    pub fn log1pf(__x: f32) -> f32;
4040}
4041extern "C" {
4042    pub fn logbf(__x: f32) -> f32;
4043}
4044extern "C" {
4045    pub fn exp2f(__x: f32) -> f32;
4046}
4047extern "C" {
4048    pub fn log2f(__x: f32) -> f32;
4049}
4050extern "C" {
4051    pub fn powf(__x: f32, __y: f32) -> f32;
4052}
4053extern "C" {
4054    pub fn sqrtf(__x: f32) -> f32;
4055}
4056extern "C" {
4057    pub fn hypotf(__x: f32, __y: f32) -> f32;
4058}
4059extern "C" {
4060    pub fn cbrtf(__x: f32) -> f32;
4061}
4062extern "C" {
4063    pub fn ceilf(__x: f32) -> f32;
4064}
4065extern "C" {
4066    pub fn fabsf(__x: f32) -> f32;
4067}
4068extern "C" {
4069    pub fn floorf(__x: f32) -> f32;
4070}
4071extern "C" {
4072    pub fn fmodf(__x: f32, __y: f32) -> f32;
4073}
4074extern "C" {
4075    pub fn isinff(__value: f32) -> libc::c_int;
4076}
4077extern "C" {
4078    pub fn finitef(__value: f32) -> libc::c_int;
4079}
4080extern "C" {
4081    pub fn dremf(__x: f32, __y: f32) -> f32;
4082}
4083extern "C" {
4084    pub fn significandf(__x: f32) -> f32;
4085}
4086extern "C" {
4087    pub fn copysignf(__x: f32, __y: f32) -> f32;
4088}
4089extern "C" {
4090    pub fn nanf(__tagb: *const libc::c_char) -> f32;
4091}
4092extern "C" {
4093    pub fn isnanf(__value: f32) -> libc::c_int;
4094}
4095extern "C" {
4096    pub fn j0f(arg1: f32) -> f32;
4097}
4098extern "C" {
4099    pub fn j1f(arg1: f32) -> f32;
4100}
4101extern "C" {
4102    pub fn jnf(arg1: libc::c_int, arg2: f32) -> f32;
4103}
4104extern "C" {
4105    pub fn y0f(arg1: f32) -> f32;
4106}
4107extern "C" {
4108    pub fn y1f(arg1: f32) -> f32;
4109}
4110extern "C" {
4111    pub fn ynf(arg1: libc::c_int, arg2: f32) -> f32;
4112}
4113extern "C" {
4114    pub fn erff(arg1: f32) -> f32;
4115}
4116extern "C" {
4117    pub fn erfcf(arg1: f32) -> f32;
4118}
4119extern "C" {
4120    pub fn lgammaf(arg1: f32) -> f32;
4121}
4122extern "C" {
4123    pub fn tgammaf(arg1: f32) -> f32;
4124}
4125extern "C" {
4126    pub fn gammaf(arg1: f32) -> f32;
4127}
4128extern "C" {
4129    pub fn lgammaf_r(arg1: f32, __signgamp: *mut libc::c_int) -> f32;
4130}
4131extern "C" {
4132    pub fn rintf(__x: f32) -> f32;
4133}
4134extern "C" {
4135    pub fn nextafterf(__x: f32, __y: f32) -> f32;
4136}
4137extern "C" {
4138    pub fn remainderf(__x: f32, __y: f32) -> f32;
4139}
4140extern "C" {
4141    pub fn scalbnf(__x: f32, __n: libc::c_int) -> f32;
4142}
4143extern "C" {
4144    pub fn ilogbf(__x: f32) -> libc::c_int;
4145}
4146extern "C" {
4147    pub fn scalblnf(__x: f32, __n: libc::c_long) -> f32;
4148}
4149extern "C" {
4150    pub fn nearbyintf(__x: f32) -> f32;
4151}
4152extern "C" {
4153    pub fn roundf(__x: f32) -> f32;
4154}
4155extern "C" {
4156    pub fn truncf(__x: f32) -> f32;
4157}
4158extern "C" {
4159    pub fn remquof(__x: f32, __y: f32, __quo: *mut libc::c_int) -> f32;
4160}
4161extern "C" {
4162    pub fn lrintf(__x: f32) -> libc::c_long;
4163}
4164extern "C" {
4165    pub fn llrintf(__x: f32) -> libc::c_longlong;
4166}
4167extern "C" {
4168    pub fn lroundf(__x: f32) -> libc::c_long;
4169}
4170extern "C" {
4171    pub fn llroundf(__x: f32) -> libc::c_longlong;
4172}
4173extern "C" {
4174    pub fn fdimf(__x: f32, __y: f32) -> f32;
4175}
4176extern "C" {
4177    pub fn fmaxf(__x: f32, __y: f32) -> f32;
4178}
4179extern "C" {
4180    pub fn fminf(__x: f32, __y: f32) -> f32;
4181}
4182extern "C" {
4183    pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32;
4184}
4185extern "C" {
4186    pub fn scalbf(__x: f32, __n: f32) -> f32;
4187}
4188extern "C" {
4189    pub static mut signgam: libc::c_int;
4190}
4191pub const FP_NAN: libc::c_uint = 0;
4192pub const FP_INFINITE: libc::c_uint = 1;
4193pub const FP_ZERO: libc::c_uint = 2;
4194pub const FP_SUBNORMAL: libc::c_uint = 3;
4195pub const FP_NORMAL: libc::c_uint = 4;
4196pub type _bindgen_ty_1 = libc::c_uint;
4197#[repr(C)]
4198#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4199pub struct timezone {
4200    pub tz_minuteswest: libc::c_int,
4201    pub tz_dsttime: libc::c_int,
4202}
4203#[test]
4204fn bindgen_test_layout_timezone() {
4205    assert_eq!(
4206        ::core::mem::size_of::<timezone>(),
4207        8usize,
4208        concat!("Size of: ", stringify!(timezone))
4209    );
4210    assert_eq!(
4211        ::core::mem::align_of::<timezone>(),
4212        4usize,
4213        concat!("Alignment of ", stringify!(timezone))
4214    );
4215    assert_eq!(
4216        unsafe { &(*(::core::ptr::null::<timezone>())).tz_minuteswest as *const _ as usize },
4217        0usize,
4218        concat!(
4219            "Offset of field: ",
4220            stringify!(timezone),
4221            "::",
4222            stringify!(tz_minuteswest)
4223        )
4224    );
4225    assert_eq!(
4226        unsafe { &(*(::core::ptr::null::<timezone>())).tz_dsttime as *const _ as usize },
4227        4usize,
4228        concat!(
4229            "Offset of field: ",
4230            stringify!(timezone),
4231            "::",
4232            stringify!(tz_dsttime)
4233        )
4234    );
4235}
4236extern "C" {
4237    pub fn gettimeofday(__tv: *mut timeval, __tz: *mut libc::c_void) -> libc::c_int;
4238}
4239extern "C" {
4240    pub fn settimeofday(__tv: *const timeval, __tz: *const timezone) -> libc::c_int;
4241}
4242extern "C" {
4243    pub fn adjtime(__delta: *const timeval, __olddelta: *mut timeval) -> libc::c_int;
4244}
4245pub const __itimer_which_ITIMER_REAL: __itimer_which = 0;
4246pub const __itimer_which_ITIMER_VIRTUAL: __itimer_which = 1;
4247pub const __itimer_which_ITIMER_PROF: __itimer_which = 2;
4248pub type __itimer_which = libc::c_uint;
4249#[repr(C)]
4250#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4251pub struct itimerval {
4252    pub it_interval: timeval,
4253    pub it_value: timeval,
4254}
4255#[test]
4256fn bindgen_test_layout_itimerval() {
4257    assert_eq!(
4258        ::core::mem::size_of::<itimerval>(),
4259        32usize,
4260        concat!("Size of: ", stringify!(itimerval))
4261    );
4262    assert_eq!(
4263        ::core::mem::align_of::<itimerval>(),
4264        8usize,
4265        concat!("Alignment of ", stringify!(itimerval))
4266    );
4267    assert_eq!(
4268        unsafe { &(*(::core::ptr::null::<itimerval>())).it_interval as *const _ as usize },
4269        0usize,
4270        concat!(
4271            "Offset of field: ",
4272            stringify!(itimerval),
4273            "::",
4274            stringify!(it_interval)
4275        )
4276    );
4277    assert_eq!(
4278        unsafe { &(*(::core::ptr::null::<itimerval>())).it_value as *const _ as usize },
4279        16usize,
4280        concat!(
4281            "Offset of field: ",
4282            stringify!(itimerval),
4283            "::",
4284            stringify!(it_value)
4285        )
4286    );
4287}
4288pub type __itimer_which_t = libc::c_int;
4289extern "C" {
4290    pub fn getitimer(__which: __itimer_which_t, __value: *mut itimerval) -> libc::c_int;
4291}
4292extern "C" {
4293    pub fn setitimer(
4294        __which: __itimer_which_t,
4295        __new: *const itimerval,
4296        __old: *mut itimerval,
4297    ) -> libc::c_int;
4298}
4299extern "C" {
4300    pub fn utimes(__file: *const libc::c_char, __tvp: *const timeval) -> libc::c_int;
4301}
4302extern "C" {
4303    pub fn lutimes(__file: *const libc::c_char, __tvp: *const timeval) -> libc::c_int;
4304}
4305extern "C" {
4306    pub fn futimes(__fd: libc::c_int, __tvp: *const timeval) -> libc::c_int;
4307}
4308pub type int_least8_t = __int_least8_t;
4309pub type int_least16_t = __int_least16_t;
4310pub type int_least32_t = __int_least32_t;
4311pub type int_least64_t = __int_least64_t;
4312pub type uint_least8_t = __uint_least8_t;
4313pub type uint_least16_t = __uint_least16_t;
4314pub type uint_least32_t = __uint_least32_t;
4315pub type uint_least64_t = __uint_least64_t;
4316pub type int_fast8_t = libc::c_schar;
4317pub type int_fast16_t = libc::c_long;
4318pub type int_fast32_t = libc::c_long;
4319pub type int_fast64_t = libc::c_long;
4320pub type uint_fast8_t = libc::c_uchar;
4321pub type uint_fast16_t = libc::c_ulong;
4322pub type uint_fast32_t = libc::c_ulong;
4323pub type uint_fast64_t = libc::c_ulong;
4324pub type intmax_t = __intmax_t;
4325pub type uintmax_t = __uintmax_t;
4326pub type __gwchar_t = libc::c_int;
4327#[repr(C)]
4328#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4329pub struct imaxdiv_t {
4330    pub quot: libc::c_long,
4331    pub rem: libc::c_long,
4332}
4333#[test]
4334fn bindgen_test_layout_imaxdiv_t() {
4335    assert_eq!(
4336        ::core::mem::size_of::<imaxdiv_t>(),
4337        16usize,
4338        concat!("Size of: ", stringify!(imaxdiv_t))
4339    );
4340    assert_eq!(
4341        ::core::mem::align_of::<imaxdiv_t>(),
4342        8usize,
4343        concat!("Alignment of ", stringify!(imaxdiv_t))
4344    );
4345    assert_eq!(
4346        unsafe { &(*(::core::ptr::null::<imaxdiv_t>())).quot as *const _ as usize },
4347        0usize,
4348        concat!(
4349            "Offset of field: ",
4350            stringify!(imaxdiv_t),
4351            "::",
4352            stringify!(quot)
4353        )
4354    );
4355    assert_eq!(
4356        unsafe { &(*(::core::ptr::null::<imaxdiv_t>())).rem as *const _ as usize },
4357        8usize,
4358        concat!(
4359            "Offset of field: ",
4360            stringify!(imaxdiv_t),
4361            "::",
4362            stringify!(rem)
4363        )
4364    );
4365}
4366extern "C" {
4367    pub fn imaxabs(__n: intmax_t) -> intmax_t;
4368}
4369extern "C" {
4370    pub fn imaxdiv(__numer: intmax_t, __denom: intmax_t) -> imaxdiv_t;
4371}
4372extern "C" {
4373    pub fn strtoimax(
4374        __nptr: *const libc::c_char,
4375        __endptr: *mut *mut libc::c_char,
4376        __base: libc::c_int,
4377    ) -> intmax_t;
4378}
4379extern "C" {
4380    pub fn strtoumax(
4381        __nptr: *const libc::c_char,
4382        __endptr: *mut *mut libc::c_char,
4383        __base: libc::c_int,
4384    ) -> uintmax_t;
4385}
4386extern "C" {
4387    pub fn wcstoimax(
4388        __nptr: *const __gwchar_t,
4389        __endptr: *mut *mut __gwchar_t,
4390        __base: libc::c_int,
4391    ) -> intmax_t;
4392}
4393extern "C" {
4394    pub fn wcstoumax(
4395        __nptr: *const __gwchar_t,
4396        __endptr: *mut *mut __gwchar_t,
4397        __base: libc::c_int,
4398    ) -> uintmax_t;
4399}
4400pub const LibRaw_open_flags_LIBRAW_OPEN_BIGFILE: LibRaw_open_flags = 1;
4401pub const LibRaw_open_flags_LIBRAW_OPEN_FILE: LibRaw_open_flags = 2;
4402pub type LibRaw_open_flags = libc::c_uint;
4403pub const LibRaw_openbayer_patterns_LIBRAW_OPENBAYER_RGGB: LibRaw_openbayer_patterns = 148;
4404pub const LibRaw_openbayer_patterns_LIBRAW_OPENBAYER_BGGR: LibRaw_openbayer_patterns = 22;
4405pub const LibRaw_openbayer_patterns_LIBRAW_OPENBAYER_GRBG: LibRaw_openbayer_patterns = 97;
4406pub const LibRaw_openbayer_patterns_LIBRAW_OPENBAYER_GBRG: LibRaw_openbayer_patterns = 73;
4407pub type LibRaw_openbayer_patterns = libc::c_uint;
4408pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_FORWARDMATRIX: LibRaw_dngfields_marks = 1;
4409pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_ILLUMINANT: LibRaw_dngfields_marks = 2;
4410pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_COLORMATRIX: LibRaw_dngfields_marks = 4;
4411pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_CALIBRATION: LibRaw_dngfields_marks = 8;
4412pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_ANALOGBALANCE: LibRaw_dngfields_marks = 16;
4413pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_BLACK: LibRaw_dngfields_marks = 32;
4414pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_WHITE: LibRaw_dngfields_marks = 64;
4415pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_OPCODE2: LibRaw_dngfields_marks = 128;
4416pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_LINTABLE: LibRaw_dngfields_marks = 256;
4417pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_CROPORIGIN: LibRaw_dngfields_marks = 512;
4418pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_CROPSIZE: LibRaw_dngfields_marks = 1024;
4419pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_PREVIEWCS: LibRaw_dngfields_marks = 2048;
4420pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_ASSHOTNEUTRAL: LibRaw_dngfields_marks = 4096;
4421pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_BASELINEEXPOSURE: LibRaw_dngfields_marks = 8192;
4422pub const LibRaw_dngfields_marks_LIBRAW_DNGFM_LINEARRESPONSELIMIT: LibRaw_dngfields_marks = 16384;
4423pub type LibRaw_dngfields_marks = libc::c_uint;
4424pub const LibRaw_As_Shot_WB_Applied_codes_LIBRAW_ASWB_APPLIED: LibRaw_As_Shot_WB_Applied_codes = 1;
4425pub const LibRaw_As_Shot_WB_Applied_codes_LIBRAW_ASWB_CANON: LibRaw_As_Shot_WB_Applied_codes = 2;
4426pub const LibRaw_As_Shot_WB_Applied_codes_LIBRAW_ASWB_NIKON: LibRaw_As_Shot_WB_Applied_codes = 4;
4427pub const LibRaw_As_Shot_WB_Applied_codes_LIBRAW_ASWB_NIKON_SRAW: LibRaw_As_Shot_WB_Applied_codes =
4428    8;
4429pub const LibRaw_As_Shot_WB_Applied_codes_LIBRAW_ASWB_PENTAX: LibRaw_As_Shot_WB_Applied_codes = 16;
4430pub type LibRaw_As_Shot_WB_Applied_codes = libc::c_uint;
4431pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_UNKNOWN: LibRaw_ExifTagTypes = 0;
4432pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_BYTE: LibRaw_ExifTagTypes = 1;
4433pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_ASCII: LibRaw_ExifTagTypes = 2;
4434pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_SHORT: LibRaw_ExifTagTypes = 3;
4435pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_LONG: LibRaw_ExifTagTypes = 4;
4436pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_RATIONAL: LibRaw_ExifTagTypes = 5;
4437pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_SBYTE: LibRaw_ExifTagTypes = 6;
4438pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_UNDEFINED: LibRaw_ExifTagTypes = 7;
4439pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_SSHORT: LibRaw_ExifTagTypes = 8;
4440pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_SLONG: LibRaw_ExifTagTypes = 9;
4441pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_SRATIONAL: LibRaw_ExifTagTypes = 10;
4442pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_FLOAT: LibRaw_ExifTagTypes = 11;
4443pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_DOUBLE: LibRaw_ExifTagTypes = 12;
4444pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_IFD: LibRaw_ExifTagTypes = 13;
4445pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_UNICODE: LibRaw_ExifTagTypes = 14;
4446pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_COMPLEX: LibRaw_ExifTagTypes = 15;
4447pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_LONG8: LibRaw_ExifTagTypes = 16;
4448pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_SLONG8: LibRaw_ExifTagTypes = 17;
4449pub const LibRaw_ExifTagTypes_LIBRAW_EXIFTAG_TYPE_IFD8: LibRaw_ExifTagTypes = 18;
4450pub type LibRaw_ExifTagTypes = libc::c_uint;
4451pub const LibRaw_whitebalance_code_LIBRAW_WBI_Unknown: LibRaw_whitebalance_code = 0;
4452pub const LibRaw_whitebalance_code_LIBRAW_WBI_Daylight: LibRaw_whitebalance_code = 1;
4453pub const LibRaw_whitebalance_code_LIBRAW_WBI_Fluorescent: LibRaw_whitebalance_code = 2;
4454pub const LibRaw_whitebalance_code_LIBRAW_WBI_Tungsten: LibRaw_whitebalance_code = 3;
4455pub const LibRaw_whitebalance_code_LIBRAW_WBI_Flash: LibRaw_whitebalance_code = 4;
4456pub const LibRaw_whitebalance_code_LIBRAW_WBI_FineWeather: LibRaw_whitebalance_code = 9;
4457pub const LibRaw_whitebalance_code_LIBRAW_WBI_Cloudy: LibRaw_whitebalance_code = 10;
4458pub const LibRaw_whitebalance_code_LIBRAW_WBI_Shade: LibRaw_whitebalance_code = 11;
4459pub const LibRaw_whitebalance_code_LIBRAW_WBI_FL_D: LibRaw_whitebalance_code = 12;
4460pub const LibRaw_whitebalance_code_LIBRAW_WBI_FL_N: LibRaw_whitebalance_code = 13;
4461pub const LibRaw_whitebalance_code_LIBRAW_WBI_FL_W: LibRaw_whitebalance_code = 14;
4462pub const LibRaw_whitebalance_code_LIBRAW_WBI_FL_WW: LibRaw_whitebalance_code = 15;
4463pub const LibRaw_whitebalance_code_LIBRAW_WBI_FL_L: LibRaw_whitebalance_code = 16;
4464pub const LibRaw_whitebalance_code_LIBRAW_WBI_Ill_A: LibRaw_whitebalance_code = 17;
4465pub const LibRaw_whitebalance_code_LIBRAW_WBI_Ill_B: LibRaw_whitebalance_code = 18;
4466pub const LibRaw_whitebalance_code_LIBRAW_WBI_Ill_C: LibRaw_whitebalance_code = 19;
4467pub const LibRaw_whitebalance_code_LIBRAW_WBI_D55: LibRaw_whitebalance_code = 20;
4468pub const LibRaw_whitebalance_code_LIBRAW_WBI_D65: LibRaw_whitebalance_code = 21;
4469pub const LibRaw_whitebalance_code_LIBRAW_WBI_D75: LibRaw_whitebalance_code = 22;
4470pub const LibRaw_whitebalance_code_LIBRAW_WBI_D50: LibRaw_whitebalance_code = 23;
4471pub const LibRaw_whitebalance_code_LIBRAW_WBI_StudioTungsten: LibRaw_whitebalance_code = 24;
4472pub const LibRaw_whitebalance_code_LIBRAW_WBI_Sunset: LibRaw_whitebalance_code = 64;
4473pub const LibRaw_whitebalance_code_LIBRAW_WBI_Underwater: LibRaw_whitebalance_code = 65;
4474pub const LibRaw_whitebalance_code_LIBRAW_WBI_FluorescentHigh: LibRaw_whitebalance_code = 66;
4475pub const LibRaw_whitebalance_code_LIBRAW_WBI_HT_Mercury: LibRaw_whitebalance_code = 67;
4476pub const LibRaw_whitebalance_code_LIBRAW_WBI_AsShot: LibRaw_whitebalance_code = 81;
4477pub const LibRaw_whitebalance_code_LIBRAW_WBI_Auto: LibRaw_whitebalance_code = 82;
4478pub const LibRaw_whitebalance_code_LIBRAW_WBI_Custom: LibRaw_whitebalance_code = 83;
4479pub const LibRaw_whitebalance_code_LIBRAW_WBI_Auto1: LibRaw_whitebalance_code = 85;
4480pub const LibRaw_whitebalance_code_LIBRAW_WBI_Auto2: LibRaw_whitebalance_code = 86;
4481pub const LibRaw_whitebalance_code_LIBRAW_WBI_Auto3: LibRaw_whitebalance_code = 87;
4482pub const LibRaw_whitebalance_code_LIBRAW_WBI_Auto4: LibRaw_whitebalance_code = 88;
4483pub const LibRaw_whitebalance_code_LIBRAW_WBI_Custom1: LibRaw_whitebalance_code = 90;
4484pub const LibRaw_whitebalance_code_LIBRAW_WBI_Custom2: LibRaw_whitebalance_code = 91;
4485pub const LibRaw_whitebalance_code_LIBRAW_WBI_Custom3: LibRaw_whitebalance_code = 92;
4486pub const LibRaw_whitebalance_code_LIBRAW_WBI_Custom4: LibRaw_whitebalance_code = 93;
4487pub const LibRaw_whitebalance_code_LIBRAW_WBI_Custom5: LibRaw_whitebalance_code = 94;
4488pub const LibRaw_whitebalance_code_LIBRAW_WBI_Custom6: LibRaw_whitebalance_code = 95;
4489pub const LibRaw_whitebalance_code_LIBRAW_WBI_PC_Set1: LibRaw_whitebalance_code = 96;
4490pub const LibRaw_whitebalance_code_LIBRAW_WBI_PC_Set2: LibRaw_whitebalance_code = 97;
4491pub const LibRaw_whitebalance_code_LIBRAW_WBI_PC_Set3: LibRaw_whitebalance_code = 98;
4492pub const LibRaw_whitebalance_code_LIBRAW_WBI_PC_Set4: LibRaw_whitebalance_code = 99;
4493pub const LibRaw_whitebalance_code_LIBRAW_WBI_PC_Set5: LibRaw_whitebalance_code = 100;
4494pub const LibRaw_whitebalance_code_LIBRAW_WBI_Measured: LibRaw_whitebalance_code = 110;
4495pub const LibRaw_whitebalance_code_LIBRAW_WBI_BW: LibRaw_whitebalance_code = 120;
4496pub const LibRaw_whitebalance_code_LIBRAW_WBI_Kelvin: LibRaw_whitebalance_code = 254;
4497pub const LibRaw_whitebalance_code_LIBRAW_WBI_Other: LibRaw_whitebalance_code = 255;
4498pub const LibRaw_whitebalance_code_LIBRAW_WBI_None: LibRaw_whitebalance_code = 65535;
4499pub type LibRaw_whitebalance_code = libc::c_uint;
4500pub const LibRaw_MultiExposure_related_LIBRAW_ME_NONE: LibRaw_MultiExposure_related = 0;
4501pub const LibRaw_MultiExposure_related_LIBRAW_ME_SIMPLE: LibRaw_MultiExposure_related = 1;
4502pub const LibRaw_MultiExposure_related_LIBRAW_ME_OVERLAY: LibRaw_MultiExposure_related = 2;
4503pub const LibRaw_MultiExposure_related_LIBRAW_ME_HDR: LibRaw_MultiExposure_related = 3;
4504pub type LibRaw_MultiExposure_related = libc::c_uint;
4505pub const LibRaw_dng_processing_LIBRAW_DNG_NONE: LibRaw_dng_processing = 0;
4506pub const LibRaw_dng_processing_LIBRAW_DNG_FLOAT: LibRaw_dng_processing = 1;
4507pub const LibRaw_dng_processing_LIBRAW_DNG_LINEAR: LibRaw_dng_processing = 2;
4508pub const LibRaw_dng_processing_LIBRAW_DNG_DEFLATE: LibRaw_dng_processing = 4;
4509pub const LibRaw_dng_processing_LIBRAW_DNG_XTRANS: LibRaw_dng_processing = 8;
4510pub const LibRaw_dng_processing_LIBRAW_DNG_OTHER: LibRaw_dng_processing = 16;
4511pub const LibRaw_dng_processing_LIBRAW_DNG_8BIT: LibRaw_dng_processing = 32;
4512pub const LibRaw_dng_processing_LIBRAW_DNG_ALL: LibRaw_dng_processing = 59;
4513pub const LibRaw_dng_processing_LIBRAW_DNG_DEFAULT: LibRaw_dng_processing = 39;
4514pub type LibRaw_dng_processing = libc::c_uint;
4515pub const LibRaw_runtime_capabilities_LIBRAW_CAPS_RAWSPEED: LibRaw_runtime_capabilities = 1;
4516pub const LibRaw_runtime_capabilities_LIBRAW_CAPS_DNGSDK: LibRaw_runtime_capabilities = 2;
4517pub const LibRaw_runtime_capabilities_LIBRAW_CAPS_GPRSDK: LibRaw_runtime_capabilities = 4;
4518pub const LibRaw_runtime_capabilities_LIBRAW_CAPS_UNICODEPATHS: LibRaw_runtime_capabilities = 8;
4519pub const LibRaw_runtime_capabilities_LIBRAW_CAPS_X3FTOOLS: LibRaw_runtime_capabilities = 16;
4520pub const LibRaw_runtime_capabilities_LIBRAW_CAPS_RPI6BY9: LibRaw_runtime_capabilities = 32;
4521pub type LibRaw_runtime_capabilities = libc::c_uint;
4522pub const LibRaw_colorspace_LIBRAW_COLORSPACE_NotFound: LibRaw_colorspace = 0;
4523pub const LibRaw_colorspace_LIBRAW_COLORSPACE_sRGB: LibRaw_colorspace = 1;
4524pub const LibRaw_colorspace_LIBRAW_COLORSPACE_AdobeRGB: LibRaw_colorspace = 2;
4525pub const LibRaw_colorspace_LIBRAW_COLORSPACE_WideGamutRGB: LibRaw_colorspace = 3;
4526pub const LibRaw_colorspace_LIBRAW_COLORSPACE_ProPhotoRGB: LibRaw_colorspace = 4;
4527pub const LibRaw_colorspace_LIBRAW_COLORSPACE_ICC: LibRaw_colorspace = 5;
4528pub const LibRaw_colorspace_LIBRAW_COLORSPACE_Uncalibrated: LibRaw_colorspace = 6;
4529pub const LibRaw_colorspace_LIBRAW_COLORSPACE_CameraLinearUniWB: LibRaw_colorspace = 7;
4530pub const LibRaw_colorspace_LIBRAW_COLORSPACE_CameraLinear: LibRaw_colorspace = 8;
4531pub const LibRaw_colorspace_LIBRAW_COLORSPACE_CameraGammaUniWB: LibRaw_colorspace = 9;
4532pub const LibRaw_colorspace_LIBRAW_COLORSPACE_CameraGamma: LibRaw_colorspace = 10;
4533pub const LibRaw_colorspace_LIBRAW_COLORSPACE_MonochromeLinear: LibRaw_colorspace = 11;
4534pub const LibRaw_colorspace_LIBRAW_COLORSPACE_MonochromeGamma: LibRaw_colorspace = 12;
4535pub const LibRaw_colorspace_LIBRAW_COLORSPACE_Unknown: LibRaw_colorspace = 255;
4536pub type LibRaw_colorspace = libc::c_uint;
4537pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Unknown: LibRaw_cameramaker_index = 0;
4538pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Agfa: LibRaw_cameramaker_index = 1;
4539pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Alcatel: LibRaw_cameramaker_index = 2;
4540pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Apple: LibRaw_cameramaker_index = 3;
4541pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Aptina: LibRaw_cameramaker_index = 4;
4542pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_AVT: LibRaw_cameramaker_index = 5;
4543pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Baumer: LibRaw_cameramaker_index = 6;
4544pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Broadcom: LibRaw_cameramaker_index = 7;
4545pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Canon: LibRaw_cameramaker_index = 8;
4546pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Casio: LibRaw_cameramaker_index = 9;
4547pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_CINE: LibRaw_cameramaker_index = 10;
4548pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Clauss: LibRaw_cameramaker_index = 11;
4549pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Contax: LibRaw_cameramaker_index = 12;
4550pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Creative: LibRaw_cameramaker_index = 13;
4551pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_DJI: LibRaw_cameramaker_index = 14;
4552pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_DXO: LibRaw_cameramaker_index = 15;
4553pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Epson: LibRaw_cameramaker_index = 16;
4554pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Foculus: LibRaw_cameramaker_index = 17;
4555pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Fujifilm: LibRaw_cameramaker_index = 18;
4556pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Generic: LibRaw_cameramaker_index = 19;
4557pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Gione: LibRaw_cameramaker_index = 20;
4558pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_GITUP: LibRaw_cameramaker_index = 21;
4559pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Google: LibRaw_cameramaker_index = 22;
4560pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_GoPro: LibRaw_cameramaker_index = 23;
4561pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Hasselblad: LibRaw_cameramaker_index = 24;
4562pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_HTC: LibRaw_cameramaker_index = 25;
4563pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_I_Mobile: LibRaw_cameramaker_index = 26;
4564pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Imacon: LibRaw_cameramaker_index = 27;
4565pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_JK_Imaging: LibRaw_cameramaker_index = 28;
4566pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Kodak: LibRaw_cameramaker_index = 29;
4567pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Konica: LibRaw_cameramaker_index = 30;
4568pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Leaf: LibRaw_cameramaker_index = 31;
4569pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Leica: LibRaw_cameramaker_index = 32;
4570pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Lenovo: LibRaw_cameramaker_index = 33;
4571pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_LG: LibRaw_cameramaker_index = 34;
4572pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Logitech: LibRaw_cameramaker_index = 35;
4573pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Mamiya: LibRaw_cameramaker_index = 36;
4574pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Matrix: LibRaw_cameramaker_index = 37;
4575pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Meizu: LibRaw_cameramaker_index = 38;
4576pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Micron: LibRaw_cameramaker_index = 39;
4577pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Minolta: LibRaw_cameramaker_index = 40;
4578pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Motorola: LibRaw_cameramaker_index = 41;
4579pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_NGM: LibRaw_cameramaker_index = 42;
4580pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Nikon: LibRaw_cameramaker_index = 43;
4581pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Nokia: LibRaw_cameramaker_index = 44;
4582pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Olympus: LibRaw_cameramaker_index = 45;
4583pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_OmniVison: LibRaw_cameramaker_index = 46;
4584pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Panasonic: LibRaw_cameramaker_index = 47;
4585pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Parrot: LibRaw_cameramaker_index = 48;
4586pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Pentax: LibRaw_cameramaker_index = 49;
4587pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_PhaseOne: LibRaw_cameramaker_index = 50;
4588pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_PhotoControl: LibRaw_cameramaker_index = 51;
4589pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Photron: LibRaw_cameramaker_index = 52;
4590pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Pixelink: LibRaw_cameramaker_index = 53;
4591pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Polaroid: LibRaw_cameramaker_index = 54;
4592pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_RED: LibRaw_cameramaker_index = 55;
4593pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Ricoh: LibRaw_cameramaker_index = 56;
4594pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Rollei: LibRaw_cameramaker_index = 57;
4595pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_RoverShot: LibRaw_cameramaker_index = 58;
4596pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Samsung: LibRaw_cameramaker_index = 59;
4597pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Sigma: LibRaw_cameramaker_index = 60;
4598pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Sinar: LibRaw_cameramaker_index = 61;
4599pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_SMaL: LibRaw_cameramaker_index = 62;
4600pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Sony: LibRaw_cameramaker_index = 63;
4601pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_ST_Micro: LibRaw_cameramaker_index = 64;
4602pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_THL: LibRaw_cameramaker_index = 65;
4603pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_VLUU: LibRaw_cameramaker_index = 66;
4604pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Xiaomi: LibRaw_cameramaker_index = 67;
4605pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_XIAOYI: LibRaw_cameramaker_index = 68;
4606pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_YI: LibRaw_cameramaker_index = 69;
4607pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Yuneec: LibRaw_cameramaker_index = 70;
4608pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_Zeiss: LibRaw_cameramaker_index = 71;
4609pub const LibRaw_cameramaker_index_LIBRAW_CAMERAMAKER_TheLastOne: LibRaw_cameramaker_index = 72;
4610pub type LibRaw_cameramaker_index = libc::c_uint;
4611pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Unknown: LibRaw_camera_mounts = 0;
4612pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Alpa: LibRaw_camera_mounts = 1;
4613pub const LibRaw_camera_mounts_LIBRAW_MOUNT_C: LibRaw_camera_mounts = 2;
4614pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Canon_EF_M: LibRaw_camera_mounts = 3;
4615pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Canon_EF_S: LibRaw_camera_mounts = 4;
4616pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Canon_EF: LibRaw_camera_mounts = 5;
4617pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Canon_RF: LibRaw_camera_mounts = 6;
4618pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Contax_N: LibRaw_camera_mounts = 7;
4619pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Contax645: LibRaw_camera_mounts = 8;
4620pub const LibRaw_camera_mounts_LIBRAW_MOUNT_FT: LibRaw_camera_mounts = 9;
4621pub const LibRaw_camera_mounts_LIBRAW_MOUNT_mFT: LibRaw_camera_mounts = 10;
4622pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Fuji_GF: LibRaw_camera_mounts = 11;
4623pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Fuji_GX: LibRaw_camera_mounts = 12;
4624pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Fuji_X: LibRaw_camera_mounts = 13;
4625pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Hasselblad_H: LibRaw_camera_mounts = 14;
4626pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Hasselblad_V: LibRaw_camera_mounts = 15;
4627pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Hasselblad_XCD: LibRaw_camera_mounts = 16;
4628pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Leica_M: LibRaw_camera_mounts = 17;
4629pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Leica_R: LibRaw_camera_mounts = 18;
4630pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Leica_S: LibRaw_camera_mounts = 19;
4631pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Leica_SL: LibRaw_camera_mounts = 20;
4632pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Leica_TL: LibRaw_camera_mounts = 21;
4633pub const LibRaw_camera_mounts_LIBRAW_MOUNT_LPS_L: LibRaw_camera_mounts = 22;
4634pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Mamiya67: LibRaw_camera_mounts = 23;
4635pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Mamiya645: LibRaw_camera_mounts = 24;
4636pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Minolta_A: LibRaw_camera_mounts = 25;
4637pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Nikon_CX: LibRaw_camera_mounts = 26;
4638pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Nikon_F: LibRaw_camera_mounts = 27;
4639pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Nikon_Z: LibRaw_camera_mounts = 28;
4640pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Pentax_645: LibRaw_camera_mounts = 29;
4641pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Pentax_K: LibRaw_camera_mounts = 30;
4642pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Pentax_Q: LibRaw_camera_mounts = 31;
4643pub const LibRaw_camera_mounts_LIBRAW_MOUNT_RicohModule: LibRaw_camera_mounts = 32;
4644pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Rollei_bayonet: LibRaw_camera_mounts = 33;
4645pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Samsung_NX_M: LibRaw_camera_mounts = 34;
4646pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Samsung_NX: LibRaw_camera_mounts = 35;
4647pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Sigma_X3F: LibRaw_camera_mounts = 36;
4648pub const LibRaw_camera_mounts_LIBRAW_MOUNT_Sony_E: LibRaw_camera_mounts = 37;
4649pub const LibRaw_camera_mounts_LIBRAW_MOUNT_LF: LibRaw_camera_mounts = 38;
4650pub const LibRaw_camera_mounts_LIBRAW_MOUNT_DigitalBack: LibRaw_camera_mounts = 39;
4651pub const LibRaw_camera_mounts_LIBRAW_MOUNT_FixedLens: LibRaw_camera_mounts = 40;
4652pub const LibRaw_camera_mounts_LIBRAW_MOUNT_IL_UM: LibRaw_camera_mounts = 41;
4653pub const LibRaw_camera_mounts_LIBRAW_MOUNT_TheLastOne: LibRaw_camera_mounts = 42;
4654pub type LibRaw_camera_mounts = libc::c_uint;
4655pub const LibRaw_camera_formats_LIBRAW_FORMAT_Unknown: LibRaw_camera_formats = 0;
4656pub const LibRaw_camera_formats_LIBRAW_FORMAT_APSC: LibRaw_camera_formats = 1;
4657pub const LibRaw_camera_formats_LIBRAW_FORMAT_FF: LibRaw_camera_formats = 2;
4658pub const LibRaw_camera_formats_LIBRAW_FORMAT_MF: LibRaw_camera_formats = 3;
4659pub const LibRaw_camera_formats_LIBRAW_FORMAT_APSH: LibRaw_camera_formats = 4;
4660pub const LibRaw_camera_formats_LIBRAW_FORMAT_1INCH: LibRaw_camera_formats = 5;
4661pub const LibRaw_camera_formats_LIBRAW_FORMAT_1div2p3INCH: LibRaw_camera_formats = 6;
4662pub const LibRaw_camera_formats_LIBRAW_FORMAT_1div1p7INCH: LibRaw_camera_formats = 7;
4663pub const LibRaw_camera_formats_LIBRAW_FORMAT_FT: LibRaw_camera_formats = 8;
4664pub const LibRaw_camera_formats_LIBRAW_FORMAT_CROP645: LibRaw_camera_formats = 9;
4665pub const LibRaw_camera_formats_LIBRAW_FORMAT_LeicaS: LibRaw_camera_formats = 10;
4666pub const LibRaw_camera_formats_LIBRAW_FORMAT_645: LibRaw_camera_formats = 11;
4667pub const LibRaw_camera_formats_LIBRAW_FORMAT_66: LibRaw_camera_formats = 12;
4668pub const LibRaw_camera_formats_LIBRAW_FORMAT_69: LibRaw_camera_formats = 13;
4669pub const LibRaw_camera_formats_LIBRAW_FORMAT_LF: LibRaw_camera_formats = 14;
4670pub const LibRaw_camera_formats_LIBRAW_FORMAT_Leica_DMR: LibRaw_camera_formats = 15;
4671pub const LibRaw_camera_formats_LIBRAW_FORMAT_67: LibRaw_camera_formats = 16;
4672pub const LibRaw_camera_formats_LIBRAW_FORMAT_SigmaAPSC: LibRaw_camera_formats = 17;
4673pub const LibRaw_camera_formats_LIBRAW_FORMAT_SigmaMerrill: LibRaw_camera_formats = 18;
4674pub const LibRaw_camera_formats_LIBRAW_FORMAT_SigmaAPSH: LibRaw_camera_formats = 19;
4675pub const LibRaw_camera_formats_LIBRAW_FORMAT_3648: LibRaw_camera_formats = 20;
4676pub const LibRaw_camera_formats_LIBRAW_FORMAT_68: LibRaw_camera_formats = 21;
4677pub const LibRaw_camera_formats_LIBRAW_FORMAT_TheLastOne: LibRaw_camera_formats = 22;
4678pub type LibRaw_camera_formats = libc::c_uint;
4679pub const LibRawImageAspects_LIBRAW_IMAGE_ASPECT_UNKNOWN: LibRawImageAspects = 0;
4680pub const LibRawImageAspects_LIBRAW_IMAGE_ASPECT_3to2: LibRawImageAspects = 1;
4681pub const LibRawImageAspects_LIBRAW_IMAGE_ASPECT_1to1: LibRawImageAspects = 2;
4682pub const LibRawImageAspects_LIBRAW_IMAGE_ASPECT_4to3: LibRawImageAspects = 3;
4683pub const LibRawImageAspects_LIBRAW_IMAGE_ASPECT_16to9: LibRawImageAspects = 4;
4684pub const LibRawImageAspects_LIBRAW_IMAGE_ASPECT_5to4: LibRawImageAspects = 5;
4685pub const LibRawImageAspects_LIBRAW_IMAGE_ASPECT_OTHER: LibRawImageAspects = 6;
4686pub type LibRawImageAspects = libc::c_uint;
4687pub const LibRaw_lens_focal_types_LIBRAW_FT_UNDEFINED: LibRaw_lens_focal_types = 0;
4688pub const LibRaw_lens_focal_types_LIBRAW_FT_PRIME_LENS: LibRaw_lens_focal_types = 1;
4689pub const LibRaw_lens_focal_types_LIBRAW_FT_ZOOM_LENS: LibRaw_lens_focal_types = 2;
4690pub const LibRaw_lens_focal_types_LIBRAW_FT_ZOOM_LENS_CONSTANT_APERTURE: LibRaw_lens_focal_types =
4691    3;
4692pub const LibRaw_lens_focal_types_LIBRAW_FT_ZOOM_LENS_VARIABLE_APERTURE: LibRaw_lens_focal_types =
4693    4;
4694pub type LibRaw_lens_focal_types = libc::c_uint;
4695pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_UNDEFINED: LibRaw_Canon_RecordModes = 0;
4696pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_JPEG: LibRaw_Canon_RecordModes = 1;
4697pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_CRW_THM: LibRaw_Canon_RecordModes = 2;
4698pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_AVI_THM: LibRaw_Canon_RecordModes = 3;
4699pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_TIF: LibRaw_Canon_RecordModes = 4;
4700pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_TIF_JPEG: LibRaw_Canon_RecordModes = 5;
4701pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_CR2: LibRaw_Canon_RecordModes = 6;
4702pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_CR2_JPEG: LibRaw_Canon_RecordModes = 7;
4703pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_UNKNOWN: LibRaw_Canon_RecordModes = 8;
4704pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_MOV: LibRaw_Canon_RecordModes = 9;
4705pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_MP4: LibRaw_Canon_RecordModes = 10;
4706pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_CRM: LibRaw_Canon_RecordModes = 11;
4707pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_CR3: LibRaw_Canon_RecordModes = 12;
4708pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_CR3_JPEG: LibRaw_Canon_RecordModes = 13;
4709pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_HEIF: LibRaw_Canon_RecordModes = 14;
4710pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_CR3_HEIF: LibRaw_Canon_RecordModes = 15;
4711pub const LibRaw_Canon_RecordModes_LIBRAW_Canon_RecordMode_TheLastOne: LibRaw_Canon_RecordModes =
4712    16;
4713pub type LibRaw_Canon_RecordModes = libc::c_uint;
4714pub const LibRaw_sony_cameratypes_LIBRAW_SONY_DSC: LibRaw_sony_cameratypes = 1;
4715pub const LibRaw_sony_cameratypes_LIBRAW_SONY_DSLR: LibRaw_sony_cameratypes = 2;
4716pub const LibRaw_sony_cameratypes_LIBRAW_SONY_NEX: LibRaw_sony_cameratypes = 3;
4717pub const LibRaw_sony_cameratypes_LIBRAW_SONY_SLT: LibRaw_sony_cameratypes = 4;
4718pub const LibRaw_sony_cameratypes_LIBRAW_SONY_ILCE: LibRaw_sony_cameratypes = 5;
4719pub const LibRaw_sony_cameratypes_LIBRAW_SONY_ILCA: LibRaw_sony_cameratypes = 6;
4720pub type LibRaw_sony_cameratypes = libc::c_uint;
4721pub const LibRaw_KodakSensors_LIBRAW_Kodak_UnknownSensor: LibRaw_KodakSensors = 0;
4722pub const LibRaw_KodakSensors_LIBRAW_Kodak_M1: LibRaw_KodakSensors = 1;
4723pub const LibRaw_KodakSensors_LIBRAW_Kodak_M15: LibRaw_KodakSensors = 2;
4724pub const LibRaw_KodakSensors_LIBRAW_Kodak_M16: LibRaw_KodakSensors = 3;
4725pub const LibRaw_KodakSensors_LIBRAW_Kodak_M17: LibRaw_KodakSensors = 4;
4726pub const LibRaw_KodakSensors_LIBRAW_Kodak_M2: LibRaw_KodakSensors = 5;
4727pub const LibRaw_KodakSensors_LIBRAW_Kodak_M23: LibRaw_KodakSensors = 6;
4728pub const LibRaw_KodakSensors_LIBRAW_Kodak_M24: LibRaw_KodakSensors = 7;
4729pub const LibRaw_KodakSensors_LIBRAW_Kodak_M3: LibRaw_KodakSensors = 8;
4730pub const LibRaw_KodakSensors_LIBRAW_Kodak_M5: LibRaw_KodakSensors = 9;
4731pub const LibRaw_KodakSensors_LIBRAW_Kodak_M6: LibRaw_KodakSensors = 10;
4732pub const LibRaw_KodakSensors_LIBRAW_Kodak_C14: LibRaw_KodakSensors = 11;
4733pub const LibRaw_KodakSensors_LIBRAW_Kodak_X14: LibRaw_KodakSensors = 12;
4734pub const LibRaw_KodakSensors_LIBRAW_Kodak_M11: LibRaw_KodakSensors = 13;
4735pub type LibRaw_KodakSensors = libc::c_uint;
4736pub const LibRaw_HasselbladFormatCodes_LIBRAW_HF_Unknown: LibRaw_HasselbladFormatCodes = 0;
4737pub const LibRaw_HasselbladFormatCodes_LIBRAW_HF_3FR: LibRaw_HasselbladFormatCodes = 1;
4738pub const LibRaw_HasselbladFormatCodes_LIBRAW_HF_FFF: LibRaw_HasselbladFormatCodes = 2;
4739pub const LibRaw_HasselbladFormatCodes_LIBRAW_HF_Imacon: LibRaw_HasselbladFormatCodes = 3;
4740pub const LibRaw_HasselbladFormatCodes_LIBRAW_HF_HasselbladDNG: LibRaw_HasselbladFormatCodes = 4;
4741pub const LibRaw_HasselbladFormatCodes_LIBRAW_HF_AdobeDNG: LibRaw_HasselbladFormatCodes = 5;
4742pub const LibRaw_HasselbladFormatCodes_LIBRAW_HF_AdobeDNG_fromPhocusDNG:
4743    LibRaw_HasselbladFormatCodes = 6;
4744pub type LibRaw_HasselbladFormatCodes = libc::c_uint;
4745pub const LibRaw_processing_options_LIBRAW_PROCESSING_SONYARW2_NONE: LibRaw_processing_options = 0;
4746pub const LibRaw_processing_options_LIBRAW_PROCESSING_SONYARW2_BASEONLY: LibRaw_processing_options =
4747    1;
4748pub const LibRaw_processing_options_LIBRAW_PROCESSING_SONYARW2_DELTAONLY:
4749    LibRaw_processing_options = 2;
4750pub const LibRaw_processing_options_LIBRAW_PROCESSING_SONYARW2_DELTAZEROBASE:
4751    LibRaw_processing_options = 4;
4752pub const LibRaw_processing_options_LIBRAW_PROCESSING_SONYARW2_DELTATOVALUE:
4753    LibRaw_processing_options = 8;
4754pub const LibRaw_processing_options_LIBRAW_PROCESSING_SONYARW2_ALLFLAGS: LibRaw_processing_options =
4755    15;
4756pub const LibRaw_processing_options_LIBRAW_PROCESSING_DP2Q_INTERPOLATERG:
4757    LibRaw_processing_options = 16;
4758pub const LibRaw_processing_options_LIBRAW_PROCESSING_DP2Q_INTERPOLATEAF:
4759    LibRaw_processing_options = 32;
4760pub const LibRaw_processing_options_LIBRAW_PROCESSING_PENTAX_PS_ALLFRAMES:
4761    LibRaw_processing_options = 64;
4762pub const LibRaw_processing_options_LIBRAW_PROCESSING_CONVERTFLOAT_TO_INT:
4763    LibRaw_processing_options = 128;
4764pub const LibRaw_processing_options_LIBRAW_PROCESSING_SRAW_NO_RGB: LibRaw_processing_options = 256;
4765pub const LibRaw_processing_options_LIBRAW_PROCESSING_SRAW_NO_INTERPOLATE:
4766    LibRaw_processing_options = 512;
4767pub const LibRaw_processing_options_LIBRAW_PROCESSING_ARQ_SKIP_CHANNEL_SWAP:
4768    LibRaw_processing_options = 1024;
4769pub const LibRaw_processing_options_LIBRAW_PROCESSING_NO_ROTATE_FOR_KODAK_THUMBNAILS:
4770    LibRaw_processing_options = 2048;
4771pub const LibRaw_processing_options_LIBRAW_PROCESSING_USE_DNG_DEFAULT_CROP:
4772    LibRaw_processing_options = 4096;
4773pub const LibRaw_processing_options_LIBRAW_PROCESSING_USE_PPM16_THUMBS: LibRaw_processing_options =
4774    8192;
4775pub const LibRaw_processing_options_LIBRAW_PROCESSING_SKIP_MAKERNOTES: LibRaw_processing_options =
4776    16384;
4777pub const LibRaw_processing_options_LIBRAW_PROCESSING_DONT_CHECK_DNG_ILLUMINANT:
4778    LibRaw_processing_options = 32768;
4779pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNGSDK_ZEROCOPY: LibRaw_processing_options =
4780    65536;
4781pub const LibRaw_processing_options_LIBRAW_PROCESSING_ZEROFILTERS_FOR_MONOCHROMETIFFS:
4782    LibRaw_processing_options = 131072;
4783pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNG_ADD_ENHANCED: LibRaw_processing_options =
4784    262144;
4785pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNG_ADD_PREVIEWS: LibRaw_processing_options =
4786    524288;
4787pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNG_PREFER_LARGEST_IMAGE:
4788    LibRaw_processing_options = 1048576;
4789pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNG_STAGE2: LibRaw_processing_options =
4790    2097152;
4791pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNG_STAGE3: LibRaw_processing_options =
4792    4194304;
4793pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNG_ALLOWSIZECHANGE:
4794    LibRaw_processing_options = 8388608;
4795pub const LibRaw_processing_options_LIBRAW_PROCESSING_DNG_DISABLEWBADJUST:
4796    LibRaw_processing_options = 16777216;
4797pub const LibRaw_processing_options_LIBRAW_PROCESSING_PROVIDE_NONSTANDARD_WB:
4798    LibRaw_processing_options = 33554432;
4799pub const LibRaw_processing_options_LIBRAW_PROCESSING_CAMERAWB_FALLBACK_TO_DAYLIGHT:
4800    LibRaw_processing_options = 67108864;
4801pub type LibRaw_processing_options = libc::c_uint;
4802pub const LibRaw_decoder_flags_LIBRAW_DECODER_HASCURVE: LibRaw_decoder_flags = 16;
4803pub const LibRaw_decoder_flags_LIBRAW_DECODER_SONYARW2: LibRaw_decoder_flags = 32;
4804pub const LibRaw_decoder_flags_LIBRAW_DECODER_TRYRAWSPEED: LibRaw_decoder_flags = 64;
4805pub const LibRaw_decoder_flags_LIBRAW_DECODER_OWNALLOC: LibRaw_decoder_flags = 128;
4806pub const LibRaw_decoder_flags_LIBRAW_DECODER_FIXEDMAXC: LibRaw_decoder_flags = 256;
4807pub const LibRaw_decoder_flags_LIBRAW_DECODER_ADOBECOPYPIXEL: LibRaw_decoder_flags = 512;
4808pub const LibRaw_decoder_flags_LIBRAW_DECODER_LEGACY_WITH_MARGINS: LibRaw_decoder_flags = 1024;
4809pub const LibRaw_decoder_flags_LIBRAW_DECODER_3CHANNEL: LibRaw_decoder_flags = 2048;
4810pub const LibRaw_decoder_flags_LIBRAW_DECODER_SINAR4SHOT: LibRaw_decoder_flags = 2048;
4811pub const LibRaw_decoder_flags_LIBRAW_DECODER_FLATDATA: LibRaw_decoder_flags = 4096;
4812pub const LibRaw_decoder_flags_LIBRAW_DECODER_FLAT_BG2_SWAPPED: LibRaw_decoder_flags = 8192;
4813pub const LibRaw_decoder_flags_LIBRAW_DECODER_NOTSET: LibRaw_decoder_flags = 32768;
4814pub type LibRaw_decoder_flags = libc::c_uint;
4815pub const LibRaw_constructor_flags_LIBRAW_OPTIONS_NONE: LibRaw_constructor_flags = 0;
4816pub const LibRaw_constructor_flags_LIBRAW_OPIONS_NO_MEMERR_CALLBACK: LibRaw_constructor_flags = 1;
4817pub const LibRaw_constructor_flags_LIBRAW_OPIONS_NO_DATAERR_CALLBACK: LibRaw_constructor_flags = 2;
4818pub type LibRaw_constructor_flags = libc::c_uint;
4819pub const LibRaw_warnings_LIBRAW_WARN_NONE: LibRaw_warnings = 0;
4820pub const LibRaw_warnings_LIBRAW_WARN_BAD_CAMERA_WB: LibRaw_warnings = 4;
4821pub const LibRaw_warnings_LIBRAW_WARN_NO_METADATA: LibRaw_warnings = 8;
4822pub const LibRaw_warnings_LIBRAW_WARN_NO_JPEGLIB: LibRaw_warnings = 16;
4823pub const LibRaw_warnings_LIBRAW_WARN_NO_EMBEDDED_PROFILE: LibRaw_warnings = 32;
4824pub const LibRaw_warnings_LIBRAW_WARN_NO_INPUT_PROFILE: LibRaw_warnings = 64;
4825pub const LibRaw_warnings_LIBRAW_WARN_BAD_OUTPUT_PROFILE: LibRaw_warnings = 128;
4826pub const LibRaw_warnings_LIBRAW_WARN_NO_BADPIXELMAP: LibRaw_warnings = 256;
4827pub const LibRaw_warnings_LIBRAW_WARN_BAD_DARKFRAME_FILE: LibRaw_warnings = 512;
4828pub const LibRaw_warnings_LIBRAW_WARN_BAD_DARKFRAME_DIM: LibRaw_warnings = 1024;
4829pub const LibRaw_warnings_LIBRAW_WARN_NO_JASPER: LibRaw_warnings = 2048;
4830pub const LibRaw_warnings_LIBRAW_WARN_RAWSPEED_PROBLEM: LibRaw_warnings = 4096;
4831pub const LibRaw_warnings_LIBRAW_WARN_RAWSPEED_UNSUPPORTED: LibRaw_warnings = 8192;
4832pub const LibRaw_warnings_LIBRAW_WARN_RAWSPEED_PROCESSED: LibRaw_warnings = 16384;
4833pub const LibRaw_warnings_LIBRAW_WARN_FALLBACK_TO_AHD: LibRaw_warnings = 32768;
4834pub const LibRaw_warnings_LIBRAW_WARN_PARSEFUJI_PROCESSED: LibRaw_warnings = 65536;
4835pub const LibRaw_warnings_LIBRAW_WARN_DNGSDK_PROCESSED: LibRaw_warnings = 131072;
4836pub const LibRaw_warnings_LIBRAW_WARN_DNG_IMAGES_REORDERED: LibRaw_warnings = 262144;
4837pub const LibRaw_warnings_LIBRAW_WARN_DNG_STAGE2_APPLIED: LibRaw_warnings = 524288;
4838pub const LibRaw_warnings_LIBRAW_WARN_DNG_STAGE3_APPLIED: LibRaw_warnings = 1048576;
4839pub type LibRaw_warnings = libc::c_uint;
4840pub const LibRaw_exceptions_LIBRAW_EXCEPTION_NONE: LibRaw_exceptions = 0;
4841pub const LibRaw_exceptions_LIBRAW_EXCEPTION_ALLOC: LibRaw_exceptions = 1;
4842pub const LibRaw_exceptions_LIBRAW_EXCEPTION_DECODE_RAW: LibRaw_exceptions = 2;
4843pub const LibRaw_exceptions_LIBRAW_EXCEPTION_DECODE_JPEG: LibRaw_exceptions = 3;
4844pub const LibRaw_exceptions_LIBRAW_EXCEPTION_IO_EOF: LibRaw_exceptions = 4;
4845pub const LibRaw_exceptions_LIBRAW_EXCEPTION_IO_CORRUPT: LibRaw_exceptions = 5;
4846pub const LibRaw_exceptions_LIBRAW_EXCEPTION_CANCELLED_BY_CALLBACK: LibRaw_exceptions = 6;
4847pub const LibRaw_exceptions_LIBRAW_EXCEPTION_BAD_CROP: LibRaw_exceptions = 7;
4848pub const LibRaw_exceptions_LIBRAW_EXCEPTION_IO_BADFILE: LibRaw_exceptions = 8;
4849pub const LibRaw_exceptions_LIBRAW_EXCEPTION_DECODE_JPEG2000: LibRaw_exceptions = 9;
4850pub const LibRaw_exceptions_LIBRAW_EXCEPTION_TOOBIG: LibRaw_exceptions = 10;
4851pub const LibRaw_exceptions_LIBRAW_EXCEPTION_MEMPOOL: LibRaw_exceptions = 11;
4852pub type LibRaw_exceptions = libc::c_uint;
4853pub const LibRaw_progress_LIBRAW_PROGRESS_START: LibRaw_progress = 0;
4854pub const LibRaw_progress_LIBRAW_PROGRESS_OPEN: LibRaw_progress = 1;
4855pub const LibRaw_progress_LIBRAW_PROGRESS_IDENTIFY: LibRaw_progress = 2;
4856pub const LibRaw_progress_LIBRAW_PROGRESS_SIZE_ADJUST: LibRaw_progress = 4;
4857pub const LibRaw_progress_LIBRAW_PROGRESS_LOAD_RAW: LibRaw_progress = 8;
4858pub const LibRaw_progress_LIBRAW_PROGRESS_RAW2_IMAGE: LibRaw_progress = 16;
4859pub const LibRaw_progress_LIBRAW_PROGRESS_REMOVE_ZEROES: LibRaw_progress = 32;
4860pub const LibRaw_progress_LIBRAW_PROGRESS_BAD_PIXELS: LibRaw_progress = 64;
4861pub const LibRaw_progress_LIBRAW_PROGRESS_DARK_FRAME: LibRaw_progress = 128;
4862pub const LibRaw_progress_LIBRAW_PROGRESS_FOVEON_INTERPOLATE: LibRaw_progress = 256;
4863pub const LibRaw_progress_LIBRAW_PROGRESS_SCALE_COLORS: LibRaw_progress = 512;
4864pub const LibRaw_progress_LIBRAW_PROGRESS_PRE_INTERPOLATE: LibRaw_progress = 1024;
4865pub const LibRaw_progress_LIBRAW_PROGRESS_INTERPOLATE: LibRaw_progress = 2048;
4866pub const LibRaw_progress_LIBRAW_PROGRESS_MIX_GREEN: LibRaw_progress = 4096;
4867pub const LibRaw_progress_LIBRAW_PROGRESS_MEDIAN_FILTER: LibRaw_progress = 8192;
4868pub const LibRaw_progress_LIBRAW_PROGRESS_HIGHLIGHTS: LibRaw_progress = 16384;
4869pub const LibRaw_progress_LIBRAW_PROGRESS_FUJI_ROTATE: LibRaw_progress = 32768;
4870pub const LibRaw_progress_LIBRAW_PROGRESS_FLIP: LibRaw_progress = 65536;
4871pub const LibRaw_progress_LIBRAW_PROGRESS_APPLY_PROFILE: LibRaw_progress = 131072;
4872pub const LibRaw_progress_LIBRAW_PROGRESS_CONVERT_RGB: LibRaw_progress = 262144;
4873pub const LibRaw_progress_LIBRAW_PROGRESS_STRETCH: LibRaw_progress = 524288;
4874pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE20: LibRaw_progress = 1048576;
4875pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE21: LibRaw_progress = 2097152;
4876pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE22: LibRaw_progress = 4194304;
4877pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE23: LibRaw_progress = 8388608;
4878pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE24: LibRaw_progress = 16777216;
4879pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE25: LibRaw_progress = 33554432;
4880pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE26: LibRaw_progress = 67108864;
4881pub const LibRaw_progress_LIBRAW_PROGRESS_STAGE27: LibRaw_progress = 134217728;
4882pub const LibRaw_progress_LIBRAW_PROGRESS_THUMB_LOAD: LibRaw_progress = 268435456;
4883pub const LibRaw_progress_LIBRAW_PROGRESS_TRESERVED1: LibRaw_progress = 536870912;
4884pub const LibRaw_progress_LIBRAW_PROGRESS_TRESERVED2: LibRaw_progress = 1073741824;
4885pub type LibRaw_progress = libc::c_uint;
4886pub const LibRaw_errors_LIBRAW_SUCCESS: LibRaw_errors = 0;
4887pub const LibRaw_errors_LIBRAW_UNSPECIFIED_ERROR: LibRaw_errors = -1;
4888pub const LibRaw_errors_LIBRAW_FILE_UNSUPPORTED: LibRaw_errors = -2;
4889pub const LibRaw_errors_LIBRAW_REQUEST_FOR_NONEXISTENT_IMAGE: LibRaw_errors = -3;
4890pub const LibRaw_errors_LIBRAW_OUT_OF_ORDER_CALL: LibRaw_errors = -4;
4891pub const LibRaw_errors_LIBRAW_NO_THUMBNAIL: LibRaw_errors = -5;
4892pub const LibRaw_errors_LIBRAW_UNSUPPORTED_THUMBNAIL: LibRaw_errors = -6;
4893pub const LibRaw_errors_LIBRAW_INPUT_CLOSED: LibRaw_errors = -7;
4894pub const LibRaw_errors_LIBRAW_NOT_IMPLEMENTED: LibRaw_errors = -8;
4895pub const LibRaw_errors_LIBRAW_UNSUFFICIENT_MEMORY: LibRaw_errors = -100007;
4896pub const LibRaw_errors_LIBRAW_DATA_ERROR: LibRaw_errors = -100008;
4897pub const LibRaw_errors_LIBRAW_IO_ERROR: LibRaw_errors = -100009;
4898pub const LibRaw_errors_LIBRAW_CANCELLED_BY_CALLBACK: LibRaw_errors = -100010;
4899pub const LibRaw_errors_LIBRAW_BAD_CROP: LibRaw_errors = -100011;
4900pub const LibRaw_errors_LIBRAW_TOO_BIG: LibRaw_errors = -100012;
4901pub const LibRaw_errors_LIBRAW_MEMPOOL_OVERFLOW: LibRaw_errors = -100013;
4902pub type LibRaw_errors = libc::c_int;
4903pub const LibRaw_thumbnail_formats_LIBRAW_THUMBNAIL_UNKNOWN: LibRaw_thumbnail_formats = 0;
4904pub const LibRaw_thumbnail_formats_LIBRAW_THUMBNAIL_JPEG: LibRaw_thumbnail_formats = 1;
4905pub const LibRaw_thumbnail_formats_LIBRAW_THUMBNAIL_BITMAP: LibRaw_thumbnail_formats = 2;
4906pub const LibRaw_thumbnail_formats_LIBRAW_THUMBNAIL_BITMAP16: LibRaw_thumbnail_formats = 3;
4907pub const LibRaw_thumbnail_formats_LIBRAW_THUMBNAIL_LAYER: LibRaw_thumbnail_formats = 4;
4908pub const LibRaw_thumbnail_formats_LIBRAW_THUMBNAIL_ROLLEI: LibRaw_thumbnail_formats = 5;
4909pub type LibRaw_thumbnail_formats = libc::c_uint;
4910pub const LibRaw_image_formats_LIBRAW_IMAGE_JPEG: LibRaw_image_formats = 1;
4911pub const LibRaw_image_formats_LIBRAW_IMAGE_BITMAP: LibRaw_image_formats = 2;
4912pub type LibRaw_image_formats = libc::c_uint;
4913pub type INT64 = libc::c_longlong;
4914pub type UINT64 = libc::c_ulonglong;
4915pub type uchar = libc::c_uchar;
4916#[repr(C)]
4917#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4918pub struct libraw_decoder_info_t {
4919    pub decoder_name: *const libc::c_char,
4920    pub decoder_flags: libc::c_uint,
4921}
4922#[test]
4923fn bindgen_test_layout_libraw_decoder_info_t() {
4924    assert_eq!(
4925        ::core::mem::size_of::<libraw_decoder_info_t>(),
4926        16usize,
4927        concat!("Size of: ", stringify!(libraw_decoder_info_t))
4928    );
4929    assert_eq!(
4930        ::core::mem::align_of::<libraw_decoder_info_t>(),
4931        8usize,
4932        concat!("Alignment of ", stringify!(libraw_decoder_info_t))
4933    );
4934    assert_eq!(
4935        unsafe {
4936            &(*(::core::ptr::null::<libraw_decoder_info_t>())).decoder_name as *const _ as usize
4937        },
4938        0usize,
4939        concat!(
4940            "Offset of field: ",
4941            stringify!(libraw_decoder_info_t),
4942            "::",
4943            stringify!(decoder_name)
4944        )
4945    );
4946    assert_eq!(
4947        unsafe {
4948            &(*(::core::ptr::null::<libraw_decoder_info_t>())).decoder_flags as *const _ as usize
4949        },
4950        8usize,
4951        concat!(
4952            "Offset of field: ",
4953            stringify!(libraw_decoder_info_t),
4954            "::",
4955            stringify!(decoder_flags)
4956        )
4957    );
4958}
4959#[repr(C)]
4960#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4961pub struct libraw_internal_output_params_t {
4962    pub mix_green: libc::c_uint,
4963    pub raw_color: libc::c_uint,
4964    pub zero_is_bad: libc::c_uint,
4965    pub shrink: ushort,
4966    pub fuji_width: ushort,
4967}
4968#[test]
4969fn bindgen_test_layout_libraw_internal_output_params_t() {
4970    assert_eq!(
4971        ::core::mem::size_of::<libraw_internal_output_params_t>(),
4972        16usize,
4973        concat!("Size of: ", stringify!(libraw_internal_output_params_t))
4974    );
4975    assert_eq!(
4976        ::core::mem::align_of::<libraw_internal_output_params_t>(),
4977        4usize,
4978        concat!("Alignment of ", stringify!(libraw_internal_output_params_t))
4979    );
4980    assert_eq!(
4981        unsafe {
4982            &(*(::core::ptr::null::<libraw_internal_output_params_t>())).mix_green as *const _
4983                as usize
4984        },
4985        0usize,
4986        concat!(
4987            "Offset of field: ",
4988            stringify!(libraw_internal_output_params_t),
4989            "::",
4990            stringify!(mix_green)
4991        )
4992    );
4993    assert_eq!(
4994        unsafe {
4995            &(*(::core::ptr::null::<libraw_internal_output_params_t>())).raw_color as *const _
4996                as usize
4997        },
4998        4usize,
4999        concat!(
5000            "Offset of field: ",
5001            stringify!(libraw_internal_output_params_t),
5002            "::",
5003            stringify!(raw_color)
5004        )
5005    );
5006    assert_eq!(
5007        unsafe {
5008            &(*(::core::ptr::null::<libraw_internal_output_params_t>())).zero_is_bad as *const _
5009                as usize
5010        },
5011        8usize,
5012        concat!(
5013            "Offset of field: ",
5014            stringify!(libraw_internal_output_params_t),
5015            "::",
5016            stringify!(zero_is_bad)
5017        )
5018    );
5019    assert_eq!(
5020        unsafe {
5021            &(*(::core::ptr::null::<libraw_internal_output_params_t>())).shrink as *const _ as usize
5022        },
5023        12usize,
5024        concat!(
5025            "Offset of field: ",
5026            stringify!(libraw_internal_output_params_t),
5027            "::",
5028            stringify!(shrink)
5029        )
5030    );
5031    assert_eq!(
5032        unsafe {
5033            &(*(::core::ptr::null::<libraw_internal_output_params_t>())).fuji_width as *const _
5034                as usize
5035        },
5036        14usize,
5037        concat!(
5038            "Offset of field: ",
5039            stringify!(libraw_internal_output_params_t),
5040            "::",
5041            stringify!(fuji_width)
5042        )
5043    );
5044}
5045pub type memory_callback = ::core::option::Option<
5046    unsafe extern "C" fn(
5047        data: *mut libc::c_void,
5048        file: *const libc::c_char,
5049        where_: *const libc::c_char,
5050    ),
5051>;
5052pub type exif_parser_callback = ::core::option::Option<
5053    unsafe extern "C" fn(
5054        context: *mut libc::c_void,
5055        tag: libc::c_int,
5056        type_: libc::c_int,
5057        len: libc::c_int,
5058        ord: libc::c_uint,
5059        ifp: *mut libc::c_void,
5060        base: INT64,
5061    ),
5062>;
5063extern "C" {
5064    pub fn default_memory_callback(
5065        data: *mut libc::c_void,
5066        file: *const libc::c_char,
5067        where_: *const libc::c_char,
5068    );
5069}
5070pub type data_callback = ::core::option::Option<
5071    unsafe extern "C" fn(data: *mut libc::c_void, file: *const libc::c_char, offset: libc::c_int),
5072>;
5073extern "C" {
5074    pub fn default_data_callback(
5075        data: *mut libc::c_void,
5076        file: *const libc::c_char,
5077        offset: libc::c_int,
5078    );
5079}
5080pub type progress_callback = ::core::option::Option<
5081    unsafe extern "C" fn(
5082        data: *mut libc::c_void,
5083        stage: LibRaw_progress,
5084        iteration: libc::c_int,
5085        expected: libc::c_int,
5086    ) -> libc::c_int,
5087>;
5088pub type pre_identify_callback =
5089    ::core::option::Option<unsafe extern "C" fn(ctx: *mut libc::c_void) -> libc::c_int>;
5090pub type post_identify_callback =
5091    ::core::option::Option<unsafe extern "C" fn(ctx: *mut libc::c_void)>;
5092pub type process_step_callback =
5093    ::core::option::Option<unsafe extern "C" fn(ctx: *mut libc::c_void)>;
5094#[repr(C)]
5095#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5096pub struct libraw_callbacks_t {
5097    pub mem_cb: memory_callback,
5098    pub memcb_data: *mut libc::c_void,
5099    pub data_cb: data_callback,
5100    pub datacb_data: *mut libc::c_void,
5101    pub progress_cb: progress_callback,
5102    pub progresscb_data: *mut libc::c_void,
5103    pub exif_cb: exif_parser_callback,
5104    pub exifparser_data: *mut libc::c_void,
5105    pub pre_identify_cb: pre_identify_callback,
5106    pub post_identify_cb: post_identify_callback,
5107    pub pre_subtractblack_cb: process_step_callback,
5108    pub pre_scalecolors_cb: process_step_callback,
5109    pub pre_preinterpolate_cb: process_step_callback,
5110    pub pre_interpolate_cb: process_step_callback,
5111    pub interpolate_bayer_cb: process_step_callback,
5112    pub interpolate_xtrans_cb: process_step_callback,
5113    pub post_interpolate_cb: process_step_callback,
5114    pub pre_converttorgb_cb: process_step_callback,
5115    pub post_converttorgb_cb: process_step_callback,
5116}
5117#[test]
5118fn bindgen_test_layout_libraw_callbacks_t() {
5119    assert_eq!(
5120        ::core::mem::size_of::<libraw_callbacks_t>(),
5121        152usize,
5122        concat!("Size of: ", stringify!(libraw_callbacks_t))
5123    );
5124    assert_eq!(
5125        ::core::mem::align_of::<libraw_callbacks_t>(),
5126        8usize,
5127        concat!("Alignment of ", stringify!(libraw_callbacks_t))
5128    );
5129    assert_eq!(
5130        unsafe { &(*(::core::ptr::null::<libraw_callbacks_t>())).mem_cb as *const _ as usize },
5131        0usize,
5132        concat!(
5133            "Offset of field: ",
5134            stringify!(libraw_callbacks_t),
5135            "::",
5136            stringify!(mem_cb)
5137        )
5138    );
5139    assert_eq!(
5140        unsafe { &(*(::core::ptr::null::<libraw_callbacks_t>())).memcb_data as *const _ as usize },
5141        8usize,
5142        concat!(
5143            "Offset of field: ",
5144            stringify!(libraw_callbacks_t),
5145            "::",
5146            stringify!(memcb_data)
5147        )
5148    );
5149    assert_eq!(
5150        unsafe { &(*(::core::ptr::null::<libraw_callbacks_t>())).data_cb as *const _ as usize },
5151        16usize,
5152        concat!(
5153            "Offset of field: ",
5154            stringify!(libraw_callbacks_t),
5155            "::",
5156            stringify!(data_cb)
5157        )
5158    );
5159    assert_eq!(
5160        unsafe { &(*(::core::ptr::null::<libraw_callbacks_t>())).datacb_data as *const _ as usize },
5161        24usize,
5162        concat!(
5163            "Offset of field: ",
5164            stringify!(libraw_callbacks_t),
5165            "::",
5166            stringify!(datacb_data)
5167        )
5168    );
5169    assert_eq!(
5170        unsafe { &(*(::core::ptr::null::<libraw_callbacks_t>())).progress_cb as *const _ as usize },
5171        32usize,
5172        concat!(
5173            "Offset of field: ",
5174            stringify!(libraw_callbacks_t),
5175            "::",
5176            stringify!(progress_cb)
5177        )
5178    );
5179    assert_eq!(
5180        unsafe {
5181            &(*(::core::ptr::null::<libraw_callbacks_t>())).progresscb_data as *const _ as usize
5182        },
5183        40usize,
5184        concat!(
5185            "Offset of field: ",
5186            stringify!(libraw_callbacks_t),
5187            "::",
5188            stringify!(progresscb_data)
5189        )
5190    );
5191    assert_eq!(
5192        unsafe { &(*(::core::ptr::null::<libraw_callbacks_t>())).exif_cb as *const _ as usize },
5193        48usize,
5194        concat!(
5195            "Offset of field: ",
5196            stringify!(libraw_callbacks_t),
5197            "::",
5198            stringify!(exif_cb)
5199        )
5200    );
5201    assert_eq!(
5202        unsafe {
5203            &(*(::core::ptr::null::<libraw_callbacks_t>())).exifparser_data as *const _ as usize
5204        },
5205        56usize,
5206        concat!(
5207            "Offset of field: ",
5208            stringify!(libraw_callbacks_t),
5209            "::",
5210            stringify!(exifparser_data)
5211        )
5212    );
5213    assert_eq!(
5214        unsafe {
5215            &(*(::core::ptr::null::<libraw_callbacks_t>())).pre_identify_cb as *const _ as usize
5216        },
5217        64usize,
5218        concat!(
5219            "Offset of field: ",
5220            stringify!(libraw_callbacks_t),
5221            "::",
5222            stringify!(pre_identify_cb)
5223        )
5224    );
5225    assert_eq!(
5226        unsafe {
5227            &(*(::core::ptr::null::<libraw_callbacks_t>())).post_identify_cb as *const _ as usize
5228        },
5229        72usize,
5230        concat!(
5231            "Offset of field: ",
5232            stringify!(libraw_callbacks_t),
5233            "::",
5234            stringify!(post_identify_cb)
5235        )
5236    );
5237    assert_eq!(
5238        unsafe {
5239            &(*(::core::ptr::null::<libraw_callbacks_t>())).pre_subtractblack_cb as *const _
5240                as usize
5241        },
5242        80usize,
5243        concat!(
5244            "Offset of field: ",
5245            stringify!(libraw_callbacks_t),
5246            "::",
5247            stringify!(pre_subtractblack_cb)
5248        )
5249    );
5250    assert_eq!(
5251        unsafe {
5252            &(*(::core::ptr::null::<libraw_callbacks_t>())).pre_scalecolors_cb as *const _ as usize
5253        },
5254        88usize,
5255        concat!(
5256            "Offset of field: ",
5257            stringify!(libraw_callbacks_t),
5258            "::",
5259            stringify!(pre_scalecolors_cb)
5260        )
5261    );
5262    assert_eq!(
5263        unsafe {
5264            &(*(::core::ptr::null::<libraw_callbacks_t>())).pre_preinterpolate_cb as *const _
5265                as usize
5266        },
5267        96usize,
5268        concat!(
5269            "Offset of field: ",
5270            stringify!(libraw_callbacks_t),
5271            "::",
5272            stringify!(pre_preinterpolate_cb)
5273        )
5274    );
5275    assert_eq!(
5276        unsafe {
5277            &(*(::core::ptr::null::<libraw_callbacks_t>())).pre_interpolate_cb as *const _ as usize
5278        },
5279        104usize,
5280        concat!(
5281            "Offset of field: ",
5282            stringify!(libraw_callbacks_t),
5283            "::",
5284            stringify!(pre_interpolate_cb)
5285        )
5286    );
5287    assert_eq!(
5288        unsafe {
5289            &(*(::core::ptr::null::<libraw_callbacks_t>())).interpolate_bayer_cb as *const _
5290                as usize
5291        },
5292        112usize,
5293        concat!(
5294            "Offset of field: ",
5295            stringify!(libraw_callbacks_t),
5296            "::",
5297            stringify!(interpolate_bayer_cb)
5298        )
5299    );
5300    assert_eq!(
5301        unsafe {
5302            &(*(::core::ptr::null::<libraw_callbacks_t>())).interpolate_xtrans_cb as *const _
5303                as usize
5304        },
5305        120usize,
5306        concat!(
5307            "Offset of field: ",
5308            stringify!(libraw_callbacks_t),
5309            "::",
5310            stringify!(interpolate_xtrans_cb)
5311        )
5312    );
5313    assert_eq!(
5314        unsafe {
5315            &(*(::core::ptr::null::<libraw_callbacks_t>())).post_interpolate_cb as *const _ as usize
5316        },
5317        128usize,
5318        concat!(
5319            "Offset of field: ",
5320            stringify!(libraw_callbacks_t),
5321            "::",
5322            stringify!(post_interpolate_cb)
5323        )
5324    );
5325    assert_eq!(
5326        unsafe {
5327            &(*(::core::ptr::null::<libraw_callbacks_t>())).pre_converttorgb_cb as *const _ as usize
5328        },
5329        136usize,
5330        concat!(
5331            "Offset of field: ",
5332            stringify!(libraw_callbacks_t),
5333            "::",
5334            stringify!(pre_converttorgb_cb)
5335        )
5336    );
5337    assert_eq!(
5338        unsafe {
5339            &(*(::core::ptr::null::<libraw_callbacks_t>())).post_converttorgb_cb as *const _
5340                as usize
5341        },
5342        144usize,
5343        concat!(
5344            "Offset of field: ",
5345            stringify!(libraw_callbacks_t),
5346            "::",
5347            stringify!(post_converttorgb_cb)
5348        )
5349    );
5350}
5351#[repr(C)]
5352#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5353pub struct libraw_processed_image_t {
5354    pub type_: LibRaw_image_formats,
5355    pub height: ushort,
5356    pub width: ushort,
5357    pub colors: ushort,
5358    pub bits: ushort,
5359    pub data_size: libc::c_uint,
5360    pub data: [libc::c_uchar; 1usize],
5361}
5362#[test]
5363fn bindgen_test_layout_libraw_processed_image_t() {
5364    assert_eq!(
5365        ::core::mem::size_of::<libraw_processed_image_t>(),
5366        20usize,
5367        concat!("Size of: ", stringify!(libraw_processed_image_t))
5368    );
5369    assert_eq!(
5370        ::core::mem::align_of::<libraw_processed_image_t>(),
5371        4usize,
5372        concat!("Alignment of ", stringify!(libraw_processed_image_t))
5373    );
5374    assert_eq!(
5375        unsafe { &(*(::core::ptr::null::<libraw_processed_image_t>())).type_ as *const _ as usize },
5376        0usize,
5377        concat!(
5378            "Offset of field: ",
5379            stringify!(libraw_processed_image_t),
5380            "::",
5381            stringify!(type_)
5382        )
5383    );
5384    assert_eq!(
5385        unsafe {
5386            &(*(::core::ptr::null::<libraw_processed_image_t>())).height as *const _ as usize
5387        },
5388        4usize,
5389        concat!(
5390            "Offset of field: ",
5391            stringify!(libraw_processed_image_t),
5392            "::",
5393            stringify!(height)
5394        )
5395    );
5396    assert_eq!(
5397        unsafe { &(*(::core::ptr::null::<libraw_processed_image_t>())).width as *const _ as usize },
5398        6usize,
5399        concat!(
5400            "Offset of field: ",
5401            stringify!(libraw_processed_image_t),
5402            "::",
5403            stringify!(width)
5404        )
5405    );
5406    assert_eq!(
5407        unsafe {
5408            &(*(::core::ptr::null::<libraw_processed_image_t>())).colors as *const _ as usize
5409        },
5410        8usize,
5411        concat!(
5412            "Offset of field: ",
5413            stringify!(libraw_processed_image_t),
5414            "::",
5415            stringify!(colors)
5416        )
5417    );
5418    assert_eq!(
5419        unsafe { &(*(::core::ptr::null::<libraw_processed_image_t>())).bits as *const _ as usize },
5420        10usize,
5421        concat!(
5422            "Offset of field: ",
5423            stringify!(libraw_processed_image_t),
5424            "::",
5425            stringify!(bits)
5426        )
5427    );
5428    assert_eq!(
5429        unsafe {
5430            &(*(::core::ptr::null::<libraw_processed_image_t>())).data_size as *const _ as usize
5431        },
5432        12usize,
5433        concat!(
5434            "Offset of field: ",
5435            stringify!(libraw_processed_image_t),
5436            "::",
5437            stringify!(data_size)
5438        )
5439    );
5440    assert_eq!(
5441        unsafe { &(*(::core::ptr::null::<libraw_processed_image_t>())).data as *const _ as usize },
5442        16usize,
5443        concat!(
5444            "Offset of field: ",
5445            stringify!(libraw_processed_image_t),
5446            "::",
5447            stringify!(data)
5448        )
5449    );
5450}
5451#[repr(C)]
5452#[derive(Copy, Clone)]
5453pub struct libraw_iparams_t {
5454    pub guard: [libc::c_char; 4usize],
5455    pub make: [libc::c_char; 64usize],
5456    pub model: [libc::c_char; 64usize],
5457    pub software: [libc::c_char; 64usize],
5458    pub normalized_make: [libc::c_char; 64usize],
5459    pub normalized_model: [libc::c_char; 64usize],
5460    pub maker_index: libc::c_uint,
5461    pub raw_count: libc::c_uint,
5462    pub dng_version: libc::c_uint,
5463    pub is_foveon: libc::c_uint,
5464    pub colors: libc::c_int,
5465    pub filters: libc::c_uint,
5466    pub xtrans: [[libc::c_char; 6usize]; 6usize],
5467    pub xtrans_abs: [[libc::c_char; 6usize]; 6usize],
5468    pub cdesc: [libc::c_char; 5usize],
5469    pub xmplen: libc::c_uint,
5470    pub xmpdata: *mut libc::c_char,
5471}
5472#[test]
5473fn bindgen_test_layout_libraw_iparams_t() {
5474    assert_eq!(
5475        ::core::mem::size_of::<libraw_iparams_t>(),
5476        440usize,
5477        concat!("Size of: ", stringify!(libraw_iparams_t))
5478    );
5479    assert_eq!(
5480        ::core::mem::align_of::<libraw_iparams_t>(),
5481        8usize,
5482        concat!("Alignment of ", stringify!(libraw_iparams_t))
5483    );
5484    assert_eq!(
5485        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).guard as *const _ as usize },
5486        0usize,
5487        concat!(
5488            "Offset of field: ",
5489            stringify!(libraw_iparams_t),
5490            "::",
5491            stringify!(guard)
5492        )
5493    );
5494    assert_eq!(
5495        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).make as *const _ as usize },
5496        4usize,
5497        concat!(
5498            "Offset of field: ",
5499            stringify!(libraw_iparams_t),
5500            "::",
5501            stringify!(make)
5502        )
5503    );
5504    assert_eq!(
5505        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).model as *const _ as usize },
5506        68usize,
5507        concat!(
5508            "Offset of field: ",
5509            stringify!(libraw_iparams_t),
5510            "::",
5511            stringify!(model)
5512        )
5513    );
5514    assert_eq!(
5515        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).software as *const _ as usize },
5516        132usize,
5517        concat!(
5518            "Offset of field: ",
5519            stringify!(libraw_iparams_t),
5520            "::",
5521            stringify!(software)
5522        )
5523    );
5524    assert_eq!(
5525        unsafe {
5526            &(*(::core::ptr::null::<libraw_iparams_t>())).normalized_make as *const _ as usize
5527        },
5528        196usize,
5529        concat!(
5530            "Offset of field: ",
5531            stringify!(libraw_iparams_t),
5532            "::",
5533            stringify!(normalized_make)
5534        )
5535    );
5536    assert_eq!(
5537        unsafe {
5538            &(*(::core::ptr::null::<libraw_iparams_t>())).normalized_model as *const _ as usize
5539        },
5540        260usize,
5541        concat!(
5542            "Offset of field: ",
5543            stringify!(libraw_iparams_t),
5544            "::",
5545            stringify!(normalized_model)
5546        )
5547    );
5548    assert_eq!(
5549        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).maker_index as *const _ as usize },
5550        324usize,
5551        concat!(
5552            "Offset of field: ",
5553            stringify!(libraw_iparams_t),
5554            "::",
5555            stringify!(maker_index)
5556        )
5557    );
5558    assert_eq!(
5559        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).raw_count as *const _ as usize },
5560        328usize,
5561        concat!(
5562            "Offset of field: ",
5563            stringify!(libraw_iparams_t),
5564            "::",
5565            stringify!(raw_count)
5566        )
5567    );
5568    assert_eq!(
5569        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).dng_version as *const _ as usize },
5570        332usize,
5571        concat!(
5572            "Offset of field: ",
5573            stringify!(libraw_iparams_t),
5574            "::",
5575            stringify!(dng_version)
5576        )
5577    );
5578    assert_eq!(
5579        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).is_foveon as *const _ as usize },
5580        336usize,
5581        concat!(
5582            "Offset of field: ",
5583            stringify!(libraw_iparams_t),
5584            "::",
5585            stringify!(is_foveon)
5586        )
5587    );
5588    assert_eq!(
5589        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).colors as *const _ as usize },
5590        340usize,
5591        concat!(
5592            "Offset of field: ",
5593            stringify!(libraw_iparams_t),
5594            "::",
5595            stringify!(colors)
5596        )
5597    );
5598    assert_eq!(
5599        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).filters as *const _ as usize },
5600        344usize,
5601        concat!(
5602            "Offset of field: ",
5603            stringify!(libraw_iparams_t),
5604            "::",
5605            stringify!(filters)
5606        )
5607    );
5608    assert_eq!(
5609        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).xtrans as *const _ as usize },
5610        348usize,
5611        concat!(
5612            "Offset of field: ",
5613            stringify!(libraw_iparams_t),
5614            "::",
5615            stringify!(xtrans)
5616        )
5617    );
5618    assert_eq!(
5619        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).xtrans_abs as *const _ as usize },
5620        384usize,
5621        concat!(
5622            "Offset of field: ",
5623            stringify!(libraw_iparams_t),
5624            "::",
5625            stringify!(xtrans_abs)
5626        )
5627    );
5628    assert_eq!(
5629        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).cdesc as *const _ as usize },
5630        420usize,
5631        concat!(
5632            "Offset of field: ",
5633            stringify!(libraw_iparams_t),
5634            "::",
5635            stringify!(cdesc)
5636        )
5637    );
5638    assert_eq!(
5639        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).xmplen as *const _ as usize },
5640        428usize,
5641        concat!(
5642            "Offset of field: ",
5643            stringify!(libraw_iparams_t),
5644            "::",
5645            stringify!(xmplen)
5646        )
5647    );
5648    assert_eq!(
5649        unsafe { &(*(::core::ptr::null::<libraw_iparams_t>())).xmpdata as *const _ as usize },
5650        432usize,
5651        concat!(
5652            "Offset of field: ",
5653            stringify!(libraw_iparams_t),
5654            "::",
5655            stringify!(xmpdata)
5656        )
5657    );
5658}
5659#[repr(C)]
5660#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5661pub struct libraw_raw_inset_crop_t {
5662    pub cleft: ushort,
5663    pub ctop: ushort,
5664    pub cwidth: ushort,
5665    pub cheight: ushort,
5666    pub aspect: ushort,
5667}
5668#[test]
5669fn bindgen_test_layout_libraw_raw_inset_crop_t() {
5670    assert_eq!(
5671        ::core::mem::size_of::<libraw_raw_inset_crop_t>(),
5672        10usize,
5673        concat!("Size of: ", stringify!(libraw_raw_inset_crop_t))
5674    );
5675    assert_eq!(
5676        ::core::mem::align_of::<libraw_raw_inset_crop_t>(),
5677        2usize,
5678        concat!("Alignment of ", stringify!(libraw_raw_inset_crop_t))
5679    );
5680    assert_eq!(
5681        unsafe { &(*(::core::ptr::null::<libraw_raw_inset_crop_t>())).cleft as *const _ as usize },
5682        0usize,
5683        concat!(
5684            "Offset of field: ",
5685            stringify!(libraw_raw_inset_crop_t),
5686            "::",
5687            stringify!(cleft)
5688        )
5689    );
5690    assert_eq!(
5691        unsafe { &(*(::core::ptr::null::<libraw_raw_inset_crop_t>())).ctop as *const _ as usize },
5692        2usize,
5693        concat!(
5694            "Offset of field: ",
5695            stringify!(libraw_raw_inset_crop_t),
5696            "::",
5697            stringify!(ctop)
5698        )
5699    );
5700    assert_eq!(
5701        unsafe { &(*(::core::ptr::null::<libraw_raw_inset_crop_t>())).cwidth as *const _ as usize },
5702        4usize,
5703        concat!(
5704            "Offset of field: ",
5705            stringify!(libraw_raw_inset_crop_t),
5706            "::",
5707            stringify!(cwidth)
5708        )
5709    );
5710    assert_eq!(
5711        unsafe {
5712            &(*(::core::ptr::null::<libraw_raw_inset_crop_t>())).cheight as *const _ as usize
5713        },
5714        6usize,
5715        concat!(
5716            "Offset of field: ",
5717            stringify!(libraw_raw_inset_crop_t),
5718            "::",
5719            stringify!(cheight)
5720        )
5721    );
5722    assert_eq!(
5723        unsafe { &(*(::core::ptr::null::<libraw_raw_inset_crop_t>())).aspect as *const _ as usize },
5724        8usize,
5725        concat!(
5726            "Offset of field: ",
5727            stringify!(libraw_raw_inset_crop_t),
5728            "::",
5729            stringify!(aspect)
5730        )
5731    );
5732}
5733#[repr(C)]
5734#[derive(Debug, Copy, Clone, PartialEq)]
5735pub struct libraw_image_sizes_t {
5736    pub raw_height: ushort,
5737    pub raw_width: ushort,
5738    pub height: ushort,
5739    pub width: ushort,
5740    pub top_margin: ushort,
5741    pub left_margin: ushort,
5742    pub iheight: ushort,
5743    pub iwidth: ushort,
5744    pub raw_pitch: libc::c_uint,
5745    pub pixel_aspect: f64,
5746    pub flip: libc::c_int,
5747    pub mask: [[libc::c_int; 4usize]; 8usize],
5748    pub raw_inset_crop: libraw_raw_inset_crop_t,
5749}
5750#[test]
5751fn bindgen_test_layout_libraw_image_sizes_t() {
5752    assert_eq!(
5753        ::core::mem::size_of::<libraw_image_sizes_t>(),
5754        176usize,
5755        concat!("Size of: ", stringify!(libraw_image_sizes_t))
5756    );
5757    assert_eq!(
5758        ::core::mem::align_of::<libraw_image_sizes_t>(),
5759        8usize,
5760        concat!("Alignment of ", stringify!(libraw_image_sizes_t))
5761    );
5762    assert_eq!(
5763        unsafe {
5764            &(*(::core::ptr::null::<libraw_image_sizes_t>())).raw_height as *const _ as usize
5765        },
5766        0usize,
5767        concat!(
5768            "Offset of field: ",
5769            stringify!(libraw_image_sizes_t),
5770            "::",
5771            stringify!(raw_height)
5772        )
5773    );
5774    assert_eq!(
5775        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).raw_width as *const _ as usize },
5776        2usize,
5777        concat!(
5778            "Offset of field: ",
5779            stringify!(libraw_image_sizes_t),
5780            "::",
5781            stringify!(raw_width)
5782        )
5783    );
5784    assert_eq!(
5785        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).height as *const _ as usize },
5786        4usize,
5787        concat!(
5788            "Offset of field: ",
5789            stringify!(libraw_image_sizes_t),
5790            "::",
5791            stringify!(height)
5792        )
5793    );
5794    assert_eq!(
5795        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).width as *const _ as usize },
5796        6usize,
5797        concat!(
5798            "Offset of field: ",
5799            stringify!(libraw_image_sizes_t),
5800            "::",
5801            stringify!(width)
5802        )
5803    );
5804    assert_eq!(
5805        unsafe {
5806            &(*(::core::ptr::null::<libraw_image_sizes_t>())).top_margin as *const _ as usize
5807        },
5808        8usize,
5809        concat!(
5810            "Offset of field: ",
5811            stringify!(libraw_image_sizes_t),
5812            "::",
5813            stringify!(top_margin)
5814        )
5815    );
5816    assert_eq!(
5817        unsafe {
5818            &(*(::core::ptr::null::<libraw_image_sizes_t>())).left_margin as *const _ as usize
5819        },
5820        10usize,
5821        concat!(
5822            "Offset of field: ",
5823            stringify!(libraw_image_sizes_t),
5824            "::",
5825            stringify!(left_margin)
5826        )
5827    );
5828    assert_eq!(
5829        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).iheight as *const _ as usize },
5830        12usize,
5831        concat!(
5832            "Offset of field: ",
5833            stringify!(libraw_image_sizes_t),
5834            "::",
5835            stringify!(iheight)
5836        )
5837    );
5838    assert_eq!(
5839        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).iwidth as *const _ as usize },
5840        14usize,
5841        concat!(
5842            "Offset of field: ",
5843            stringify!(libraw_image_sizes_t),
5844            "::",
5845            stringify!(iwidth)
5846        )
5847    );
5848    assert_eq!(
5849        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).raw_pitch as *const _ as usize },
5850        16usize,
5851        concat!(
5852            "Offset of field: ",
5853            stringify!(libraw_image_sizes_t),
5854            "::",
5855            stringify!(raw_pitch)
5856        )
5857    );
5858    assert_eq!(
5859        unsafe {
5860            &(*(::core::ptr::null::<libraw_image_sizes_t>())).pixel_aspect as *const _ as usize
5861        },
5862        24usize,
5863        concat!(
5864            "Offset of field: ",
5865            stringify!(libraw_image_sizes_t),
5866            "::",
5867            stringify!(pixel_aspect)
5868        )
5869    );
5870    assert_eq!(
5871        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).flip as *const _ as usize },
5872        32usize,
5873        concat!(
5874            "Offset of field: ",
5875            stringify!(libraw_image_sizes_t),
5876            "::",
5877            stringify!(flip)
5878        )
5879    );
5880    assert_eq!(
5881        unsafe { &(*(::core::ptr::null::<libraw_image_sizes_t>())).mask as *const _ as usize },
5882        36usize,
5883        concat!(
5884            "Offset of field: ",
5885            stringify!(libraw_image_sizes_t),
5886            "::",
5887            stringify!(mask)
5888        )
5889    );
5890    assert_eq!(
5891        unsafe {
5892            &(*(::core::ptr::null::<libraw_image_sizes_t>())).raw_inset_crop as *const _ as usize
5893        },
5894        164usize,
5895        concat!(
5896            "Offset of field: ",
5897            stringify!(libraw_image_sizes_t),
5898            "::",
5899            stringify!(raw_inset_crop)
5900        )
5901    );
5902}
5903#[repr(C)]
5904#[derive(Debug, Copy, Clone, PartialEq)]
5905pub struct ph1_t {
5906    pub format: libc::c_int,
5907    pub key_off: libc::c_int,
5908    pub tag_21a: libc::c_int,
5909    pub t_black: libc::c_int,
5910    pub split_col: libc::c_int,
5911    pub black_col: libc::c_int,
5912    pub split_row: libc::c_int,
5913    pub black_row: libc::c_int,
5914    pub tag_210: f32,
5915}
5916#[test]
5917fn bindgen_test_layout_ph1_t() {
5918    assert_eq!(
5919        ::core::mem::size_of::<ph1_t>(),
5920        36usize,
5921        concat!("Size of: ", stringify!(ph1_t))
5922    );
5923    assert_eq!(
5924        ::core::mem::align_of::<ph1_t>(),
5925        4usize,
5926        concat!("Alignment of ", stringify!(ph1_t))
5927    );
5928    assert_eq!(
5929        unsafe { &(*(::core::ptr::null::<ph1_t>())).format as *const _ as usize },
5930        0usize,
5931        concat!(
5932            "Offset of field: ",
5933            stringify!(ph1_t),
5934            "::",
5935            stringify!(format)
5936        )
5937    );
5938    assert_eq!(
5939        unsafe { &(*(::core::ptr::null::<ph1_t>())).key_off as *const _ as usize },
5940        4usize,
5941        concat!(
5942            "Offset of field: ",
5943            stringify!(ph1_t),
5944            "::",
5945            stringify!(key_off)
5946        )
5947    );
5948    assert_eq!(
5949        unsafe { &(*(::core::ptr::null::<ph1_t>())).tag_21a as *const _ as usize },
5950        8usize,
5951        concat!(
5952            "Offset of field: ",
5953            stringify!(ph1_t),
5954            "::",
5955            stringify!(tag_21a)
5956        )
5957    );
5958    assert_eq!(
5959        unsafe { &(*(::core::ptr::null::<ph1_t>())).t_black as *const _ as usize },
5960        12usize,
5961        concat!(
5962            "Offset of field: ",
5963            stringify!(ph1_t),
5964            "::",
5965            stringify!(t_black)
5966        )
5967    );
5968    assert_eq!(
5969        unsafe { &(*(::core::ptr::null::<ph1_t>())).split_col as *const _ as usize },
5970        16usize,
5971        concat!(
5972            "Offset of field: ",
5973            stringify!(ph1_t),
5974            "::",
5975            stringify!(split_col)
5976        )
5977    );
5978    assert_eq!(
5979        unsafe { &(*(::core::ptr::null::<ph1_t>())).black_col as *const _ as usize },
5980        20usize,
5981        concat!(
5982            "Offset of field: ",
5983            stringify!(ph1_t),
5984            "::",
5985            stringify!(black_col)
5986        )
5987    );
5988    assert_eq!(
5989        unsafe { &(*(::core::ptr::null::<ph1_t>())).split_row as *const _ as usize },
5990        24usize,
5991        concat!(
5992            "Offset of field: ",
5993            stringify!(ph1_t),
5994            "::",
5995            stringify!(split_row)
5996        )
5997    );
5998    assert_eq!(
5999        unsafe { &(*(::core::ptr::null::<ph1_t>())).black_row as *const _ as usize },
6000        28usize,
6001        concat!(
6002            "Offset of field: ",
6003            stringify!(ph1_t),
6004            "::",
6005            stringify!(black_row)
6006        )
6007    );
6008    assert_eq!(
6009        unsafe { &(*(::core::ptr::null::<ph1_t>())).tag_210 as *const _ as usize },
6010        32usize,
6011        concat!(
6012            "Offset of field: ",
6013            stringify!(ph1_t),
6014            "::",
6015            stringify!(tag_210)
6016        )
6017    );
6018}
6019#[repr(C)]
6020#[derive(Debug, Copy, Clone, PartialEq)]
6021pub struct libraw_dng_color_t {
6022    pub parsedfields: libc::c_uint,
6023    pub illuminant: ushort,
6024    pub calibration: [[f32; 4usize]; 4usize],
6025    pub colormatrix: [[f32; 3usize]; 4usize],
6026    pub forwardmatrix: [[f32; 4usize]; 3usize],
6027}
6028#[test]
6029fn bindgen_test_layout_libraw_dng_color_t() {
6030    assert_eq!(
6031        ::core::mem::size_of::<libraw_dng_color_t>(),
6032        168usize,
6033        concat!("Size of: ", stringify!(libraw_dng_color_t))
6034    );
6035    assert_eq!(
6036        ::core::mem::align_of::<libraw_dng_color_t>(),
6037        4usize,
6038        concat!("Alignment of ", stringify!(libraw_dng_color_t))
6039    );
6040    assert_eq!(
6041        unsafe {
6042            &(*(::core::ptr::null::<libraw_dng_color_t>())).parsedfields as *const _ as usize
6043        },
6044        0usize,
6045        concat!(
6046            "Offset of field: ",
6047            stringify!(libraw_dng_color_t),
6048            "::",
6049            stringify!(parsedfields)
6050        )
6051    );
6052    assert_eq!(
6053        unsafe { &(*(::core::ptr::null::<libraw_dng_color_t>())).illuminant as *const _ as usize },
6054        4usize,
6055        concat!(
6056            "Offset of field: ",
6057            stringify!(libraw_dng_color_t),
6058            "::",
6059            stringify!(illuminant)
6060        )
6061    );
6062    assert_eq!(
6063        unsafe { &(*(::core::ptr::null::<libraw_dng_color_t>())).calibration as *const _ as usize },
6064        8usize,
6065        concat!(
6066            "Offset of field: ",
6067            stringify!(libraw_dng_color_t),
6068            "::",
6069            stringify!(calibration)
6070        )
6071    );
6072    assert_eq!(
6073        unsafe { &(*(::core::ptr::null::<libraw_dng_color_t>())).colormatrix as *const _ as usize },
6074        72usize,
6075        concat!(
6076            "Offset of field: ",
6077            stringify!(libraw_dng_color_t),
6078            "::",
6079            stringify!(colormatrix)
6080        )
6081    );
6082    assert_eq!(
6083        unsafe {
6084            &(*(::core::ptr::null::<libraw_dng_color_t>())).forwardmatrix as *const _ as usize
6085        },
6086        120usize,
6087        concat!(
6088            "Offset of field: ",
6089            stringify!(libraw_dng_color_t),
6090            "::",
6091            stringify!(forwardmatrix)
6092        )
6093    );
6094}
6095#[repr(C)]
6096#[derive(Copy, Clone)]
6097pub struct libraw_dng_levels_t {
6098    pub parsedfields: libc::c_uint,
6099    pub dng_cblack: [libc::c_uint; 4104usize],
6100    pub dng_black: libc::c_uint,
6101    pub dng_fcblack: [f32; 4104usize],
6102    pub dng_fblack: f32,
6103    pub dng_whitelevel: [libc::c_uint; 4usize],
6104    pub default_crop: [libc::c_uint; 4usize],
6105    pub preview_colorspace: libc::c_uint,
6106    pub analogbalance: [f32; 4usize],
6107    pub asshotneutral: [f32; 4usize],
6108    pub baseline_exposure: f32,
6109    pub LinearResponseLimit: f32,
6110}
6111#[test]
6112fn bindgen_test_layout_libraw_dng_levels_t() {
6113    assert_eq!(
6114        ::core::mem::size_of::<libraw_dng_levels_t>(),
6115        32920usize,
6116        concat!("Size of: ", stringify!(libraw_dng_levels_t))
6117    );
6118    assert_eq!(
6119        ::core::mem::align_of::<libraw_dng_levels_t>(),
6120        4usize,
6121        concat!("Alignment of ", stringify!(libraw_dng_levels_t))
6122    );
6123    assert_eq!(
6124        unsafe {
6125            &(*(::core::ptr::null::<libraw_dng_levels_t>())).parsedfields as *const _ as usize
6126        },
6127        0usize,
6128        concat!(
6129            "Offset of field: ",
6130            stringify!(libraw_dng_levels_t),
6131            "::",
6132            stringify!(parsedfields)
6133        )
6134    );
6135    assert_eq!(
6136        unsafe { &(*(::core::ptr::null::<libraw_dng_levels_t>())).dng_cblack as *const _ as usize },
6137        4usize,
6138        concat!(
6139            "Offset of field: ",
6140            stringify!(libraw_dng_levels_t),
6141            "::",
6142            stringify!(dng_cblack)
6143        )
6144    );
6145    assert_eq!(
6146        unsafe { &(*(::core::ptr::null::<libraw_dng_levels_t>())).dng_black as *const _ as usize },
6147        16420usize,
6148        concat!(
6149            "Offset of field: ",
6150            stringify!(libraw_dng_levels_t),
6151            "::",
6152            stringify!(dng_black)
6153        )
6154    );
6155    assert_eq!(
6156        unsafe {
6157            &(*(::core::ptr::null::<libraw_dng_levels_t>())).dng_fcblack as *const _ as usize
6158        },
6159        16424usize,
6160        concat!(
6161            "Offset of field: ",
6162            stringify!(libraw_dng_levels_t),
6163            "::",
6164            stringify!(dng_fcblack)
6165        )
6166    );
6167    assert_eq!(
6168        unsafe { &(*(::core::ptr::null::<libraw_dng_levels_t>())).dng_fblack as *const _ as usize },
6169        32840usize,
6170        concat!(
6171            "Offset of field: ",
6172            stringify!(libraw_dng_levels_t),
6173            "::",
6174            stringify!(dng_fblack)
6175        )
6176    );
6177    assert_eq!(
6178        unsafe {
6179            &(*(::core::ptr::null::<libraw_dng_levels_t>())).dng_whitelevel as *const _ as usize
6180        },
6181        32844usize,
6182        concat!(
6183            "Offset of field: ",
6184            stringify!(libraw_dng_levels_t),
6185            "::",
6186            stringify!(dng_whitelevel)
6187        )
6188    );
6189    assert_eq!(
6190        unsafe {
6191            &(*(::core::ptr::null::<libraw_dng_levels_t>())).default_crop as *const _ as usize
6192        },
6193        32860usize,
6194        concat!(
6195            "Offset of field: ",
6196            stringify!(libraw_dng_levels_t),
6197            "::",
6198            stringify!(default_crop)
6199        )
6200    );
6201    assert_eq!(
6202        unsafe {
6203            &(*(::core::ptr::null::<libraw_dng_levels_t>())).preview_colorspace as *const _ as usize
6204        },
6205        32876usize,
6206        concat!(
6207            "Offset of field: ",
6208            stringify!(libraw_dng_levels_t),
6209            "::",
6210            stringify!(preview_colorspace)
6211        )
6212    );
6213    assert_eq!(
6214        unsafe {
6215            &(*(::core::ptr::null::<libraw_dng_levels_t>())).analogbalance as *const _ as usize
6216        },
6217        32880usize,
6218        concat!(
6219            "Offset of field: ",
6220            stringify!(libraw_dng_levels_t),
6221            "::",
6222            stringify!(analogbalance)
6223        )
6224    );
6225    assert_eq!(
6226        unsafe {
6227            &(*(::core::ptr::null::<libraw_dng_levels_t>())).asshotneutral as *const _ as usize
6228        },
6229        32896usize,
6230        concat!(
6231            "Offset of field: ",
6232            stringify!(libraw_dng_levels_t),
6233            "::",
6234            stringify!(asshotneutral)
6235        )
6236    );
6237    assert_eq!(
6238        unsafe {
6239            &(*(::core::ptr::null::<libraw_dng_levels_t>())).baseline_exposure as *const _ as usize
6240        },
6241        32912usize,
6242        concat!(
6243            "Offset of field: ",
6244            stringify!(libraw_dng_levels_t),
6245            "::",
6246            stringify!(baseline_exposure)
6247        )
6248    );
6249    assert_eq!(
6250        unsafe {
6251            &(*(::core::ptr::null::<libraw_dng_levels_t>())).LinearResponseLimit as *const _
6252                as usize
6253        },
6254        32916usize,
6255        concat!(
6256            "Offset of field: ",
6257            stringify!(libraw_dng_levels_t),
6258            "::",
6259            stringify!(LinearResponseLimit)
6260        )
6261    );
6262}
6263#[repr(C)]
6264#[derive(Debug, Copy, Clone, PartialEq)]
6265pub struct libraw_P1_color_t {
6266    pub romm_cam: [f32; 9usize],
6267}
6268#[test]
6269fn bindgen_test_layout_libraw_P1_color_t() {
6270    assert_eq!(
6271        ::core::mem::size_of::<libraw_P1_color_t>(),
6272        36usize,
6273        concat!("Size of: ", stringify!(libraw_P1_color_t))
6274    );
6275    assert_eq!(
6276        ::core::mem::align_of::<libraw_P1_color_t>(),
6277        4usize,
6278        concat!("Alignment of ", stringify!(libraw_P1_color_t))
6279    );
6280    assert_eq!(
6281        unsafe { &(*(::core::ptr::null::<libraw_P1_color_t>())).romm_cam as *const _ as usize },
6282        0usize,
6283        concat!(
6284            "Offset of field: ",
6285            stringify!(libraw_P1_color_t),
6286            "::",
6287            stringify!(romm_cam)
6288        )
6289    );
6290}
6291#[repr(C)]
6292#[derive(Copy, Clone)]
6293pub struct libraw_canon_makernotes_t {
6294    pub ColorDataVer: libc::c_int,
6295    pub ColorDataSubVer: libc::c_int,
6296    pub SpecularWhiteLevel: libc::c_int,
6297    pub NormalWhiteLevel: libc::c_int,
6298    pub ChannelBlackLevel: [libc::c_int; 4usize],
6299    pub AverageBlackLevel: libc::c_int,
6300    pub multishot: [libc::c_uint; 4usize],
6301    pub MeteringMode: libc::c_short,
6302    pub SpotMeteringMode: libc::c_short,
6303    pub FlashMeteringMode: uchar,
6304    pub FlashExposureLock: libc::c_short,
6305    pub ExposureMode: libc::c_short,
6306    pub AESetting: libc::c_short,
6307    pub HighlightTonePriority: uchar,
6308    pub ImageStabilization: libc::c_short,
6309    pub FocusMode: libc::c_short,
6310    pub AFPoint: libc::c_short,
6311    pub FocusContinuous: libc::c_short,
6312    pub AFPointsInFocus30D: libc::c_short,
6313    pub AFPointsInFocus1D: [uchar; 8usize],
6314    pub AFPointsInFocus5D: ushort,
6315    pub AFAreaMode: ushort,
6316    pub NumAFPoints: ushort,
6317    pub ValidAFPoints: ushort,
6318    pub AFImageWidth: ushort,
6319    pub AFImageHeight: ushort,
6320    pub AFAreaWidths: [libc::c_short; 61usize],
6321    pub AFAreaHeights: [libc::c_short; 61usize],
6322    pub AFAreaXPositions: [libc::c_short; 61usize],
6323    pub AFAreaYPositions: [libc::c_short; 61usize],
6324    pub AFPointsInFocus: [libc::c_short; 4usize],
6325    pub AFPointsSelected: [libc::c_short; 4usize],
6326    pub PrimaryAFPoint: ushort,
6327    pub FlashMode: libc::c_short,
6328    pub FlashActivity: libc::c_short,
6329    pub FlashBits: libc::c_short,
6330    pub ManualFlashOutput: libc::c_short,
6331    pub FlashOutput: libc::c_short,
6332    pub FlashGuideNumber: libc::c_short,
6333    pub ContinuousDrive: libc::c_short,
6334    pub SensorWidth: libc::c_short,
6335    pub SensorHeight: libc::c_short,
6336    pub SensorLeftBorder: libc::c_short,
6337    pub SensorTopBorder: libc::c_short,
6338    pub SensorRightBorder: libc::c_short,
6339    pub SensorBottomBorder: libc::c_short,
6340    pub BlackMaskLeftBorder: libc::c_short,
6341    pub BlackMaskTopBorder: libc::c_short,
6342    pub BlackMaskRightBorder: libc::c_short,
6343    pub BlackMaskBottomBorder: libc::c_short,
6344    pub AFMicroAdjMode: libc::c_int,
6345    pub AFMicroAdjValue: f32,
6346    pub MakernotesFlip: libc::c_short,
6347    pub RecordMode: libc::c_short,
6348    pub SRAWQuality: libc::c_short,
6349    pub wbi: libc::c_uint,
6350    pub firmware: f32,
6351    pub RF_lensID: libc::c_short,
6352}
6353#[test]
6354fn bindgen_test_layout_libraw_canon_makernotes_t() {
6355    assert_eq!(
6356        ::core::mem::size_of::<libraw_canon_makernotes_t>(),
6357        664usize,
6358        concat!("Size of: ", stringify!(libraw_canon_makernotes_t))
6359    );
6360    assert_eq!(
6361        ::core::mem::align_of::<libraw_canon_makernotes_t>(),
6362        4usize,
6363        concat!("Alignment of ", stringify!(libraw_canon_makernotes_t))
6364    );
6365    assert_eq!(
6366        unsafe {
6367            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ColorDataVer as *const _ as usize
6368        },
6369        0usize,
6370        concat!(
6371            "Offset of field: ",
6372            stringify!(libraw_canon_makernotes_t),
6373            "::",
6374            stringify!(ColorDataVer)
6375        )
6376    );
6377    assert_eq!(
6378        unsafe {
6379            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ColorDataSubVer as *const _
6380                as usize
6381        },
6382        4usize,
6383        concat!(
6384            "Offset of field: ",
6385            stringify!(libraw_canon_makernotes_t),
6386            "::",
6387            stringify!(ColorDataSubVer)
6388        )
6389    );
6390    assert_eq!(
6391        unsafe {
6392            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SpecularWhiteLevel as *const _
6393                as usize
6394        },
6395        8usize,
6396        concat!(
6397            "Offset of field: ",
6398            stringify!(libraw_canon_makernotes_t),
6399            "::",
6400            stringify!(SpecularWhiteLevel)
6401        )
6402    );
6403    assert_eq!(
6404        unsafe {
6405            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).NormalWhiteLevel as *const _
6406                as usize
6407        },
6408        12usize,
6409        concat!(
6410            "Offset of field: ",
6411            stringify!(libraw_canon_makernotes_t),
6412            "::",
6413            stringify!(NormalWhiteLevel)
6414        )
6415    );
6416    assert_eq!(
6417        unsafe {
6418            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ChannelBlackLevel as *const _
6419                as usize
6420        },
6421        16usize,
6422        concat!(
6423            "Offset of field: ",
6424            stringify!(libraw_canon_makernotes_t),
6425            "::",
6426            stringify!(ChannelBlackLevel)
6427        )
6428    );
6429    assert_eq!(
6430        unsafe {
6431            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AverageBlackLevel as *const _
6432                as usize
6433        },
6434        32usize,
6435        concat!(
6436            "Offset of field: ",
6437            stringify!(libraw_canon_makernotes_t),
6438            "::",
6439            stringify!(AverageBlackLevel)
6440        )
6441    );
6442    assert_eq!(
6443        unsafe {
6444            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).multishot as *const _ as usize
6445        },
6446        36usize,
6447        concat!(
6448            "Offset of field: ",
6449            stringify!(libraw_canon_makernotes_t),
6450            "::",
6451            stringify!(multishot)
6452        )
6453    );
6454    assert_eq!(
6455        unsafe {
6456            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).MeteringMode as *const _ as usize
6457        },
6458        52usize,
6459        concat!(
6460            "Offset of field: ",
6461            stringify!(libraw_canon_makernotes_t),
6462            "::",
6463            stringify!(MeteringMode)
6464        )
6465    );
6466    assert_eq!(
6467        unsafe {
6468            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SpotMeteringMode as *const _
6469                as usize
6470        },
6471        54usize,
6472        concat!(
6473            "Offset of field: ",
6474            stringify!(libraw_canon_makernotes_t),
6475            "::",
6476            stringify!(SpotMeteringMode)
6477        )
6478    );
6479    assert_eq!(
6480        unsafe {
6481            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FlashMeteringMode as *const _
6482                as usize
6483        },
6484        56usize,
6485        concat!(
6486            "Offset of field: ",
6487            stringify!(libraw_canon_makernotes_t),
6488            "::",
6489            stringify!(FlashMeteringMode)
6490        )
6491    );
6492    assert_eq!(
6493        unsafe {
6494            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FlashExposureLock as *const _
6495                as usize
6496        },
6497        58usize,
6498        concat!(
6499            "Offset of field: ",
6500            stringify!(libraw_canon_makernotes_t),
6501            "::",
6502            stringify!(FlashExposureLock)
6503        )
6504    );
6505    assert_eq!(
6506        unsafe {
6507            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ExposureMode as *const _ as usize
6508        },
6509        60usize,
6510        concat!(
6511            "Offset of field: ",
6512            stringify!(libraw_canon_makernotes_t),
6513            "::",
6514            stringify!(ExposureMode)
6515        )
6516    );
6517    assert_eq!(
6518        unsafe {
6519            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AESetting as *const _ as usize
6520        },
6521        62usize,
6522        concat!(
6523            "Offset of field: ",
6524            stringify!(libraw_canon_makernotes_t),
6525            "::",
6526            stringify!(AESetting)
6527        )
6528    );
6529    assert_eq!(
6530        unsafe {
6531            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).HighlightTonePriority as *const _
6532                as usize
6533        },
6534        64usize,
6535        concat!(
6536            "Offset of field: ",
6537            stringify!(libraw_canon_makernotes_t),
6538            "::",
6539            stringify!(HighlightTonePriority)
6540        )
6541    );
6542    assert_eq!(
6543        unsafe {
6544            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ImageStabilization as *const _
6545                as usize
6546        },
6547        66usize,
6548        concat!(
6549            "Offset of field: ",
6550            stringify!(libraw_canon_makernotes_t),
6551            "::",
6552            stringify!(ImageStabilization)
6553        )
6554    );
6555    assert_eq!(
6556        unsafe {
6557            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FocusMode as *const _ as usize
6558        },
6559        68usize,
6560        concat!(
6561            "Offset of field: ",
6562            stringify!(libraw_canon_makernotes_t),
6563            "::",
6564            stringify!(FocusMode)
6565        )
6566    );
6567    assert_eq!(
6568        unsafe {
6569            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFPoint as *const _ as usize
6570        },
6571        70usize,
6572        concat!(
6573            "Offset of field: ",
6574            stringify!(libraw_canon_makernotes_t),
6575            "::",
6576            stringify!(AFPoint)
6577        )
6578    );
6579    assert_eq!(
6580        unsafe {
6581            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FocusContinuous as *const _
6582                as usize
6583        },
6584        72usize,
6585        concat!(
6586            "Offset of field: ",
6587            stringify!(libraw_canon_makernotes_t),
6588            "::",
6589            stringify!(FocusContinuous)
6590        )
6591    );
6592    assert_eq!(
6593        unsafe {
6594            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFPointsInFocus30D as *const _
6595                as usize
6596        },
6597        74usize,
6598        concat!(
6599            "Offset of field: ",
6600            stringify!(libraw_canon_makernotes_t),
6601            "::",
6602            stringify!(AFPointsInFocus30D)
6603        )
6604    );
6605    assert_eq!(
6606        unsafe {
6607            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFPointsInFocus1D as *const _
6608                as usize
6609        },
6610        76usize,
6611        concat!(
6612            "Offset of field: ",
6613            stringify!(libraw_canon_makernotes_t),
6614            "::",
6615            stringify!(AFPointsInFocus1D)
6616        )
6617    );
6618    assert_eq!(
6619        unsafe {
6620            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFPointsInFocus5D as *const _
6621                as usize
6622        },
6623        84usize,
6624        concat!(
6625            "Offset of field: ",
6626            stringify!(libraw_canon_makernotes_t),
6627            "::",
6628            stringify!(AFPointsInFocus5D)
6629        )
6630    );
6631    assert_eq!(
6632        unsafe {
6633            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFAreaMode as *const _ as usize
6634        },
6635        86usize,
6636        concat!(
6637            "Offset of field: ",
6638            stringify!(libraw_canon_makernotes_t),
6639            "::",
6640            stringify!(AFAreaMode)
6641        )
6642    );
6643    assert_eq!(
6644        unsafe {
6645            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).NumAFPoints as *const _ as usize
6646        },
6647        88usize,
6648        concat!(
6649            "Offset of field: ",
6650            stringify!(libraw_canon_makernotes_t),
6651            "::",
6652            stringify!(NumAFPoints)
6653        )
6654    );
6655    assert_eq!(
6656        unsafe {
6657            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ValidAFPoints as *const _
6658                as usize
6659        },
6660        90usize,
6661        concat!(
6662            "Offset of field: ",
6663            stringify!(libraw_canon_makernotes_t),
6664            "::",
6665            stringify!(ValidAFPoints)
6666        )
6667    );
6668    assert_eq!(
6669        unsafe {
6670            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFImageWidth as *const _ as usize
6671        },
6672        92usize,
6673        concat!(
6674            "Offset of field: ",
6675            stringify!(libraw_canon_makernotes_t),
6676            "::",
6677            stringify!(AFImageWidth)
6678        )
6679    );
6680    assert_eq!(
6681        unsafe {
6682            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFImageHeight as *const _
6683                as usize
6684        },
6685        94usize,
6686        concat!(
6687            "Offset of field: ",
6688            stringify!(libraw_canon_makernotes_t),
6689            "::",
6690            stringify!(AFImageHeight)
6691        )
6692    );
6693    assert_eq!(
6694        unsafe {
6695            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFAreaWidths as *const _ as usize
6696        },
6697        96usize,
6698        concat!(
6699            "Offset of field: ",
6700            stringify!(libraw_canon_makernotes_t),
6701            "::",
6702            stringify!(AFAreaWidths)
6703        )
6704    );
6705    assert_eq!(
6706        unsafe {
6707            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFAreaHeights as *const _
6708                as usize
6709        },
6710        218usize,
6711        concat!(
6712            "Offset of field: ",
6713            stringify!(libraw_canon_makernotes_t),
6714            "::",
6715            stringify!(AFAreaHeights)
6716        )
6717    );
6718    assert_eq!(
6719        unsafe {
6720            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFAreaXPositions as *const _
6721                as usize
6722        },
6723        340usize,
6724        concat!(
6725            "Offset of field: ",
6726            stringify!(libraw_canon_makernotes_t),
6727            "::",
6728            stringify!(AFAreaXPositions)
6729        )
6730    );
6731    assert_eq!(
6732        unsafe {
6733            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFAreaYPositions as *const _
6734                as usize
6735        },
6736        462usize,
6737        concat!(
6738            "Offset of field: ",
6739            stringify!(libraw_canon_makernotes_t),
6740            "::",
6741            stringify!(AFAreaYPositions)
6742        )
6743    );
6744    assert_eq!(
6745        unsafe {
6746            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFPointsInFocus as *const _
6747                as usize
6748        },
6749        584usize,
6750        concat!(
6751            "Offset of field: ",
6752            stringify!(libraw_canon_makernotes_t),
6753            "::",
6754            stringify!(AFPointsInFocus)
6755        )
6756    );
6757    assert_eq!(
6758        unsafe {
6759            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFPointsSelected as *const _
6760                as usize
6761        },
6762        592usize,
6763        concat!(
6764            "Offset of field: ",
6765            stringify!(libraw_canon_makernotes_t),
6766            "::",
6767            stringify!(AFPointsSelected)
6768        )
6769    );
6770    assert_eq!(
6771        unsafe {
6772            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).PrimaryAFPoint as *const _
6773                as usize
6774        },
6775        600usize,
6776        concat!(
6777            "Offset of field: ",
6778            stringify!(libraw_canon_makernotes_t),
6779            "::",
6780            stringify!(PrimaryAFPoint)
6781        )
6782    );
6783    assert_eq!(
6784        unsafe {
6785            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FlashMode as *const _ as usize
6786        },
6787        602usize,
6788        concat!(
6789            "Offset of field: ",
6790            stringify!(libraw_canon_makernotes_t),
6791            "::",
6792            stringify!(FlashMode)
6793        )
6794    );
6795    assert_eq!(
6796        unsafe {
6797            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FlashActivity as *const _
6798                as usize
6799        },
6800        604usize,
6801        concat!(
6802            "Offset of field: ",
6803            stringify!(libraw_canon_makernotes_t),
6804            "::",
6805            stringify!(FlashActivity)
6806        )
6807    );
6808    assert_eq!(
6809        unsafe {
6810            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FlashBits as *const _ as usize
6811        },
6812        606usize,
6813        concat!(
6814            "Offset of field: ",
6815            stringify!(libraw_canon_makernotes_t),
6816            "::",
6817            stringify!(FlashBits)
6818        )
6819    );
6820    assert_eq!(
6821        unsafe {
6822            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ManualFlashOutput as *const _
6823                as usize
6824        },
6825        608usize,
6826        concat!(
6827            "Offset of field: ",
6828            stringify!(libraw_canon_makernotes_t),
6829            "::",
6830            stringify!(ManualFlashOutput)
6831        )
6832    );
6833    assert_eq!(
6834        unsafe {
6835            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FlashOutput as *const _ as usize
6836        },
6837        610usize,
6838        concat!(
6839            "Offset of field: ",
6840            stringify!(libraw_canon_makernotes_t),
6841            "::",
6842            stringify!(FlashOutput)
6843        )
6844    );
6845    assert_eq!(
6846        unsafe {
6847            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).FlashGuideNumber as *const _
6848                as usize
6849        },
6850        612usize,
6851        concat!(
6852            "Offset of field: ",
6853            stringify!(libraw_canon_makernotes_t),
6854            "::",
6855            stringify!(FlashGuideNumber)
6856        )
6857    );
6858    assert_eq!(
6859        unsafe {
6860            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).ContinuousDrive as *const _
6861                as usize
6862        },
6863        614usize,
6864        concat!(
6865            "Offset of field: ",
6866            stringify!(libraw_canon_makernotes_t),
6867            "::",
6868            stringify!(ContinuousDrive)
6869        )
6870    );
6871    assert_eq!(
6872        unsafe {
6873            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SensorWidth as *const _ as usize
6874        },
6875        616usize,
6876        concat!(
6877            "Offset of field: ",
6878            stringify!(libraw_canon_makernotes_t),
6879            "::",
6880            stringify!(SensorWidth)
6881        )
6882    );
6883    assert_eq!(
6884        unsafe {
6885            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SensorHeight as *const _ as usize
6886        },
6887        618usize,
6888        concat!(
6889            "Offset of field: ",
6890            stringify!(libraw_canon_makernotes_t),
6891            "::",
6892            stringify!(SensorHeight)
6893        )
6894    );
6895    assert_eq!(
6896        unsafe {
6897            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SensorLeftBorder as *const _
6898                as usize
6899        },
6900        620usize,
6901        concat!(
6902            "Offset of field: ",
6903            stringify!(libraw_canon_makernotes_t),
6904            "::",
6905            stringify!(SensorLeftBorder)
6906        )
6907    );
6908    assert_eq!(
6909        unsafe {
6910            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SensorTopBorder as *const _
6911                as usize
6912        },
6913        622usize,
6914        concat!(
6915            "Offset of field: ",
6916            stringify!(libraw_canon_makernotes_t),
6917            "::",
6918            stringify!(SensorTopBorder)
6919        )
6920    );
6921    assert_eq!(
6922        unsafe {
6923            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SensorRightBorder as *const _
6924                as usize
6925        },
6926        624usize,
6927        concat!(
6928            "Offset of field: ",
6929            stringify!(libraw_canon_makernotes_t),
6930            "::",
6931            stringify!(SensorRightBorder)
6932        )
6933    );
6934    assert_eq!(
6935        unsafe {
6936            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SensorBottomBorder as *const _
6937                as usize
6938        },
6939        626usize,
6940        concat!(
6941            "Offset of field: ",
6942            stringify!(libraw_canon_makernotes_t),
6943            "::",
6944            stringify!(SensorBottomBorder)
6945        )
6946    );
6947    assert_eq!(
6948        unsafe {
6949            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).BlackMaskLeftBorder as *const _
6950                as usize
6951        },
6952        628usize,
6953        concat!(
6954            "Offset of field: ",
6955            stringify!(libraw_canon_makernotes_t),
6956            "::",
6957            stringify!(BlackMaskLeftBorder)
6958        )
6959    );
6960    assert_eq!(
6961        unsafe {
6962            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).BlackMaskTopBorder as *const _
6963                as usize
6964        },
6965        630usize,
6966        concat!(
6967            "Offset of field: ",
6968            stringify!(libraw_canon_makernotes_t),
6969            "::",
6970            stringify!(BlackMaskTopBorder)
6971        )
6972    );
6973    assert_eq!(
6974        unsafe {
6975            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).BlackMaskRightBorder as *const _
6976                as usize
6977        },
6978        632usize,
6979        concat!(
6980            "Offset of field: ",
6981            stringify!(libraw_canon_makernotes_t),
6982            "::",
6983            stringify!(BlackMaskRightBorder)
6984        )
6985    );
6986    assert_eq!(
6987        unsafe {
6988            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).BlackMaskBottomBorder as *const _
6989                as usize
6990        },
6991        634usize,
6992        concat!(
6993            "Offset of field: ",
6994            stringify!(libraw_canon_makernotes_t),
6995            "::",
6996            stringify!(BlackMaskBottomBorder)
6997        )
6998    );
6999    assert_eq!(
7000        unsafe {
7001            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFMicroAdjMode as *const _
7002                as usize
7003        },
7004        636usize,
7005        concat!(
7006            "Offset of field: ",
7007            stringify!(libraw_canon_makernotes_t),
7008            "::",
7009            stringify!(AFMicroAdjMode)
7010        )
7011    );
7012    assert_eq!(
7013        unsafe {
7014            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).AFMicroAdjValue as *const _
7015                as usize
7016        },
7017        640usize,
7018        concat!(
7019            "Offset of field: ",
7020            stringify!(libraw_canon_makernotes_t),
7021            "::",
7022            stringify!(AFMicroAdjValue)
7023        )
7024    );
7025    assert_eq!(
7026        unsafe {
7027            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).MakernotesFlip as *const _
7028                as usize
7029        },
7030        644usize,
7031        concat!(
7032            "Offset of field: ",
7033            stringify!(libraw_canon_makernotes_t),
7034            "::",
7035            stringify!(MakernotesFlip)
7036        )
7037    );
7038    assert_eq!(
7039        unsafe {
7040            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).RecordMode as *const _ as usize
7041        },
7042        646usize,
7043        concat!(
7044            "Offset of field: ",
7045            stringify!(libraw_canon_makernotes_t),
7046            "::",
7047            stringify!(RecordMode)
7048        )
7049    );
7050    assert_eq!(
7051        unsafe {
7052            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).SRAWQuality as *const _ as usize
7053        },
7054        648usize,
7055        concat!(
7056            "Offset of field: ",
7057            stringify!(libraw_canon_makernotes_t),
7058            "::",
7059            stringify!(SRAWQuality)
7060        )
7061    );
7062    assert_eq!(
7063        unsafe { &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).wbi as *const _ as usize },
7064        652usize,
7065        concat!(
7066            "Offset of field: ",
7067            stringify!(libraw_canon_makernotes_t),
7068            "::",
7069            stringify!(wbi)
7070        )
7071    );
7072    assert_eq!(
7073        unsafe {
7074            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).firmware as *const _ as usize
7075        },
7076        656usize,
7077        concat!(
7078            "Offset of field: ",
7079            stringify!(libraw_canon_makernotes_t),
7080            "::",
7081            stringify!(firmware)
7082        )
7083    );
7084    assert_eq!(
7085        unsafe {
7086            &(*(::core::ptr::null::<libraw_canon_makernotes_t>())).RF_lensID as *const _ as usize
7087        },
7088        660usize,
7089        concat!(
7090            "Offset of field: ",
7091            stringify!(libraw_canon_makernotes_t),
7092            "::",
7093            stringify!(RF_lensID)
7094        )
7095    );
7096}
7097#[repr(C)]
7098#[derive(Copy, Clone)]
7099pub struct libraw_hasselblad_makernotes_t {
7100    pub BaseISO: libc::c_int,
7101    pub Gain: f64,
7102    pub Sensor: [libc::c_char; 8usize],
7103    pub SensorUnit: [libc::c_char; 64usize],
7104    pub HostBody: [libc::c_char; 64usize],
7105    pub SensorCode: libc::c_int,
7106    pub SensorSubCode: libc::c_int,
7107    pub CoatingCode: libc::c_int,
7108    pub uncropped: libc::c_int,
7109    pub CaptureSequenceInitiator: [libc::c_char; 32usize],
7110    pub SensorUnitConnector: [libc::c_char; 64usize],
7111    pub format: libc::c_int,
7112    pub nIFD_CM: [libc::c_int; 2usize],
7113    pub RecommendedCrop: [libc::c_int; 2usize],
7114    pub mnColorMatrix: [[f64; 3usize]; 4usize],
7115}
7116#[test]
7117fn bindgen_test_layout_libraw_hasselblad_makernotes_t() {
7118    assert_eq!(
7119        ::core::mem::size_of::<libraw_hasselblad_makernotes_t>(),
7120        384usize,
7121        concat!("Size of: ", stringify!(libraw_hasselblad_makernotes_t))
7122    );
7123    assert_eq!(
7124        ::core::mem::align_of::<libraw_hasselblad_makernotes_t>(),
7125        8usize,
7126        concat!("Alignment of ", stringify!(libraw_hasselblad_makernotes_t))
7127    );
7128    assert_eq!(
7129        unsafe {
7130            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).BaseISO as *const _ as usize
7131        },
7132        0usize,
7133        concat!(
7134            "Offset of field: ",
7135            stringify!(libraw_hasselblad_makernotes_t),
7136            "::",
7137            stringify!(BaseISO)
7138        )
7139    );
7140    assert_eq!(
7141        unsafe {
7142            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).Gain as *const _ as usize
7143        },
7144        8usize,
7145        concat!(
7146            "Offset of field: ",
7147            stringify!(libraw_hasselblad_makernotes_t),
7148            "::",
7149            stringify!(Gain)
7150        )
7151    );
7152    assert_eq!(
7153        unsafe {
7154            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).Sensor as *const _ as usize
7155        },
7156        16usize,
7157        concat!(
7158            "Offset of field: ",
7159            stringify!(libraw_hasselblad_makernotes_t),
7160            "::",
7161            stringify!(Sensor)
7162        )
7163    );
7164    assert_eq!(
7165        unsafe {
7166            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).SensorUnit as *const _
7167                as usize
7168        },
7169        24usize,
7170        concat!(
7171            "Offset of field: ",
7172            stringify!(libraw_hasselblad_makernotes_t),
7173            "::",
7174            stringify!(SensorUnit)
7175        )
7176    );
7177    assert_eq!(
7178        unsafe {
7179            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).HostBody as *const _
7180                as usize
7181        },
7182        88usize,
7183        concat!(
7184            "Offset of field: ",
7185            stringify!(libraw_hasselblad_makernotes_t),
7186            "::",
7187            stringify!(HostBody)
7188        )
7189    );
7190    assert_eq!(
7191        unsafe {
7192            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).SensorCode as *const _
7193                as usize
7194        },
7195        152usize,
7196        concat!(
7197            "Offset of field: ",
7198            stringify!(libraw_hasselblad_makernotes_t),
7199            "::",
7200            stringify!(SensorCode)
7201        )
7202    );
7203    assert_eq!(
7204        unsafe {
7205            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).SensorSubCode as *const _
7206                as usize
7207        },
7208        156usize,
7209        concat!(
7210            "Offset of field: ",
7211            stringify!(libraw_hasselblad_makernotes_t),
7212            "::",
7213            stringify!(SensorSubCode)
7214        )
7215    );
7216    assert_eq!(
7217        unsafe {
7218            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).CoatingCode as *const _
7219                as usize
7220        },
7221        160usize,
7222        concat!(
7223            "Offset of field: ",
7224            stringify!(libraw_hasselblad_makernotes_t),
7225            "::",
7226            stringify!(CoatingCode)
7227        )
7228    );
7229    assert_eq!(
7230        unsafe {
7231            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).uncropped as *const _
7232                as usize
7233        },
7234        164usize,
7235        concat!(
7236            "Offset of field: ",
7237            stringify!(libraw_hasselblad_makernotes_t),
7238            "::",
7239            stringify!(uncropped)
7240        )
7241    );
7242    assert_eq!(
7243        unsafe {
7244            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).CaptureSequenceInitiator
7245                as *const _ as usize
7246        },
7247        168usize,
7248        concat!(
7249            "Offset of field: ",
7250            stringify!(libraw_hasselblad_makernotes_t),
7251            "::",
7252            stringify!(CaptureSequenceInitiator)
7253        )
7254    );
7255    assert_eq!(
7256        unsafe {
7257            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).SensorUnitConnector
7258                as *const _ as usize
7259        },
7260        200usize,
7261        concat!(
7262            "Offset of field: ",
7263            stringify!(libraw_hasselblad_makernotes_t),
7264            "::",
7265            stringify!(SensorUnitConnector)
7266        )
7267    );
7268    assert_eq!(
7269        unsafe {
7270            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).format as *const _ as usize
7271        },
7272        264usize,
7273        concat!(
7274            "Offset of field: ",
7275            stringify!(libraw_hasselblad_makernotes_t),
7276            "::",
7277            stringify!(format)
7278        )
7279    );
7280    assert_eq!(
7281        unsafe {
7282            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).nIFD_CM as *const _ as usize
7283        },
7284        268usize,
7285        concat!(
7286            "Offset of field: ",
7287            stringify!(libraw_hasselblad_makernotes_t),
7288            "::",
7289            stringify!(nIFD_CM)
7290        )
7291    );
7292    assert_eq!(
7293        unsafe {
7294            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).RecommendedCrop as *const _
7295                as usize
7296        },
7297        276usize,
7298        concat!(
7299            "Offset of field: ",
7300            stringify!(libraw_hasselblad_makernotes_t),
7301            "::",
7302            stringify!(RecommendedCrop)
7303        )
7304    );
7305    assert_eq!(
7306        unsafe {
7307            &(*(::core::ptr::null::<libraw_hasselblad_makernotes_t>())).mnColorMatrix as *const _
7308                as usize
7309        },
7310        288usize,
7311        concat!(
7312            "Offset of field: ",
7313            stringify!(libraw_hasselblad_makernotes_t),
7314            "::",
7315            stringify!(mnColorMatrix)
7316        )
7317    );
7318}
7319#[repr(C)]
7320#[derive(Debug, Copy, Clone, PartialEq)]
7321pub struct libraw_fuji_info_t {
7322    pub ExpoMidPointShift: f32,
7323    pub DynamicRange: ushort,
7324    pub FilmMode: ushort,
7325    pub DynamicRangeSetting: ushort,
7326    pub DevelopmentDynamicRange: ushort,
7327    pub AutoDynamicRange: ushort,
7328    pub DRangePriority: ushort,
7329    pub DRangePriorityAuto: ushort,
7330    pub DRangePriorityFixed: ushort,
7331    pub BrightnessCompensation: f32,
7332    pub FocusMode: ushort,
7333    pub AFMode: ushort,
7334    pub FocusPixel: [ushort; 2usize],
7335    pub ImageStabilization: [ushort; 3usize],
7336    pub FlashMode: ushort,
7337    pub WB_Preset: ushort,
7338    pub ShutterType: ushort,
7339    pub ExrMode: ushort,
7340    pub Macro: ushort,
7341    pub Rating: libc::c_uint,
7342    pub CropMode: ushort,
7343    pub FrameRate: ushort,
7344    pub FrameWidth: ushort,
7345    pub FrameHeight: ushort,
7346    pub SerialSignature: [libc::c_char; 13usize],
7347    pub RAFVersion: [libc::c_char; 5usize],
7348    pub RAFDataVersion: ushort,
7349    pub isTSNERDTS: libc::c_int,
7350    pub DriveMode: libc::c_short,
7351}
7352#[test]
7353fn bindgen_test_layout_libraw_fuji_info_t() {
7354    assert_eq!(
7355        ::core::mem::size_of::<libraw_fuji_info_t>(),
7356        88usize,
7357        concat!("Size of: ", stringify!(libraw_fuji_info_t))
7358    );
7359    assert_eq!(
7360        ::core::mem::align_of::<libraw_fuji_info_t>(),
7361        4usize,
7362        concat!("Alignment of ", stringify!(libraw_fuji_info_t))
7363    );
7364    assert_eq!(
7365        unsafe {
7366            &(*(::core::ptr::null::<libraw_fuji_info_t>())).ExpoMidPointShift as *const _ as usize
7367        },
7368        0usize,
7369        concat!(
7370            "Offset of field: ",
7371            stringify!(libraw_fuji_info_t),
7372            "::",
7373            stringify!(ExpoMidPointShift)
7374        )
7375    );
7376    assert_eq!(
7377        unsafe {
7378            &(*(::core::ptr::null::<libraw_fuji_info_t>())).DynamicRange as *const _ as usize
7379        },
7380        4usize,
7381        concat!(
7382            "Offset of field: ",
7383            stringify!(libraw_fuji_info_t),
7384            "::",
7385            stringify!(DynamicRange)
7386        )
7387    );
7388    assert_eq!(
7389        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).FilmMode as *const _ as usize },
7390        6usize,
7391        concat!(
7392            "Offset of field: ",
7393            stringify!(libraw_fuji_info_t),
7394            "::",
7395            stringify!(FilmMode)
7396        )
7397    );
7398    assert_eq!(
7399        unsafe {
7400            &(*(::core::ptr::null::<libraw_fuji_info_t>())).DynamicRangeSetting as *const _ as usize
7401        },
7402        8usize,
7403        concat!(
7404            "Offset of field: ",
7405            stringify!(libraw_fuji_info_t),
7406            "::",
7407            stringify!(DynamicRangeSetting)
7408        )
7409    );
7410    assert_eq!(
7411        unsafe {
7412            &(*(::core::ptr::null::<libraw_fuji_info_t>())).DevelopmentDynamicRange as *const _
7413                as usize
7414        },
7415        10usize,
7416        concat!(
7417            "Offset of field: ",
7418            stringify!(libraw_fuji_info_t),
7419            "::",
7420            stringify!(DevelopmentDynamicRange)
7421        )
7422    );
7423    assert_eq!(
7424        unsafe {
7425            &(*(::core::ptr::null::<libraw_fuji_info_t>())).AutoDynamicRange as *const _ as usize
7426        },
7427        12usize,
7428        concat!(
7429            "Offset of field: ",
7430            stringify!(libraw_fuji_info_t),
7431            "::",
7432            stringify!(AutoDynamicRange)
7433        )
7434    );
7435    assert_eq!(
7436        unsafe {
7437            &(*(::core::ptr::null::<libraw_fuji_info_t>())).DRangePriority as *const _ as usize
7438        },
7439        14usize,
7440        concat!(
7441            "Offset of field: ",
7442            stringify!(libraw_fuji_info_t),
7443            "::",
7444            stringify!(DRangePriority)
7445        )
7446    );
7447    assert_eq!(
7448        unsafe {
7449            &(*(::core::ptr::null::<libraw_fuji_info_t>())).DRangePriorityAuto as *const _ as usize
7450        },
7451        16usize,
7452        concat!(
7453            "Offset of field: ",
7454            stringify!(libraw_fuji_info_t),
7455            "::",
7456            stringify!(DRangePriorityAuto)
7457        )
7458    );
7459    assert_eq!(
7460        unsafe {
7461            &(*(::core::ptr::null::<libraw_fuji_info_t>())).DRangePriorityFixed as *const _ as usize
7462        },
7463        18usize,
7464        concat!(
7465            "Offset of field: ",
7466            stringify!(libraw_fuji_info_t),
7467            "::",
7468            stringify!(DRangePriorityFixed)
7469        )
7470    );
7471    assert_eq!(
7472        unsafe {
7473            &(*(::core::ptr::null::<libraw_fuji_info_t>())).BrightnessCompensation as *const _
7474                as usize
7475        },
7476        20usize,
7477        concat!(
7478            "Offset of field: ",
7479            stringify!(libraw_fuji_info_t),
7480            "::",
7481            stringify!(BrightnessCompensation)
7482        )
7483    );
7484    assert_eq!(
7485        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).FocusMode as *const _ as usize },
7486        24usize,
7487        concat!(
7488            "Offset of field: ",
7489            stringify!(libraw_fuji_info_t),
7490            "::",
7491            stringify!(FocusMode)
7492        )
7493    );
7494    assert_eq!(
7495        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).AFMode as *const _ as usize },
7496        26usize,
7497        concat!(
7498            "Offset of field: ",
7499            stringify!(libraw_fuji_info_t),
7500            "::",
7501            stringify!(AFMode)
7502        )
7503    );
7504    assert_eq!(
7505        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).FocusPixel as *const _ as usize },
7506        28usize,
7507        concat!(
7508            "Offset of field: ",
7509            stringify!(libraw_fuji_info_t),
7510            "::",
7511            stringify!(FocusPixel)
7512        )
7513    );
7514    assert_eq!(
7515        unsafe {
7516            &(*(::core::ptr::null::<libraw_fuji_info_t>())).ImageStabilization as *const _ as usize
7517        },
7518        32usize,
7519        concat!(
7520            "Offset of field: ",
7521            stringify!(libraw_fuji_info_t),
7522            "::",
7523            stringify!(ImageStabilization)
7524        )
7525    );
7526    assert_eq!(
7527        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).FlashMode as *const _ as usize },
7528        38usize,
7529        concat!(
7530            "Offset of field: ",
7531            stringify!(libraw_fuji_info_t),
7532            "::",
7533            stringify!(FlashMode)
7534        )
7535    );
7536    assert_eq!(
7537        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).WB_Preset as *const _ as usize },
7538        40usize,
7539        concat!(
7540            "Offset of field: ",
7541            stringify!(libraw_fuji_info_t),
7542            "::",
7543            stringify!(WB_Preset)
7544        )
7545    );
7546    assert_eq!(
7547        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).ShutterType as *const _ as usize },
7548        42usize,
7549        concat!(
7550            "Offset of field: ",
7551            stringify!(libraw_fuji_info_t),
7552            "::",
7553            stringify!(ShutterType)
7554        )
7555    );
7556    assert_eq!(
7557        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).ExrMode as *const _ as usize },
7558        44usize,
7559        concat!(
7560            "Offset of field: ",
7561            stringify!(libraw_fuji_info_t),
7562            "::",
7563            stringify!(ExrMode)
7564        )
7565    );
7566    assert_eq!(
7567        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).Macro as *const _ as usize },
7568        46usize,
7569        concat!(
7570            "Offset of field: ",
7571            stringify!(libraw_fuji_info_t),
7572            "::",
7573            stringify!(Macro)
7574        )
7575    );
7576    assert_eq!(
7577        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).Rating as *const _ as usize },
7578        48usize,
7579        concat!(
7580            "Offset of field: ",
7581            stringify!(libraw_fuji_info_t),
7582            "::",
7583            stringify!(Rating)
7584        )
7585    );
7586    assert_eq!(
7587        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).CropMode as *const _ as usize },
7588        52usize,
7589        concat!(
7590            "Offset of field: ",
7591            stringify!(libraw_fuji_info_t),
7592            "::",
7593            stringify!(CropMode)
7594        )
7595    );
7596    assert_eq!(
7597        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).FrameRate as *const _ as usize },
7598        54usize,
7599        concat!(
7600            "Offset of field: ",
7601            stringify!(libraw_fuji_info_t),
7602            "::",
7603            stringify!(FrameRate)
7604        )
7605    );
7606    assert_eq!(
7607        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).FrameWidth as *const _ as usize },
7608        56usize,
7609        concat!(
7610            "Offset of field: ",
7611            stringify!(libraw_fuji_info_t),
7612            "::",
7613            stringify!(FrameWidth)
7614        )
7615    );
7616    assert_eq!(
7617        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).FrameHeight as *const _ as usize },
7618        58usize,
7619        concat!(
7620            "Offset of field: ",
7621            stringify!(libraw_fuji_info_t),
7622            "::",
7623            stringify!(FrameHeight)
7624        )
7625    );
7626    assert_eq!(
7627        unsafe {
7628            &(*(::core::ptr::null::<libraw_fuji_info_t>())).SerialSignature as *const _ as usize
7629        },
7630        60usize,
7631        concat!(
7632            "Offset of field: ",
7633            stringify!(libraw_fuji_info_t),
7634            "::",
7635            stringify!(SerialSignature)
7636        )
7637    );
7638    assert_eq!(
7639        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).RAFVersion as *const _ as usize },
7640        73usize,
7641        concat!(
7642            "Offset of field: ",
7643            stringify!(libraw_fuji_info_t),
7644            "::",
7645            stringify!(RAFVersion)
7646        )
7647    );
7648    assert_eq!(
7649        unsafe {
7650            &(*(::core::ptr::null::<libraw_fuji_info_t>())).RAFDataVersion as *const _ as usize
7651        },
7652        78usize,
7653        concat!(
7654            "Offset of field: ",
7655            stringify!(libraw_fuji_info_t),
7656            "::",
7657            stringify!(RAFDataVersion)
7658        )
7659    );
7660    assert_eq!(
7661        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).isTSNERDTS as *const _ as usize },
7662        80usize,
7663        concat!(
7664            "Offset of field: ",
7665            stringify!(libraw_fuji_info_t),
7666            "::",
7667            stringify!(isTSNERDTS)
7668        )
7669    );
7670    assert_eq!(
7671        unsafe { &(*(::core::ptr::null::<libraw_fuji_info_t>())).DriveMode as *const _ as usize },
7672        84usize,
7673        concat!(
7674            "Offset of field: ",
7675            stringify!(libraw_fuji_info_t),
7676            "::",
7677            stringify!(DriveMode)
7678        )
7679    );
7680}
7681#[repr(C)]
7682#[derive(Debug, Copy, Clone, PartialEq, Eq)]
7683pub struct libraw_sensor_highspeed_crop_t {
7684    pub cleft: ushort,
7685    pub ctop: ushort,
7686    pub cwidth: ushort,
7687    pub cheight: ushort,
7688}
7689#[test]
7690fn bindgen_test_layout_libraw_sensor_highspeed_crop_t() {
7691    assert_eq!(
7692        ::core::mem::size_of::<libraw_sensor_highspeed_crop_t>(),
7693        8usize,
7694        concat!("Size of: ", stringify!(libraw_sensor_highspeed_crop_t))
7695    );
7696    assert_eq!(
7697        ::core::mem::align_of::<libraw_sensor_highspeed_crop_t>(),
7698        2usize,
7699        concat!("Alignment of ", stringify!(libraw_sensor_highspeed_crop_t))
7700    );
7701    assert_eq!(
7702        unsafe {
7703            &(*(::core::ptr::null::<libraw_sensor_highspeed_crop_t>())).cleft as *const _ as usize
7704        },
7705        0usize,
7706        concat!(
7707            "Offset of field: ",
7708            stringify!(libraw_sensor_highspeed_crop_t),
7709            "::",
7710            stringify!(cleft)
7711        )
7712    );
7713    assert_eq!(
7714        unsafe {
7715            &(*(::core::ptr::null::<libraw_sensor_highspeed_crop_t>())).ctop as *const _ as usize
7716        },
7717        2usize,
7718        concat!(
7719            "Offset of field: ",
7720            stringify!(libraw_sensor_highspeed_crop_t),
7721            "::",
7722            stringify!(ctop)
7723        )
7724    );
7725    assert_eq!(
7726        unsafe {
7727            &(*(::core::ptr::null::<libraw_sensor_highspeed_crop_t>())).cwidth as *const _ as usize
7728        },
7729        4usize,
7730        concat!(
7731            "Offset of field: ",
7732            stringify!(libraw_sensor_highspeed_crop_t),
7733            "::",
7734            stringify!(cwidth)
7735        )
7736    );
7737    assert_eq!(
7738        unsafe {
7739            &(*(::core::ptr::null::<libraw_sensor_highspeed_crop_t>())).cheight as *const _ as usize
7740        },
7741        6usize,
7742        concat!(
7743            "Offset of field: ",
7744            stringify!(libraw_sensor_highspeed_crop_t),
7745            "::",
7746            stringify!(cheight)
7747        )
7748    );
7749}
7750#[repr(C)]
7751#[derive(Debug, Copy, Clone, PartialEq)]
7752pub struct libraw_nikon_makernotes_t {
7753    pub ExposureBracketValue: f64,
7754    pub ActiveDLighting: ushort,
7755    pub ShootingMode: ushort,
7756    pub ImageStabilization: [uchar; 7usize],
7757    pub VibrationReduction: uchar,
7758    pub VRMode: uchar,
7759    pub FocusMode: [libc::c_char; 7usize],
7760    pub AFPoint: uchar,
7761    pub AFPointsInFocus: ushort,
7762    pub ContrastDetectAF: uchar,
7763    pub AFAreaMode: uchar,
7764    pub PhaseDetectAF: uchar,
7765    pub PrimaryAFPoint: uchar,
7766    pub AFPointsUsed: [uchar; 29usize],
7767    pub AFImageWidth: ushort,
7768    pub AFImageHeight: ushort,
7769    pub AFAreaXPposition: ushort,
7770    pub AFAreaYPosition: ushort,
7771    pub AFAreaWidth: ushort,
7772    pub AFAreaHeight: ushort,
7773    pub ContrastDetectAFInFocus: uchar,
7774    pub FlashSetting: [libc::c_char; 13usize],
7775    pub FlashType: [libc::c_char; 20usize],
7776    pub FlashExposureCompensation: [uchar; 4usize],
7777    pub ExternalFlashExposureComp: [uchar; 4usize],
7778    pub FlashExposureBracketValue: [uchar; 4usize],
7779    pub FlashMode: uchar,
7780    pub FlashExposureCompensation2: libc::c_schar,
7781    pub FlashExposureCompensation3: libc::c_schar,
7782    pub FlashExposureCompensation4: libc::c_schar,
7783    pub FlashSource: uchar,
7784    pub FlashFirmware: [uchar; 2usize],
7785    pub ExternalFlashFlags: uchar,
7786    pub FlashControlCommanderMode: uchar,
7787    pub FlashOutputAndCompensation: uchar,
7788    pub FlashFocalLength: uchar,
7789    pub FlashGNDistance: uchar,
7790    pub FlashGroupControlMode: [uchar; 4usize],
7791    pub FlashGroupOutputAndCompensation: [uchar; 4usize],
7792    pub FlashColorFilter: uchar,
7793    pub NEFCompression: ushort,
7794    pub ExposureMode: libc::c_int,
7795    pub ExposureProgram: libc::c_int,
7796    pub nMEshots: libc::c_int,
7797    pub MEgainOn: libc::c_int,
7798    pub ME_WB: [f64; 4usize],
7799    pub AFFineTune: uchar,
7800    pub AFFineTuneIndex: uchar,
7801    pub AFFineTuneAdj: i8,
7802    pub LensDataVersion: libc::c_uint,
7803    pub FlashInfoVersion: libc::c_uint,
7804    pub ColorBalanceVersion: libc::c_uint,
7805    pub key: uchar,
7806    pub NEFBitDepth: [ushort; 4usize],
7807    pub HighSpeedCropFormat: ushort,
7808    pub SensorHighSpeedCrop: libraw_sensor_highspeed_crop_t,
7809    pub SensorWidth: ushort,
7810    pub SensorHeight: ushort,
7811}
7812#[test]
7813fn bindgen_test_layout_libraw_nikon_makernotes_t() {
7814    assert_eq!(
7815        ::core::mem::size_of::<libraw_nikon_makernotes_t>(),
7816        240usize,
7817        concat!("Size of: ", stringify!(libraw_nikon_makernotes_t))
7818    );
7819    assert_eq!(
7820        ::core::mem::align_of::<libraw_nikon_makernotes_t>(),
7821        8usize,
7822        concat!("Alignment of ", stringify!(libraw_nikon_makernotes_t))
7823    );
7824    assert_eq!(
7825        unsafe {
7826            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ExposureBracketValue as *const _
7827                as usize
7828        },
7829        0usize,
7830        concat!(
7831            "Offset of field: ",
7832            stringify!(libraw_nikon_makernotes_t),
7833            "::",
7834            stringify!(ExposureBracketValue)
7835        )
7836    );
7837    assert_eq!(
7838        unsafe {
7839            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ActiveDLighting as *const _
7840                as usize
7841        },
7842        8usize,
7843        concat!(
7844            "Offset of field: ",
7845            stringify!(libraw_nikon_makernotes_t),
7846            "::",
7847            stringify!(ActiveDLighting)
7848        )
7849    );
7850    assert_eq!(
7851        unsafe {
7852            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ShootingMode as *const _ as usize
7853        },
7854        10usize,
7855        concat!(
7856            "Offset of field: ",
7857            stringify!(libraw_nikon_makernotes_t),
7858            "::",
7859            stringify!(ShootingMode)
7860        )
7861    );
7862    assert_eq!(
7863        unsafe {
7864            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ImageStabilization as *const _
7865                as usize
7866        },
7867        12usize,
7868        concat!(
7869            "Offset of field: ",
7870            stringify!(libraw_nikon_makernotes_t),
7871            "::",
7872            stringify!(ImageStabilization)
7873        )
7874    );
7875    assert_eq!(
7876        unsafe {
7877            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).VibrationReduction as *const _
7878                as usize
7879        },
7880        19usize,
7881        concat!(
7882            "Offset of field: ",
7883            stringify!(libraw_nikon_makernotes_t),
7884            "::",
7885            stringify!(VibrationReduction)
7886        )
7887    );
7888    assert_eq!(
7889        unsafe {
7890            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).VRMode as *const _ as usize
7891        },
7892        20usize,
7893        concat!(
7894            "Offset of field: ",
7895            stringify!(libraw_nikon_makernotes_t),
7896            "::",
7897            stringify!(VRMode)
7898        )
7899    );
7900    assert_eq!(
7901        unsafe {
7902            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FocusMode as *const _ as usize
7903        },
7904        21usize,
7905        concat!(
7906            "Offset of field: ",
7907            stringify!(libraw_nikon_makernotes_t),
7908            "::",
7909            stringify!(FocusMode)
7910        )
7911    );
7912    assert_eq!(
7913        unsafe {
7914            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFPoint as *const _ as usize
7915        },
7916        28usize,
7917        concat!(
7918            "Offset of field: ",
7919            stringify!(libraw_nikon_makernotes_t),
7920            "::",
7921            stringify!(AFPoint)
7922        )
7923    );
7924    assert_eq!(
7925        unsafe {
7926            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFPointsInFocus as *const _
7927                as usize
7928        },
7929        30usize,
7930        concat!(
7931            "Offset of field: ",
7932            stringify!(libraw_nikon_makernotes_t),
7933            "::",
7934            stringify!(AFPointsInFocus)
7935        )
7936    );
7937    assert_eq!(
7938        unsafe {
7939            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ContrastDetectAF as *const _
7940                as usize
7941        },
7942        32usize,
7943        concat!(
7944            "Offset of field: ",
7945            stringify!(libraw_nikon_makernotes_t),
7946            "::",
7947            stringify!(ContrastDetectAF)
7948        )
7949    );
7950    assert_eq!(
7951        unsafe {
7952            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFAreaMode as *const _ as usize
7953        },
7954        33usize,
7955        concat!(
7956            "Offset of field: ",
7957            stringify!(libraw_nikon_makernotes_t),
7958            "::",
7959            stringify!(AFAreaMode)
7960        )
7961    );
7962    assert_eq!(
7963        unsafe {
7964            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).PhaseDetectAF as *const _
7965                as usize
7966        },
7967        34usize,
7968        concat!(
7969            "Offset of field: ",
7970            stringify!(libraw_nikon_makernotes_t),
7971            "::",
7972            stringify!(PhaseDetectAF)
7973        )
7974    );
7975    assert_eq!(
7976        unsafe {
7977            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).PrimaryAFPoint as *const _
7978                as usize
7979        },
7980        35usize,
7981        concat!(
7982            "Offset of field: ",
7983            stringify!(libraw_nikon_makernotes_t),
7984            "::",
7985            stringify!(PrimaryAFPoint)
7986        )
7987    );
7988    assert_eq!(
7989        unsafe {
7990            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFPointsUsed as *const _ as usize
7991        },
7992        36usize,
7993        concat!(
7994            "Offset of field: ",
7995            stringify!(libraw_nikon_makernotes_t),
7996            "::",
7997            stringify!(AFPointsUsed)
7998        )
7999    );
8000    assert_eq!(
8001        unsafe {
8002            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFImageWidth as *const _ as usize
8003        },
8004        66usize,
8005        concat!(
8006            "Offset of field: ",
8007            stringify!(libraw_nikon_makernotes_t),
8008            "::",
8009            stringify!(AFImageWidth)
8010        )
8011    );
8012    assert_eq!(
8013        unsafe {
8014            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFImageHeight as *const _
8015                as usize
8016        },
8017        68usize,
8018        concat!(
8019            "Offset of field: ",
8020            stringify!(libraw_nikon_makernotes_t),
8021            "::",
8022            stringify!(AFImageHeight)
8023        )
8024    );
8025    assert_eq!(
8026        unsafe {
8027            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFAreaXPposition as *const _
8028                as usize
8029        },
8030        70usize,
8031        concat!(
8032            "Offset of field: ",
8033            stringify!(libraw_nikon_makernotes_t),
8034            "::",
8035            stringify!(AFAreaXPposition)
8036        )
8037    );
8038    assert_eq!(
8039        unsafe {
8040            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFAreaYPosition as *const _
8041                as usize
8042        },
8043        72usize,
8044        concat!(
8045            "Offset of field: ",
8046            stringify!(libraw_nikon_makernotes_t),
8047            "::",
8048            stringify!(AFAreaYPosition)
8049        )
8050    );
8051    assert_eq!(
8052        unsafe {
8053            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFAreaWidth as *const _ as usize
8054        },
8055        74usize,
8056        concat!(
8057            "Offset of field: ",
8058            stringify!(libraw_nikon_makernotes_t),
8059            "::",
8060            stringify!(AFAreaWidth)
8061        )
8062    );
8063    assert_eq!(
8064        unsafe {
8065            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFAreaHeight as *const _ as usize
8066        },
8067        76usize,
8068        concat!(
8069            "Offset of field: ",
8070            stringify!(libraw_nikon_makernotes_t),
8071            "::",
8072            stringify!(AFAreaHeight)
8073        )
8074    );
8075    assert_eq!(
8076        unsafe {
8077            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ContrastDetectAFInFocus
8078                as *const _ as usize
8079        },
8080        78usize,
8081        concat!(
8082            "Offset of field: ",
8083            stringify!(libraw_nikon_makernotes_t),
8084            "::",
8085            stringify!(ContrastDetectAFInFocus)
8086        )
8087    );
8088    assert_eq!(
8089        unsafe {
8090            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashSetting as *const _ as usize
8091        },
8092        79usize,
8093        concat!(
8094            "Offset of field: ",
8095            stringify!(libraw_nikon_makernotes_t),
8096            "::",
8097            stringify!(FlashSetting)
8098        )
8099    );
8100    assert_eq!(
8101        unsafe {
8102            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashType as *const _ as usize
8103        },
8104        92usize,
8105        concat!(
8106            "Offset of field: ",
8107            stringify!(libraw_nikon_makernotes_t),
8108            "::",
8109            stringify!(FlashType)
8110        )
8111    );
8112    assert_eq!(
8113        unsafe {
8114            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashExposureCompensation
8115                as *const _ as usize
8116        },
8117        112usize,
8118        concat!(
8119            "Offset of field: ",
8120            stringify!(libraw_nikon_makernotes_t),
8121            "::",
8122            stringify!(FlashExposureCompensation)
8123        )
8124    );
8125    assert_eq!(
8126        unsafe {
8127            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ExternalFlashExposureComp
8128                as *const _ as usize
8129        },
8130        116usize,
8131        concat!(
8132            "Offset of field: ",
8133            stringify!(libraw_nikon_makernotes_t),
8134            "::",
8135            stringify!(ExternalFlashExposureComp)
8136        )
8137    );
8138    assert_eq!(
8139        unsafe {
8140            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashExposureBracketValue
8141                as *const _ as usize
8142        },
8143        120usize,
8144        concat!(
8145            "Offset of field: ",
8146            stringify!(libraw_nikon_makernotes_t),
8147            "::",
8148            stringify!(FlashExposureBracketValue)
8149        )
8150    );
8151    assert_eq!(
8152        unsafe {
8153            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashMode as *const _ as usize
8154        },
8155        124usize,
8156        concat!(
8157            "Offset of field: ",
8158            stringify!(libraw_nikon_makernotes_t),
8159            "::",
8160            stringify!(FlashMode)
8161        )
8162    );
8163    assert_eq!(
8164        unsafe {
8165            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashExposureCompensation2
8166                as *const _ as usize
8167        },
8168        125usize,
8169        concat!(
8170            "Offset of field: ",
8171            stringify!(libraw_nikon_makernotes_t),
8172            "::",
8173            stringify!(FlashExposureCompensation2)
8174        )
8175    );
8176    assert_eq!(
8177        unsafe {
8178            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashExposureCompensation3
8179                as *const _ as usize
8180        },
8181        126usize,
8182        concat!(
8183            "Offset of field: ",
8184            stringify!(libraw_nikon_makernotes_t),
8185            "::",
8186            stringify!(FlashExposureCompensation3)
8187        )
8188    );
8189    assert_eq!(
8190        unsafe {
8191            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashExposureCompensation4
8192                as *const _ as usize
8193        },
8194        127usize,
8195        concat!(
8196            "Offset of field: ",
8197            stringify!(libraw_nikon_makernotes_t),
8198            "::",
8199            stringify!(FlashExposureCompensation4)
8200        )
8201    );
8202    assert_eq!(
8203        unsafe {
8204            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashSource as *const _ as usize
8205        },
8206        128usize,
8207        concat!(
8208            "Offset of field: ",
8209            stringify!(libraw_nikon_makernotes_t),
8210            "::",
8211            stringify!(FlashSource)
8212        )
8213    );
8214    assert_eq!(
8215        unsafe {
8216            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashFirmware as *const _
8217                as usize
8218        },
8219        129usize,
8220        concat!(
8221            "Offset of field: ",
8222            stringify!(libraw_nikon_makernotes_t),
8223            "::",
8224            stringify!(FlashFirmware)
8225        )
8226    );
8227    assert_eq!(
8228        unsafe {
8229            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ExternalFlashFlags as *const _
8230                as usize
8231        },
8232        131usize,
8233        concat!(
8234            "Offset of field: ",
8235            stringify!(libraw_nikon_makernotes_t),
8236            "::",
8237            stringify!(ExternalFlashFlags)
8238        )
8239    );
8240    assert_eq!(
8241        unsafe {
8242            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashControlCommanderMode
8243                as *const _ as usize
8244        },
8245        132usize,
8246        concat!(
8247            "Offset of field: ",
8248            stringify!(libraw_nikon_makernotes_t),
8249            "::",
8250            stringify!(FlashControlCommanderMode)
8251        )
8252    );
8253    assert_eq!(
8254        unsafe {
8255            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashOutputAndCompensation
8256                as *const _ as usize
8257        },
8258        133usize,
8259        concat!(
8260            "Offset of field: ",
8261            stringify!(libraw_nikon_makernotes_t),
8262            "::",
8263            stringify!(FlashOutputAndCompensation)
8264        )
8265    );
8266    assert_eq!(
8267        unsafe {
8268            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashFocalLength as *const _
8269                as usize
8270        },
8271        134usize,
8272        concat!(
8273            "Offset of field: ",
8274            stringify!(libraw_nikon_makernotes_t),
8275            "::",
8276            stringify!(FlashFocalLength)
8277        )
8278    );
8279    assert_eq!(
8280        unsafe {
8281            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashGNDistance as *const _
8282                as usize
8283        },
8284        135usize,
8285        concat!(
8286            "Offset of field: ",
8287            stringify!(libraw_nikon_makernotes_t),
8288            "::",
8289            stringify!(FlashGNDistance)
8290        )
8291    );
8292    assert_eq!(
8293        unsafe {
8294            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashGroupControlMode as *const _
8295                as usize
8296        },
8297        136usize,
8298        concat!(
8299            "Offset of field: ",
8300            stringify!(libraw_nikon_makernotes_t),
8301            "::",
8302            stringify!(FlashGroupControlMode)
8303        )
8304    );
8305    assert_eq!(
8306        unsafe {
8307            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashGroupOutputAndCompensation
8308                as *const _ as usize
8309        },
8310        140usize,
8311        concat!(
8312            "Offset of field: ",
8313            stringify!(libraw_nikon_makernotes_t),
8314            "::",
8315            stringify!(FlashGroupOutputAndCompensation)
8316        )
8317    );
8318    assert_eq!(
8319        unsafe {
8320            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashColorFilter as *const _
8321                as usize
8322        },
8323        144usize,
8324        concat!(
8325            "Offset of field: ",
8326            stringify!(libraw_nikon_makernotes_t),
8327            "::",
8328            stringify!(FlashColorFilter)
8329        )
8330    );
8331    assert_eq!(
8332        unsafe {
8333            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).NEFCompression as *const _
8334                as usize
8335        },
8336        146usize,
8337        concat!(
8338            "Offset of field: ",
8339            stringify!(libraw_nikon_makernotes_t),
8340            "::",
8341            stringify!(NEFCompression)
8342        )
8343    );
8344    assert_eq!(
8345        unsafe {
8346            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ExposureMode as *const _ as usize
8347        },
8348        148usize,
8349        concat!(
8350            "Offset of field: ",
8351            stringify!(libraw_nikon_makernotes_t),
8352            "::",
8353            stringify!(ExposureMode)
8354        )
8355    );
8356    assert_eq!(
8357        unsafe {
8358            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ExposureProgram as *const _
8359                as usize
8360        },
8361        152usize,
8362        concat!(
8363            "Offset of field: ",
8364            stringify!(libraw_nikon_makernotes_t),
8365            "::",
8366            stringify!(ExposureProgram)
8367        )
8368    );
8369    assert_eq!(
8370        unsafe {
8371            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).nMEshots as *const _ as usize
8372        },
8373        156usize,
8374        concat!(
8375            "Offset of field: ",
8376            stringify!(libraw_nikon_makernotes_t),
8377            "::",
8378            stringify!(nMEshots)
8379        )
8380    );
8381    assert_eq!(
8382        unsafe {
8383            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).MEgainOn as *const _ as usize
8384        },
8385        160usize,
8386        concat!(
8387            "Offset of field: ",
8388            stringify!(libraw_nikon_makernotes_t),
8389            "::",
8390            stringify!(MEgainOn)
8391        )
8392    );
8393    assert_eq!(
8394        unsafe {
8395            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ME_WB as *const _ as usize
8396        },
8397        168usize,
8398        concat!(
8399            "Offset of field: ",
8400            stringify!(libraw_nikon_makernotes_t),
8401            "::",
8402            stringify!(ME_WB)
8403        )
8404    );
8405    assert_eq!(
8406        unsafe {
8407            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFFineTune as *const _ as usize
8408        },
8409        200usize,
8410        concat!(
8411            "Offset of field: ",
8412            stringify!(libraw_nikon_makernotes_t),
8413            "::",
8414            stringify!(AFFineTune)
8415        )
8416    );
8417    assert_eq!(
8418        unsafe {
8419            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFFineTuneIndex as *const _
8420                as usize
8421        },
8422        201usize,
8423        concat!(
8424            "Offset of field: ",
8425            stringify!(libraw_nikon_makernotes_t),
8426            "::",
8427            stringify!(AFFineTuneIndex)
8428        )
8429    );
8430    assert_eq!(
8431        unsafe {
8432            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).AFFineTuneAdj as *const _
8433                as usize
8434        },
8435        202usize,
8436        concat!(
8437            "Offset of field: ",
8438            stringify!(libraw_nikon_makernotes_t),
8439            "::",
8440            stringify!(AFFineTuneAdj)
8441        )
8442    );
8443    assert_eq!(
8444        unsafe {
8445            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).LensDataVersion as *const _
8446                as usize
8447        },
8448        204usize,
8449        concat!(
8450            "Offset of field: ",
8451            stringify!(libraw_nikon_makernotes_t),
8452            "::",
8453            stringify!(LensDataVersion)
8454        )
8455    );
8456    assert_eq!(
8457        unsafe {
8458            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).FlashInfoVersion as *const _
8459                as usize
8460        },
8461        208usize,
8462        concat!(
8463            "Offset of field: ",
8464            stringify!(libraw_nikon_makernotes_t),
8465            "::",
8466            stringify!(FlashInfoVersion)
8467        )
8468    );
8469    assert_eq!(
8470        unsafe {
8471            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).ColorBalanceVersion as *const _
8472                as usize
8473        },
8474        212usize,
8475        concat!(
8476            "Offset of field: ",
8477            stringify!(libraw_nikon_makernotes_t),
8478            "::",
8479            stringify!(ColorBalanceVersion)
8480        )
8481    );
8482    assert_eq!(
8483        unsafe { &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).key as *const _ as usize },
8484        216usize,
8485        concat!(
8486            "Offset of field: ",
8487            stringify!(libraw_nikon_makernotes_t),
8488            "::",
8489            stringify!(key)
8490        )
8491    );
8492    assert_eq!(
8493        unsafe {
8494            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).NEFBitDepth as *const _ as usize
8495        },
8496        218usize,
8497        concat!(
8498            "Offset of field: ",
8499            stringify!(libraw_nikon_makernotes_t),
8500            "::",
8501            stringify!(NEFBitDepth)
8502        )
8503    );
8504    assert_eq!(
8505        unsafe {
8506            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).HighSpeedCropFormat as *const _
8507                as usize
8508        },
8509        226usize,
8510        concat!(
8511            "Offset of field: ",
8512            stringify!(libraw_nikon_makernotes_t),
8513            "::",
8514            stringify!(HighSpeedCropFormat)
8515        )
8516    );
8517    assert_eq!(
8518        unsafe {
8519            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).SensorHighSpeedCrop as *const _
8520                as usize
8521        },
8522        228usize,
8523        concat!(
8524            "Offset of field: ",
8525            stringify!(libraw_nikon_makernotes_t),
8526            "::",
8527            stringify!(SensorHighSpeedCrop)
8528        )
8529    );
8530    assert_eq!(
8531        unsafe {
8532            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).SensorWidth as *const _ as usize
8533        },
8534        236usize,
8535        concat!(
8536            "Offset of field: ",
8537            stringify!(libraw_nikon_makernotes_t),
8538            "::",
8539            stringify!(SensorWidth)
8540        )
8541    );
8542    assert_eq!(
8543        unsafe {
8544            &(*(::core::ptr::null::<libraw_nikon_makernotes_t>())).SensorHeight as *const _ as usize
8545        },
8546        238usize,
8547        concat!(
8548            "Offset of field: ",
8549            stringify!(libraw_nikon_makernotes_t),
8550            "::",
8551            stringify!(SensorHeight)
8552        )
8553    );
8554}
8555#[repr(C)]
8556#[derive(Copy, Clone)]
8557pub struct libraw_olympus_makernotes_t {
8558    pub SensorCalibration: [libc::c_int; 2usize],
8559    pub FocusMode: [ushort; 2usize],
8560    pub AutoFocus: ushort,
8561    pub AFPoint: ushort,
8562    pub AFAreas: [libc::c_uint; 64usize],
8563    pub AFPointSelected: [f64; 5usize],
8564    pub AFResult: ushort,
8565    pub DriveMode: [ushort; 5usize],
8566    pub ColorSpace: ushort,
8567    pub AFFineTune: uchar,
8568    pub AFFineTuneAdj: [libc::c_short; 3usize],
8569    pub CameraType2: [libc::c_char; 6usize],
8570}
8571#[test]
8572fn bindgen_test_layout_libraw_olympus_makernotes_t() {
8573    assert_eq!(
8574        ::core::mem::size_of::<libraw_olympus_makernotes_t>(),
8575        344usize,
8576        concat!("Size of: ", stringify!(libraw_olympus_makernotes_t))
8577    );
8578    assert_eq!(
8579        ::core::mem::align_of::<libraw_olympus_makernotes_t>(),
8580        8usize,
8581        concat!("Alignment of ", stringify!(libraw_olympus_makernotes_t))
8582    );
8583    assert_eq!(
8584        unsafe {
8585            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).SensorCalibration as *const _
8586                as usize
8587        },
8588        0usize,
8589        concat!(
8590            "Offset of field: ",
8591            stringify!(libraw_olympus_makernotes_t),
8592            "::",
8593            stringify!(SensorCalibration)
8594        )
8595    );
8596    assert_eq!(
8597        unsafe {
8598            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).FocusMode as *const _ as usize
8599        },
8600        8usize,
8601        concat!(
8602            "Offset of field: ",
8603            stringify!(libraw_olympus_makernotes_t),
8604            "::",
8605            stringify!(FocusMode)
8606        )
8607    );
8608    assert_eq!(
8609        unsafe {
8610            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).AutoFocus as *const _ as usize
8611        },
8612        12usize,
8613        concat!(
8614            "Offset of field: ",
8615            stringify!(libraw_olympus_makernotes_t),
8616            "::",
8617            stringify!(AutoFocus)
8618        )
8619    );
8620    assert_eq!(
8621        unsafe {
8622            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).AFPoint as *const _ as usize
8623        },
8624        14usize,
8625        concat!(
8626            "Offset of field: ",
8627            stringify!(libraw_olympus_makernotes_t),
8628            "::",
8629            stringify!(AFPoint)
8630        )
8631    );
8632    assert_eq!(
8633        unsafe {
8634            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).AFAreas as *const _ as usize
8635        },
8636        16usize,
8637        concat!(
8638            "Offset of field: ",
8639            stringify!(libraw_olympus_makernotes_t),
8640            "::",
8641            stringify!(AFAreas)
8642        )
8643    );
8644    assert_eq!(
8645        unsafe {
8646            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).AFPointSelected as *const _
8647                as usize
8648        },
8649        272usize,
8650        concat!(
8651            "Offset of field: ",
8652            stringify!(libraw_olympus_makernotes_t),
8653            "::",
8654            stringify!(AFPointSelected)
8655        )
8656    );
8657    assert_eq!(
8658        unsafe {
8659            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).AFResult as *const _ as usize
8660        },
8661        312usize,
8662        concat!(
8663            "Offset of field: ",
8664            stringify!(libraw_olympus_makernotes_t),
8665            "::",
8666            stringify!(AFResult)
8667        )
8668    );
8669    assert_eq!(
8670        unsafe {
8671            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).DriveMode as *const _ as usize
8672        },
8673        314usize,
8674        concat!(
8675            "Offset of field: ",
8676            stringify!(libraw_olympus_makernotes_t),
8677            "::",
8678            stringify!(DriveMode)
8679        )
8680    );
8681    assert_eq!(
8682        unsafe {
8683            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).ColorSpace as *const _ as usize
8684        },
8685        324usize,
8686        concat!(
8687            "Offset of field: ",
8688            stringify!(libraw_olympus_makernotes_t),
8689            "::",
8690            stringify!(ColorSpace)
8691        )
8692    );
8693    assert_eq!(
8694        unsafe {
8695            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).AFFineTune as *const _ as usize
8696        },
8697        326usize,
8698        concat!(
8699            "Offset of field: ",
8700            stringify!(libraw_olympus_makernotes_t),
8701            "::",
8702            stringify!(AFFineTune)
8703        )
8704    );
8705    assert_eq!(
8706        unsafe {
8707            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).AFFineTuneAdj as *const _
8708                as usize
8709        },
8710        328usize,
8711        concat!(
8712            "Offset of field: ",
8713            stringify!(libraw_olympus_makernotes_t),
8714            "::",
8715            stringify!(AFFineTuneAdj)
8716        )
8717    );
8718    assert_eq!(
8719        unsafe {
8720            &(*(::core::ptr::null::<libraw_olympus_makernotes_t>())).CameraType2 as *const _
8721                as usize
8722        },
8723        334usize,
8724        concat!(
8725            "Offset of field: ",
8726            stringify!(libraw_olympus_makernotes_t),
8727            "::",
8728            stringify!(CameraType2)
8729        )
8730    );
8731}
8732#[repr(C)]
8733#[derive(Debug, Copy, Clone, PartialEq)]
8734pub struct libraw_panasonic_makernotes_t {
8735    pub Compression: ushort,
8736    pub BlackLevelDim: ushort,
8737    pub BlackLevel: [f32; 8usize],
8738    pub Multishot: libc::c_uint,
8739    pub gamma: f32,
8740    pub HighISOMultiplier: [libc::c_int; 3usize],
8741}
8742#[test]
8743fn bindgen_test_layout_libraw_panasonic_makernotes_t() {
8744    assert_eq!(
8745        ::core::mem::size_of::<libraw_panasonic_makernotes_t>(),
8746        56usize,
8747        concat!("Size of: ", stringify!(libraw_panasonic_makernotes_t))
8748    );
8749    assert_eq!(
8750        ::core::mem::align_of::<libraw_panasonic_makernotes_t>(),
8751        4usize,
8752        concat!("Alignment of ", stringify!(libraw_panasonic_makernotes_t))
8753    );
8754    assert_eq!(
8755        unsafe {
8756            &(*(::core::ptr::null::<libraw_panasonic_makernotes_t>())).Compression as *const _
8757                as usize
8758        },
8759        0usize,
8760        concat!(
8761            "Offset of field: ",
8762            stringify!(libraw_panasonic_makernotes_t),
8763            "::",
8764            stringify!(Compression)
8765        )
8766    );
8767    assert_eq!(
8768        unsafe {
8769            &(*(::core::ptr::null::<libraw_panasonic_makernotes_t>())).BlackLevelDim as *const _
8770                as usize
8771        },
8772        2usize,
8773        concat!(
8774            "Offset of field: ",
8775            stringify!(libraw_panasonic_makernotes_t),
8776            "::",
8777            stringify!(BlackLevelDim)
8778        )
8779    );
8780    assert_eq!(
8781        unsafe {
8782            &(*(::core::ptr::null::<libraw_panasonic_makernotes_t>())).BlackLevel as *const _
8783                as usize
8784        },
8785        4usize,
8786        concat!(
8787            "Offset of field: ",
8788            stringify!(libraw_panasonic_makernotes_t),
8789            "::",
8790            stringify!(BlackLevel)
8791        )
8792    );
8793    assert_eq!(
8794        unsafe {
8795            &(*(::core::ptr::null::<libraw_panasonic_makernotes_t>())).Multishot as *const _
8796                as usize
8797        },
8798        36usize,
8799        concat!(
8800            "Offset of field: ",
8801            stringify!(libraw_panasonic_makernotes_t),
8802            "::",
8803            stringify!(Multishot)
8804        )
8805    );
8806    assert_eq!(
8807        unsafe {
8808            &(*(::core::ptr::null::<libraw_panasonic_makernotes_t>())).gamma as *const _ as usize
8809        },
8810        40usize,
8811        concat!(
8812            "Offset of field: ",
8813            stringify!(libraw_panasonic_makernotes_t),
8814            "::",
8815            stringify!(gamma)
8816        )
8817    );
8818    assert_eq!(
8819        unsafe {
8820            &(*(::core::ptr::null::<libraw_panasonic_makernotes_t>())).HighISOMultiplier as *const _
8821                as usize
8822        },
8823        44usize,
8824        concat!(
8825            "Offset of field: ",
8826            stringify!(libraw_panasonic_makernotes_t),
8827            "::",
8828            stringify!(HighISOMultiplier)
8829        )
8830    );
8831}
8832#[repr(C)]
8833#[derive(Debug, Copy, Clone, PartialEq, Eq)]
8834pub struct libraw_pentax_makernotes_t {
8835    pub FocusMode: ushort,
8836    pub AFPointSelected: ushort,
8837    pub AFPointsInFocus: libc::c_uint,
8838    pub FocusPosition: ushort,
8839    pub DriveMode: [uchar; 4usize],
8840    pub AFAdjustment: libc::c_short,
8841    pub MultiExposure: uchar,
8842    pub Quality: ushort,
8843}
8844#[test]
8845fn bindgen_test_layout_libraw_pentax_makernotes_t() {
8846    assert_eq!(
8847        ::core::mem::size_of::<libraw_pentax_makernotes_t>(),
8848        20usize,
8849        concat!("Size of: ", stringify!(libraw_pentax_makernotes_t))
8850    );
8851    assert_eq!(
8852        ::core::mem::align_of::<libraw_pentax_makernotes_t>(),
8853        4usize,
8854        concat!("Alignment of ", stringify!(libraw_pentax_makernotes_t))
8855    );
8856    assert_eq!(
8857        unsafe {
8858            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).FocusMode as *const _ as usize
8859        },
8860        0usize,
8861        concat!(
8862            "Offset of field: ",
8863            stringify!(libraw_pentax_makernotes_t),
8864            "::",
8865            stringify!(FocusMode)
8866        )
8867    );
8868    assert_eq!(
8869        unsafe {
8870            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).AFPointSelected as *const _
8871                as usize
8872        },
8873        2usize,
8874        concat!(
8875            "Offset of field: ",
8876            stringify!(libraw_pentax_makernotes_t),
8877            "::",
8878            stringify!(AFPointSelected)
8879        )
8880    );
8881    assert_eq!(
8882        unsafe {
8883            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).AFPointsInFocus as *const _
8884                as usize
8885        },
8886        4usize,
8887        concat!(
8888            "Offset of field: ",
8889            stringify!(libraw_pentax_makernotes_t),
8890            "::",
8891            stringify!(AFPointsInFocus)
8892        )
8893    );
8894    assert_eq!(
8895        unsafe {
8896            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).FocusPosition as *const _
8897                as usize
8898        },
8899        8usize,
8900        concat!(
8901            "Offset of field: ",
8902            stringify!(libraw_pentax_makernotes_t),
8903            "::",
8904            stringify!(FocusPosition)
8905        )
8906    );
8907    assert_eq!(
8908        unsafe {
8909            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).DriveMode as *const _ as usize
8910        },
8911        10usize,
8912        concat!(
8913            "Offset of field: ",
8914            stringify!(libraw_pentax_makernotes_t),
8915            "::",
8916            stringify!(DriveMode)
8917        )
8918    );
8919    assert_eq!(
8920        unsafe {
8921            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).AFAdjustment as *const _
8922                as usize
8923        },
8924        14usize,
8925        concat!(
8926            "Offset of field: ",
8927            stringify!(libraw_pentax_makernotes_t),
8928            "::",
8929            stringify!(AFAdjustment)
8930        )
8931    );
8932    assert_eq!(
8933        unsafe {
8934            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).MultiExposure as *const _
8935                as usize
8936        },
8937        16usize,
8938        concat!(
8939            "Offset of field: ",
8940            stringify!(libraw_pentax_makernotes_t),
8941            "::",
8942            stringify!(MultiExposure)
8943        )
8944    );
8945    assert_eq!(
8946        unsafe {
8947            &(*(::core::ptr::null::<libraw_pentax_makernotes_t>())).Quality as *const _ as usize
8948        },
8949        18usize,
8950        concat!(
8951            "Offset of field: ",
8952            stringify!(libraw_pentax_makernotes_t),
8953            "::",
8954            stringify!(Quality)
8955        )
8956    );
8957}
8958#[repr(C)]
8959#[derive(Debug, Copy, Clone, PartialEq)]
8960pub struct libraw_samsung_makernotes_t {
8961    pub ImageSizeFull: [libc::c_uint; 4usize],
8962    pub ImageSizeCrop: [libc::c_uint; 4usize],
8963    pub ColorSpace: [libc::c_int; 2usize],
8964    pub key: [libc::c_uint; 11usize],
8965    pub DigitalGain: f64,
8966    pub DeviceType: libc::c_int,
8967    pub LensFirmware: [libc::c_char; 32usize],
8968}
8969#[test]
8970fn bindgen_test_layout_libraw_samsung_makernotes_t() {
8971    assert_eq!(
8972        ::core::mem::size_of::<libraw_samsung_makernotes_t>(),
8973        136usize,
8974        concat!("Size of: ", stringify!(libraw_samsung_makernotes_t))
8975    );
8976    assert_eq!(
8977        ::core::mem::align_of::<libraw_samsung_makernotes_t>(),
8978        8usize,
8979        concat!("Alignment of ", stringify!(libraw_samsung_makernotes_t))
8980    );
8981    assert_eq!(
8982        unsafe {
8983            &(*(::core::ptr::null::<libraw_samsung_makernotes_t>())).ImageSizeFull as *const _
8984                as usize
8985        },
8986        0usize,
8987        concat!(
8988            "Offset of field: ",
8989            stringify!(libraw_samsung_makernotes_t),
8990            "::",
8991            stringify!(ImageSizeFull)
8992        )
8993    );
8994    assert_eq!(
8995        unsafe {
8996            &(*(::core::ptr::null::<libraw_samsung_makernotes_t>())).ImageSizeCrop as *const _
8997                as usize
8998        },
8999        16usize,
9000        concat!(
9001            "Offset of field: ",
9002            stringify!(libraw_samsung_makernotes_t),
9003            "::",
9004            stringify!(ImageSizeCrop)
9005        )
9006    );
9007    assert_eq!(
9008        unsafe {
9009            &(*(::core::ptr::null::<libraw_samsung_makernotes_t>())).ColorSpace as *const _ as usize
9010        },
9011        32usize,
9012        concat!(
9013            "Offset of field: ",
9014            stringify!(libraw_samsung_makernotes_t),
9015            "::",
9016            stringify!(ColorSpace)
9017        )
9018    );
9019    assert_eq!(
9020        unsafe {
9021            &(*(::core::ptr::null::<libraw_samsung_makernotes_t>())).key as *const _ as usize
9022        },
9023        40usize,
9024        concat!(
9025            "Offset of field: ",
9026            stringify!(libraw_samsung_makernotes_t),
9027            "::",
9028            stringify!(key)
9029        )
9030    );
9031    assert_eq!(
9032        unsafe {
9033            &(*(::core::ptr::null::<libraw_samsung_makernotes_t>())).DigitalGain as *const _
9034                as usize
9035        },
9036        88usize,
9037        concat!(
9038            "Offset of field: ",
9039            stringify!(libraw_samsung_makernotes_t),
9040            "::",
9041            stringify!(DigitalGain)
9042        )
9043    );
9044    assert_eq!(
9045        unsafe {
9046            &(*(::core::ptr::null::<libraw_samsung_makernotes_t>())).DeviceType as *const _ as usize
9047        },
9048        96usize,
9049        concat!(
9050            "Offset of field: ",
9051            stringify!(libraw_samsung_makernotes_t),
9052            "::",
9053            stringify!(DeviceType)
9054        )
9055    );
9056    assert_eq!(
9057        unsafe {
9058            &(*(::core::ptr::null::<libraw_samsung_makernotes_t>())).LensFirmware as *const _
9059                as usize
9060        },
9061        100usize,
9062        concat!(
9063            "Offset of field: ",
9064            stringify!(libraw_samsung_makernotes_t),
9065            "::",
9066            stringify!(LensFirmware)
9067        )
9068    );
9069}
9070#[repr(C)]
9071#[derive(Debug, Copy, Clone, PartialEq)]
9072pub struct libraw_kodak_makernotes_t {
9073    pub BlackLevelTop: ushort,
9074    pub BlackLevelBottom: ushort,
9075    pub offset_left: libc::c_short,
9076    pub offset_top: libc::c_short,
9077    pub clipBlack: ushort,
9078    pub clipWhite: ushort,
9079    pub romm_camDaylight: [[f32; 3usize]; 3usize],
9080    pub romm_camTungsten: [[f32; 3usize]; 3usize],
9081    pub romm_camFluorescent: [[f32; 3usize]; 3usize],
9082    pub romm_camFlash: [[f32; 3usize]; 3usize],
9083    pub romm_camCustom: [[f32; 3usize]; 3usize],
9084    pub romm_camAuto: [[f32; 3usize]; 3usize],
9085    pub val018percent: ushort,
9086    pub val100percent: ushort,
9087    pub val170percent: ushort,
9088    pub MakerNoteKodak8a: libc::c_short,
9089    pub ISOCalibrationGain: f32,
9090    pub AnalogISO: f32,
9091}
9092#[test]
9093fn bindgen_test_layout_libraw_kodak_makernotes_t() {
9094    assert_eq!(
9095        ::core::mem::size_of::<libraw_kodak_makernotes_t>(),
9096        244usize,
9097        concat!("Size of: ", stringify!(libraw_kodak_makernotes_t))
9098    );
9099    assert_eq!(
9100        ::core::mem::align_of::<libraw_kodak_makernotes_t>(),
9101        4usize,
9102        concat!("Alignment of ", stringify!(libraw_kodak_makernotes_t))
9103    );
9104    assert_eq!(
9105        unsafe {
9106            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).BlackLevelTop as *const _
9107                as usize
9108        },
9109        0usize,
9110        concat!(
9111            "Offset of field: ",
9112            stringify!(libraw_kodak_makernotes_t),
9113            "::",
9114            stringify!(BlackLevelTop)
9115        )
9116    );
9117    assert_eq!(
9118        unsafe {
9119            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).BlackLevelBottom as *const _
9120                as usize
9121        },
9122        2usize,
9123        concat!(
9124            "Offset of field: ",
9125            stringify!(libraw_kodak_makernotes_t),
9126            "::",
9127            stringify!(BlackLevelBottom)
9128        )
9129    );
9130    assert_eq!(
9131        unsafe {
9132            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).offset_left as *const _ as usize
9133        },
9134        4usize,
9135        concat!(
9136            "Offset of field: ",
9137            stringify!(libraw_kodak_makernotes_t),
9138            "::",
9139            stringify!(offset_left)
9140        )
9141    );
9142    assert_eq!(
9143        unsafe {
9144            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).offset_top as *const _ as usize
9145        },
9146        6usize,
9147        concat!(
9148            "Offset of field: ",
9149            stringify!(libraw_kodak_makernotes_t),
9150            "::",
9151            stringify!(offset_top)
9152        )
9153    );
9154    assert_eq!(
9155        unsafe {
9156            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).clipBlack as *const _ as usize
9157        },
9158        8usize,
9159        concat!(
9160            "Offset of field: ",
9161            stringify!(libraw_kodak_makernotes_t),
9162            "::",
9163            stringify!(clipBlack)
9164        )
9165    );
9166    assert_eq!(
9167        unsafe {
9168            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).clipWhite as *const _ as usize
9169        },
9170        10usize,
9171        concat!(
9172            "Offset of field: ",
9173            stringify!(libraw_kodak_makernotes_t),
9174            "::",
9175            stringify!(clipWhite)
9176        )
9177    );
9178    assert_eq!(
9179        unsafe {
9180            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).romm_camDaylight as *const _
9181                as usize
9182        },
9183        12usize,
9184        concat!(
9185            "Offset of field: ",
9186            stringify!(libraw_kodak_makernotes_t),
9187            "::",
9188            stringify!(romm_camDaylight)
9189        )
9190    );
9191    assert_eq!(
9192        unsafe {
9193            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).romm_camTungsten as *const _
9194                as usize
9195        },
9196        48usize,
9197        concat!(
9198            "Offset of field: ",
9199            stringify!(libraw_kodak_makernotes_t),
9200            "::",
9201            stringify!(romm_camTungsten)
9202        )
9203    );
9204    assert_eq!(
9205        unsafe {
9206            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).romm_camFluorescent as *const _
9207                as usize
9208        },
9209        84usize,
9210        concat!(
9211            "Offset of field: ",
9212            stringify!(libraw_kodak_makernotes_t),
9213            "::",
9214            stringify!(romm_camFluorescent)
9215        )
9216    );
9217    assert_eq!(
9218        unsafe {
9219            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).romm_camFlash as *const _
9220                as usize
9221        },
9222        120usize,
9223        concat!(
9224            "Offset of field: ",
9225            stringify!(libraw_kodak_makernotes_t),
9226            "::",
9227            stringify!(romm_camFlash)
9228        )
9229    );
9230    assert_eq!(
9231        unsafe {
9232            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).romm_camCustom as *const _
9233                as usize
9234        },
9235        156usize,
9236        concat!(
9237            "Offset of field: ",
9238            stringify!(libraw_kodak_makernotes_t),
9239            "::",
9240            stringify!(romm_camCustom)
9241        )
9242    );
9243    assert_eq!(
9244        unsafe {
9245            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).romm_camAuto as *const _ as usize
9246        },
9247        192usize,
9248        concat!(
9249            "Offset of field: ",
9250            stringify!(libraw_kodak_makernotes_t),
9251            "::",
9252            stringify!(romm_camAuto)
9253        )
9254    );
9255    assert_eq!(
9256        unsafe {
9257            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).val018percent as *const _
9258                as usize
9259        },
9260        228usize,
9261        concat!(
9262            "Offset of field: ",
9263            stringify!(libraw_kodak_makernotes_t),
9264            "::",
9265            stringify!(val018percent)
9266        )
9267    );
9268    assert_eq!(
9269        unsafe {
9270            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).val100percent as *const _
9271                as usize
9272        },
9273        230usize,
9274        concat!(
9275            "Offset of field: ",
9276            stringify!(libraw_kodak_makernotes_t),
9277            "::",
9278            stringify!(val100percent)
9279        )
9280    );
9281    assert_eq!(
9282        unsafe {
9283            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).val170percent as *const _
9284                as usize
9285        },
9286        232usize,
9287        concat!(
9288            "Offset of field: ",
9289            stringify!(libraw_kodak_makernotes_t),
9290            "::",
9291            stringify!(val170percent)
9292        )
9293    );
9294    assert_eq!(
9295        unsafe {
9296            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).MakerNoteKodak8a as *const _
9297                as usize
9298        },
9299        234usize,
9300        concat!(
9301            "Offset of field: ",
9302            stringify!(libraw_kodak_makernotes_t),
9303            "::",
9304            stringify!(MakerNoteKodak8a)
9305        )
9306    );
9307    assert_eq!(
9308        unsafe {
9309            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).ISOCalibrationGain as *const _
9310                as usize
9311        },
9312        236usize,
9313        concat!(
9314            "Offset of field: ",
9315            stringify!(libraw_kodak_makernotes_t),
9316            "::",
9317            stringify!(ISOCalibrationGain)
9318        )
9319    );
9320    assert_eq!(
9321        unsafe {
9322            &(*(::core::ptr::null::<libraw_kodak_makernotes_t>())).AnalogISO as *const _ as usize
9323        },
9324        240usize,
9325        concat!(
9326            "Offset of field: ",
9327            stringify!(libraw_kodak_makernotes_t),
9328            "::",
9329            stringify!(AnalogISO)
9330        )
9331    );
9332}
9333#[repr(C)]
9334#[derive(Copy, Clone)]
9335pub struct libraw_p1_makernotes_t {
9336    pub Software: [libc::c_char; 64usize],
9337    pub SystemType: [libc::c_char; 64usize],
9338    pub FirmwareString: [libc::c_char; 256usize],
9339    pub SystemModel: [libc::c_char; 64usize],
9340}
9341#[test]
9342fn bindgen_test_layout_libraw_p1_makernotes_t() {
9343    assert_eq!(
9344        ::core::mem::size_of::<libraw_p1_makernotes_t>(),
9345        448usize,
9346        concat!("Size of: ", stringify!(libraw_p1_makernotes_t))
9347    );
9348    assert_eq!(
9349        ::core::mem::align_of::<libraw_p1_makernotes_t>(),
9350        1usize,
9351        concat!("Alignment of ", stringify!(libraw_p1_makernotes_t))
9352    );
9353    assert_eq!(
9354        unsafe {
9355            &(*(::core::ptr::null::<libraw_p1_makernotes_t>())).Software as *const _ as usize
9356        },
9357        0usize,
9358        concat!(
9359            "Offset of field: ",
9360            stringify!(libraw_p1_makernotes_t),
9361            "::",
9362            stringify!(Software)
9363        )
9364    );
9365    assert_eq!(
9366        unsafe {
9367            &(*(::core::ptr::null::<libraw_p1_makernotes_t>())).SystemType as *const _ as usize
9368        },
9369        64usize,
9370        concat!(
9371            "Offset of field: ",
9372            stringify!(libraw_p1_makernotes_t),
9373            "::",
9374            stringify!(SystemType)
9375        )
9376    );
9377    assert_eq!(
9378        unsafe {
9379            &(*(::core::ptr::null::<libraw_p1_makernotes_t>())).FirmwareString as *const _ as usize
9380        },
9381        128usize,
9382        concat!(
9383            "Offset of field: ",
9384            stringify!(libraw_p1_makernotes_t),
9385            "::",
9386            stringify!(FirmwareString)
9387        )
9388    );
9389    assert_eq!(
9390        unsafe {
9391            &(*(::core::ptr::null::<libraw_p1_makernotes_t>())).SystemModel as *const _ as usize
9392        },
9393        384usize,
9394        concat!(
9395            "Offset of field: ",
9396            stringify!(libraw_p1_makernotes_t),
9397            "::",
9398            stringify!(SystemModel)
9399        )
9400    );
9401}
9402#[repr(C)]
9403#[derive(Debug, Copy, Clone, PartialEq)]
9404pub struct libraw_sony_info_t {
9405    pub CameraType: ushort,
9406    pub Sony0x9400_version: uchar,
9407    pub Sony0x9400_ReleaseMode2: uchar,
9408    pub Sony0x9400_SequenceImageNumber: libc::c_uint,
9409    pub Sony0x9400_SequenceLength1: uchar,
9410    pub Sony0x9400_SequenceFileNumber: libc::c_uint,
9411    pub Sony0x9400_SequenceLength2: uchar,
9412    pub AFAreaModeSetting: u8,
9413    pub FlexibleSpotPosition: [ushort; 2usize],
9414    pub AFPointSelected: u8,
9415    pub AFPointsUsed: [u8; 10usize],
9416    pub AFTracking: u8,
9417    pub AFType: u8,
9418    pub FocusLocation: [ushort; 4usize],
9419    pub AFMicroAdjValue: i8,
9420    pub AFMicroAdjOn: i8,
9421    pub AFMicroAdjRegisteredLenses: uchar,
9422    pub VariableLowPassFilter: ushort,
9423    pub LongExposureNoiseReduction: libc::c_uint,
9424    pub HighISONoiseReduction: ushort,
9425    pub HDR: [ushort; 2usize],
9426    pub group2010: ushort,
9427    pub real_iso_offset: ushort,
9428    pub MeteringMode_offset: ushort,
9429    pub ExposureProgram_offset: ushort,
9430    pub ReleaseMode2_offset: ushort,
9431    pub MinoltaCamID: libc::c_uint,
9432    pub firmware: f32,
9433    pub ImageCount3_offset: ushort,
9434    pub ImageCount3: libc::c_uint,
9435    pub ElectronicFrontCurtainShutter: libc::c_uint,
9436    pub MeteringMode2: ushort,
9437    pub SonyDateTime: [libc::c_char; 20usize],
9438    pub ShotNumberSincePowerUp: libc::c_uint,
9439    pub PixelShiftGroupPrefix: ushort,
9440    pub PixelShiftGroupID: libc::c_uint,
9441    pub nShotsInPixelShiftGroup: libc::c_char,
9442    pub numInPixelShiftGroup: libc::c_char,
9443    pub prd_ImageHeight: ushort,
9444    pub prd_ImageWidth: ushort,
9445    pub prd_RawBitDepth: ushort,
9446    pub prd_StorageMethod: ushort,
9447    pub prd_BayerPattern: ushort,
9448    pub SonyRawFileType: ushort,
9449    pub RAWFileType: ushort,
9450    pub Quality: libc::c_uint,
9451    pub FileFormat: ushort,
9452}
9453#[test]
9454fn bindgen_test_layout_libraw_sony_info_t() {
9455    assert_eq!(
9456        ::core::mem::size_of::<libraw_sony_info_t>(),
9457        152usize,
9458        concat!("Size of: ", stringify!(libraw_sony_info_t))
9459    );
9460    assert_eq!(
9461        ::core::mem::align_of::<libraw_sony_info_t>(),
9462        4usize,
9463        concat!("Alignment of ", stringify!(libraw_sony_info_t))
9464    );
9465    assert_eq!(
9466        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).CameraType as *const _ as usize },
9467        0usize,
9468        concat!(
9469            "Offset of field: ",
9470            stringify!(libraw_sony_info_t),
9471            "::",
9472            stringify!(CameraType)
9473        )
9474    );
9475    assert_eq!(
9476        unsafe {
9477            &(*(::core::ptr::null::<libraw_sony_info_t>())).Sony0x9400_version as *const _ as usize
9478        },
9479        2usize,
9480        concat!(
9481            "Offset of field: ",
9482            stringify!(libraw_sony_info_t),
9483            "::",
9484            stringify!(Sony0x9400_version)
9485        )
9486    );
9487    assert_eq!(
9488        unsafe {
9489            &(*(::core::ptr::null::<libraw_sony_info_t>())).Sony0x9400_ReleaseMode2 as *const _
9490                as usize
9491        },
9492        3usize,
9493        concat!(
9494            "Offset of field: ",
9495            stringify!(libraw_sony_info_t),
9496            "::",
9497            stringify!(Sony0x9400_ReleaseMode2)
9498        )
9499    );
9500    assert_eq!(
9501        unsafe {
9502            &(*(::core::ptr::null::<libraw_sony_info_t>())).Sony0x9400_SequenceImageNumber
9503                as *const _ as usize
9504        },
9505        4usize,
9506        concat!(
9507            "Offset of field: ",
9508            stringify!(libraw_sony_info_t),
9509            "::",
9510            stringify!(Sony0x9400_SequenceImageNumber)
9511        )
9512    );
9513    assert_eq!(
9514        unsafe {
9515            &(*(::core::ptr::null::<libraw_sony_info_t>())).Sony0x9400_SequenceLength1 as *const _
9516                as usize
9517        },
9518        8usize,
9519        concat!(
9520            "Offset of field: ",
9521            stringify!(libraw_sony_info_t),
9522            "::",
9523            stringify!(Sony0x9400_SequenceLength1)
9524        )
9525    );
9526    assert_eq!(
9527        unsafe {
9528            &(*(::core::ptr::null::<libraw_sony_info_t>())).Sony0x9400_SequenceFileNumber
9529                as *const _ as usize
9530        },
9531        12usize,
9532        concat!(
9533            "Offset of field: ",
9534            stringify!(libraw_sony_info_t),
9535            "::",
9536            stringify!(Sony0x9400_SequenceFileNumber)
9537        )
9538    );
9539    assert_eq!(
9540        unsafe {
9541            &(*(::core::ptr::null::<libraw_sony_info_t>())).Sony0x9400_SequenceLength2 as *const _
9542                as usize
9543        },
9544        16usize,
9545        concat!(
9546            "Offset of field: ",
9547            stringify!(libraw_sony_info_t),
9548            "::",
9549            stringify!(Sony0x9400_SequenceLength2)
9550        )
9551    );
9552    assert_eq!(
9553        unsafe {
9554            &(*(::core::ptr::null::<libraw_sony_info_t>())).AFAreaModeSetting as *const _ as usize
9555        },
9556        17usize,
9557        concat!(
9558            "Offset of field: ",
9559            stringify!(libraw_sony_info_t),
9560            "::",
9561            stringify!(AFAreaModeSetting)
9562        )
9563    );
9564    assert_eq!(
9565        unsafe {
9566            &(*(::core::ptr::null::<libraw_sony_info_t>())).FlexibleSpotPosition as *const _
9567                as usize
9568        },
9569        18usize,
9570        concat!(
9571            "Offset of field: ",
9572            stringify!(libraw_sony_info_t),
9573            "::",
9574            stringify!(FlexibleSpotPosition)
9575        )
9576    );
9577    assert_eq!(
9578        unsafe {
9579            &(*(::core::ptr::null::<libraw_sony_info_t>())).AFPointSelected as *const _ as usize
9580        },
9581        22usize,
9582        concat!(
9583            "Offset of field: ",
9584            stringify!(libraw_sony_info_t),
9585            "::",
9586            stringify!(AFPointSelected)
9587        )
9588    );
9589    assert_eq!(
9590        unsafe {
9591            &(*(::core::ptr::null::<libraw_sony_info_t>())).AFPointsUsed as *const _ as usize
9592        },
9593        23usize,
9594        concat!(
9595            "Offset of field: ",
9596            stringify!(libraw_sony_info_t),
9597            "::",
9598            stringify!(AFPointsUsed)
9599        )
9600    );
9601    assert_eq!(
9602        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).AFTracking as *const _ as usize },
9603        33usize,
9604        concat!(
9605            "Offset of field: ",
9606            stringify!(libraw_sony_info_t),
9607            "::",
9608            stringify!(AFTracking)
9609        )
9610    );
9611    assert_eq!(
9612        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).AFType as *const _ as usize },
9613        34usize,
9614        concat!(
9615            "Offset of field: ",
9616            stringify!(libraw_sony_info_t),
9617            "::",
9618            stringify!(AFType)
9619        )
9620    );
9621    assert_eq!(
9622        unsafe {
9623            &(*(::core::ptr::null::<libraw_sony_info_t>())).FocusLocation as *const _ as usize
9624        },
9625        36usize,
9626        concat!(
9627            "Offset of field: ",
9628            stringify!(libraw_sony_info_t),
9629            "::",
9630            stringify!(FocusLocation)
9631        )
9632    );
9633    assert_eq!(
9634        unsafe {
9635            &(*(::core::ptr::null::<libraw_sony_info_t>())).AFMicroAdjValue as *const _ as usize
9636        },
9637        44usize,
9638        concat!(
9639            "Offset of field: ",
9640            stringify!(libraw_sony_info_t),
9641            "::",
9642            stringify!(AFMicroAdjValue)
9643        )
9644    );
9645    assert_eq!(
9646        unsafe {
9647            &(*(::core::ptr::null::<libraw_sony_info_t>())).AFMicroAdjOn as *const _ as usize
9648        },
9649        45usize,
9650        concat!(
9651            "Offset of field: ",
9652            stringify!(libraw_sony_info_t),
9653            "::",
9654            stringify!(AFMicroAdjOn)
9655        )
9656    );
9657    assert_eq!(
9658        unsafe {
9659            &(*(::core::ptr::null::<libraw_sony_info_t>())).AFMicroAdjRegisteredLenses as *const _
9660                as usize
9661        },
9662        46usize,
9663        concat!(
9664            "Offset of field: ",
9665            stringify!(libraw_sony_info_t),
9666            "::",
9667            stringify!(AFMicroAdjRegisteredLenses)
9668        )
9669    );
9670    assert_eq!(
9671        unsafe {
9672            &(*(::core::ptr::null::<libraw_sony_info_t>())).VariableLowPassFilter as *const _
9673                as usize
9674        },
9675        48usize,
9676        concat!(
9677            "Offset of field: ",
9678            stringify!(libraw_sony_info_t),
9679            "::",
9680            stringify!(VariableLowPassFilter)
9681        )
9682    );
9683    assert_eq!(
9684        unsafe {
9685            &(*(::core::ptr::null::<libraw_sony_info_t>())).LongExposureNoiseReduction as *const _
9686                as usize
9687        },
9688        52usize,
9689        concat!(
9690            "Offset of field: ",
9691            stringify!(libraw_sony_info_t),
9692            "::",
9693            stringify!(LongExposureNoiseReduction)
9694        )
9695    );
9696    assert_eq!(
9697        unsafe {
9698            &(*(::core::ptr::null::<libraw_sony_info_t>())).HighISONoiseReduction as *const _
9699                as usize
9700        },
9701        56usize,
9702        concat!(
9703            "Offset of field: ",
9704            stringify!(libraw_sony_info_t),
9705            "::",
9706            stringify!(HighISONoiseReduction)
9707        )
9708    );
9709    assert_eq!(
9710        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).HDR as *const _ as usize },
9711        58usize,
9712        concat!(
9713            "Offset of field: ",
9714            stringify!(libraw_sony_info_t),
9715            "::",
9716            stringify!(HDR)
9717        )
9718    );
9719    assert_eq!(
9720        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).group2010 as *const _ as usize },
9721        62usize,
9722        concat!(
9723            "Offset of field: ",
9724            stringify!(libraw_sony_info_t),
9725            "::",
9726            stringify!(group2010)
9727        )
9728    );
9729    assert_eq!(
9730        unsafe {
9731            &(*(::core::ptr::null::<libraw_sony_info_t>())).real_iso_offset as *const _ as usize
9732        },
9733        64usize,
9734        concat!(
9735            "Offset of field: ",
9736            stringify!(libraw_sony_info_t),
9737            "::",
9738            stringify!(real_iso_offset)
9739        )
9740    );
9741    assert_eq!(
9742        unsafe {
9743            &(*(::core::ptr::null::<libraw_sony_info_t>())).MeteringMode_offset as *const _ as usize
9744        },
9745        66usize,
9746        concat!(
9747            "Offset of field: ",
9748            stringify!(libraw_sony_info_t),
9749            "::",
9750            stringify!(MeteringMode_offset)
9751        )
9752    );
9753    assert_eq!(
9754        unsafe {
9755            &(*(::core::ptr::null::<libraw_sony_info_t>())).ExposureProgram_offset as *const _
9756                as usize
9757        },
9758        68usize,
9759        concat!(
9760            "Offset of field: ",
9761            stringify!(libraw_sony_info_t),
9762            "::",
9763            stringify!(ExposureProgram_offset)
9764        )
9765    );
9766    assert_eq!(
9767        unsafe {
9768            &(*(::core::ptr::null::<libraw_sony_info_t>())).ReleaseMode2_offset as *const _ as usize
9769        },
9770        70usize,
9771        concat!(
9772            "Offset of field: ",
9773            stringify!(libraw_sony_info_t),
9774            "::",
9775            stringify!(ReleaseMode2_offset)
9776        )
9777    );
9778    assert_eq!(
9779        unsafe {
9780            &(*(::core::ptr::null::<libraw_sony_info_t>())).MinoltaCamID as *const _ as usize
9781        },
9782        72usize,
9783        concat!(
9784            "Offset of field: ",
9785            stringify!(libraw_sony_info_t),
9786            "::",
9787            stringify!(MinoltaCamID)
9788        )
9789    );
9790    assert_eq!(
9791        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).firmware as *const _ as usize },
9792        76usize,
9793        concat!(
9794            "Offset of field: ",
9795            stringify!(libraw_sony_info_t),
9796            "::",
9797            stringify!(firmware)
9798        )
9799    );
9800    assert_eq!(
9801        unsafe {
9802            &(*(::core::ptr::null::<libraw_sony_info_t>())).ImageCount3_offset as *const _ as usize
9803        },
9804        80usize,
9805        concat!(
9806            "Offset of field: ",
9807            stringify!(libraw_sony_info_t),
9808            "::",
9809            stringify!(ImageCount3_offset)
9810        )
9811    );
9812    assert_eq!(
9813        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).ImageCount3 as *const _ as usize },
9814        84usize,
9815        concat!(
9816            "Offset of field: ",
9817            stringify!(libraw_sony_info_t),
9818            "::",
9819            stringify!(ImageCount3)
9820        )
9821    );
9822    assert_eq!(
9823        unsafe {
9824            &(*(::core::ptr::null::<libraw_sony_info_t>())).ElectronicFrontCurtainShutter
9825                as *const _ as usize
9826        },
9827        88usize,
9828        concat!(
9829            "Offset of field: ",
9830            stringify!(libraw_sony_info_t),
9831            "::",
9832            stringify!(ElectronicFrontCurtainShutter)
9833        )
9834    );
9835    assert_eq!(
9836        unsafe {
9837            &(*(::core::ptr::null::<libraw_sony_info_t>())).MeteringMode2 as *const _ as usize
9838        },
9839        92usize,
9840        concat!(
9841            "Offset of field: ",
9842            stringify!(libraw_sony_info_t),
9843            "::",
9844            stringify!(MeteringMode2)
9845        )
9846    );
9847    assert_eq!(
9848        unsafe {
9849            &(*(::core::ptr::null::<libraw_sony_info_t>())).SonyDateTime as *const _ as usize
9850        },
9851        94usize,
9852        concat!(
9853            "Offset of field: ",
9854            stringify!(libraw_sony_info_t),
9855            "::",
9856            stringify!(SonyDateTime)
9857        )
9858    );
9859    assert_eq!(
9860        unsafe {
9861            &(*(::core::ptr::null::<libraw_sony_info_t>())).ShotNumberSincePowerUp as *const _
9862                as usize
9863        },
9864        116usize,
9865        concat!(
9866            "Offset of field: ",
9867            stringify!(libraw_sony_info_t),
9868            "::",
9869            stringify!(ShotNumberSincePowerUp)
9870        )
9871    );
9872    assert_eq!(
9873        unsafe {
9874            &(*(::core::ptr::null::<libraw_sony_info_t>())).PixelShiftGroupPrefix as *const _
9875                as usize
9876        },
9877        120usize,
9878        concat!(
9879            "Offset of field: ",
9880            stringify!(libraw_sony_info_t),
9881            "::",
9882            stringify!(PixelShiftGroupPrefix)
9883        )
9884    );
9885    assert_eq!(
9886        unsafe {
9887            &(*(::core::ptr::null::<libraw_sony_info_t>())).PixelShiftGroupID as *const _ as usize
9888        },
9889        124usize,
9890        concat!(
9891            "Offset of field: ",
9892            stringify!(libraw_sony_info_t),
9893            "::",
9894            stringify!(PixelShiftGroupID)
9895        )
9896    );
9897    assert_eq!(
9898        unsafe {
9899            &(*(::core::ptr::null::<libraw_sony_info_t>())).nShotsInPixelShiftGroup as *const _
9900                as usize
9901        },
9902        128usize,
9903        concat!(
9904            "Offset of field: ",
9905            stringify!(libraw_sony_info_t),
9906            "::",
9907            stringify!(nShotsInPixelShiftGroup)
9908        )
9909    );
9910    assert_eq!(
9911        unsafe {
9912            &(*(::core::ptr::null::<libraw_sony_info_t>())).numInPixelShiftGroup as *const _
9913                as usize
9914        },
9915        129usize,
9916        concat!(
9917            "Offset of field: ",
9918            stringify!(libraw_sony_info_t),
9919            "::",
9920            stringify!(numInPixelShiftGroup)
9921        )
9922    );
9923    assert_eq!(
9924        unsafe {
9925            &(*(::core::ptr::null::<libraw_sony_info_t>())).prd_ImageHeight as *const _ as usize
9926        },
9927        130usize,
9928        concat!(
9929            "Offset of field: ",
9930            stringify!(libraw_sony_info_t),
9931            "::",
9932            stringify!(prd_ImageHeight)
9933        )
9934    );
9935    assert_eq!(
9936        unsafe {
9937            &(*(::core::ptr::null::<libraw_sony_info_t>())).prd_ImageWidth as *const _ as usize
9938        },
9939        132usize,
9940        concat!(
9941            "Offset of field: ",
9942            stringify!(libraw_sony_info_t),
9943            "::",
9944            stringify!(prd_ImageWidth)
9945        )
9946    );
9947    assert_eq!(
9948        unsafe {
9949            &(*(::core::ptr::null::<libraw_sony_info_t>())).prd_RawBitDepth as *const _ as usize
9950        },
9951        134usize,
9952        concat!(
9953            "Offset of field: ",
9954            stringify!(libraw_sony_info_t),
9955            "::",
9956            stringify!(prd_RawBitDepth)
9957        )
9958    );
9959    assert_eq!(
9960        unsafe {
9961            &(*(::core::ptr::null::<libraw_sony_info_t>())).prd_StorageMethod as *const _ as usize
9962        },
9963        136usize,
9964        concat!(
9965            "Offset of field: ",
9966            stringify!(libraw_sony_info_t),
9967            "::",
9968            stringify!(prd_StorageMethod)
9969        )
9970    );
9971    assert_eq!(
9972        unsafe {
9973            &(*(::core::ptr::null::<libraw_sony_info_t>())).prd_BayerPattern as *const _ as usize
9974        },
9975        138usize,
9976        concat!(
9977            "Offset of field: ",
9978            stringify!(libraw_sony_info_t),
9979            "::",
9980            stringify!(prd_BayerPattern)
9981        )
9982    );
9983    assert_eq!(
9984        unsafe {
9985            &(*(::core::ptr::null::<libraw_sony_info_t>())).SonyRawFileType as *const _ as usize
9986        },
9987        140usize,
9988        concat!(
9989            "Offset of field: ",
9990            stringify!(libraw_sony_info_t),
9991            "::",
9992            stringify!(SonyRawFileType)
9993        )
9994    );
9995    assert_eq!(
9996        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).RAWFileType as *const _ as usize },
9997        142usize,
9998        concat!(
9999            "Offset of field: ",
10000            stringify!(libraw_sony_info_t),
10001            "::",
10002            stringify!(RAWFileType)
10003        )
10004    );
10005    assert_eq!(
10006        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).Quality as *const _ as usize },
10007        144usize,
10008        concat!(
10009            "Offset of field: ",
10010            stringify!(libraw_sony_info_t),
10011            "::",
10012            stringify!(Quality)
10013        )
10014    );
10015    assert_eq!(
10016        unsafe { &(*(::core::ptr::null::<libraw_sony_info_t>())).FileFormat as *const _ as usize },
10017        148usize,
10018        concat!(
10019            "Offset of field: ",
10020            stringify!(libraw_sony_info_t),
10021            "::",
10022            stringify!(FileFormat)
10023        )
10024    );
10025}
10026#[repr(C)]
10027#[derive(Copy, Clone)]
10028pub struct libraw_colordata_t {
10029    pub curve: [ushort; 65536usize],
10030    pub cblack: [libc::c_uint; 4104usize],
10031    pub black: libc::c_uint,
10032    pub data_maximum: libc::c_uint,
10033    pub maximum: libc::c_uint,
10034    pub linear_max: [libc::c_long; 4usize],
10035    pub fmaximum: f32,
10036    pub fnorm: f32,
10037    pub white: [[ushort; 8usize]; 8usize],
10038    pub cam_mul: [f32; 4usize],
10039    pub pre_mul: [f32; 4usize],
10040    pub cmatrix: [[f32; 4usize]; 3usize],
10041    pub ccm: [[f32; 4usize]; 3usize],
10042    pub rgb_cam: [[f32; 4usize]; 3usize],
10043    pub cam_xyz: [[f32; 3usize]; 4usize],
10044    pub phase_one_data: ph1_t,
10045    pub flash_used: f32,
10046    pub canon_ev: f32,
10047    pub model2: [libc::c_char; 64usize],
10048    pub UniqueCameraModel: [libc::c_char; 64usize],
10049    pub LocalizedCameraModel: [libc::c_char; 64usize],
10050    pub ImageUniqueID: [libc::c_char; 64usize],
10051    pub RawDataUniqueID: [libc::c_char; 17usize],
10052    pub OriginalRawFileName: [libc::c_char; 64usize],
10053    pub profile: *mut libc::c_void,
10054    pub profile_length: libc::c_uint,
10055    pub black_stat: [libc::c_uint; 8usize],
10056    pub dng_color: [libraw_dng_color_t; 2usize],
10057    pub dng_levels: libraw_dng_levels_t,
10058    pub WB_Coeffs: [[libc::c_int; 4usize]; 256usize],
10059    pub WBCT_Coeffs: [[f32; 5usize]; 64usize],
10060    pub as_shot_wb_applied: libc::c_int,
10061    pub P1_color: [libraw_P1_color_t; 2usize],
10062    pub raw_bps: libc::c_uint,
10063    pub ExifColorSpace: libc::c_int,
10064}
10065#[test]
10066fn bindgen_test_layout_libraw_colordata_t() {
10067    assert_eq!(
10068        ::core::mem::size_of::<libraw_colordata_t>(),
10069        187040usize,
10070        concat!("Size of: ", stringify!(libraw_colordata_t))
10071    );
10072    assert_eq!(
10073        ::core::mem::align_of::<libraw_colordata_t>(),
10074        8usize,
10075        concat!("Alignment of ", stringify!(libraw_colordata_t))
10076    );
10077    assert_eq!(
10078        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).curve as *const _ as usize },
10079        0usize,
10080        concat!(
10081            "Offset of field: ",
10082            stringify!(libraw_colordata_t),
10083            "::",
10084            stringify!(curve)
10085        )
10086    );
10087    assert_eq!(
10088        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).cblack as *const _ as usize },
10089        131072usize,
10090        concat!(
10091            "Offset of field: ",
10092            stringify!(libraw_colordata_t),
10093            "::",
10094            stringify!(cblack)
10095        )
10096    );
10097    assert_eq!(
10098        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).black as *const _ as usize },
10099        147488usize,
10100        concat!(
10101            "Offset of field: ",
10102            stringify!(libraw_colordata_t),
10103            "::",
10104            stringify!(black)
10105        )
10106    );
10107    assert_eq!(
10108        unsafe {
10109            &(*(::core::ptr::null::<libraw_colordata_t>())).data_maximum as *const _ as usize
10110        },
10111        147492usize,
10112        concat!(
10113            "Offset of field: ",
10114            stringify!(libraw_colordata_t),
10115            "::",
10116            stringify!(data_maximum)
10117        )
10118    );
10119    assert_eq!(
10120        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).maximum as *const _ as usize },
10121        147496usize,
10122        concat!(
10123            "Offset of field: ",
10124            stringify!(libraw_colordata_t),
10125            "::",
10126            stringify!(maximum)
10127        )
10128    );
10129    assert_eq!(
10130        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).linear_max as *const _ as usize },
10131        147504usize,
10132        concat!(
10133            "Offset of field: ",
10134            stringify!(libraw_colordata_t),
10135            "::",
10136            stringify!(linear_max)
10137        )
10138    );
10139    assert_eq!(
10140        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).fmaximum as *const _ as usize },
10141        147536usize,
10142        concat!(
10143            "Offset of field: ",
10144            stringify!(libraw_colordata_t),
10145            "::",
10146            stringify!(fmaximum)
10147        )
10148    );
10149    assert_eq!(
10150        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).fnorm as *const _ as usize },
10151        147540usize,
10152        concat!(
10153            "Offset of field: ",
10154            stringify!(libraw_colordata_t),
10155            "::",
10156            stringify!(fnorm)
10157        )
10158    );
10159    assert_eq!(
10160        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).white as *const _ as usize },
10161        147544usize,
10162        concat!(
10163            "Offset of field: ",
10164            stringify!(libraw_colordata_t),
10165            "::",
10166            stringify!(white)
10167        )
10168    );
10169    assert_eq!(
10170        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).cam_mul as *const _ as usize },
10171        147672usize,
10172        concat!(
10173            "Offset of field: ",
10174            stringify!(libraw_colordata_t),
10175            "::",
10176            stringify!(cam_mul)
10177        )
10178    );
10179    assert_eq!(
10180        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).pre_mul as *const _ as usize },
10181        147688usize,
10182        concat!(
10183            "Offset of field: ",
10184            stringify!(libraw_colordata_t),
10185            "::",
10186            stringify!(pre_mul)
10187        )
10188    );
10189    assert_eq!(
10190        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).cmatrix as *const _ as usize },
10191        147704usize,
10192        concat!(
10193            "Offset of field: ",
10194            stringify!(libraw_colordata_t),
10195            "::",
10196            stringify!(cmatrix)
10197        )
10198    );
10199    assert_eq!(
10200        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).ccm as *const _ as usize },
10201        147752usize,
10202        concat!(
10203            "Offset of field: ",
10204            stringify!(libraw_colordata_t),
10205            "::",
10206            stringify!(ccm)
10207        )
10208    );
10209    assert_eq!(
10210        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).rgb_cam as *const _ as usize },
10211        147800usize,
10212        concat!(
10213            "Offset of field: ",
10214            stringify!(libraw_colordata_t),
10215            "::",
10216            stringify!(rgb_cam)
10217        )
10218    );
10219    assert_eq!(
10220        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).cam_xyz as *const _ as usize },
10221        147848usize,
10222        concat!(
10223            "Offset of field: ",
10224            stringify!(libraw_colordata_t),
10225            "::",
10226            stringify!(cam_xyz)
10227        )
10228    );
10229    assert_eq!(
10230        unsafe {
10231            &(*(::core::ptr::null::<libraw_colordata_t>())).phase_one_data as *const _ as usize
10232        },
10233        147896usize,
10234        concat!(
10235            "Offset of field: ",
10236            stringify!(libraw_colordata_t),
10237            "::",
10238            stringify!(phase_one_data)
10239        )
10240    );
10241    assert_eq!(
10242        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).flash_used as *const _ as usize },
10243        147932usize,
10244        concat!(
10245            "Offset of field: ",
10246            stringify!(libraw_colordata_t),
10247            "::",
10248            stringify!(flash_used)
10249        )
10250    );
10251    assert_eq!(
10252        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).canon_ev as *const _ as usize },
10253        147936usize,
10254        concat!(
10255            "Offset of field: ",
10256            stringify!(libraw_colordata_t),
10257            "::",
10258            stringify!(canon_ev)
10259        )
10260    );
10261    assert_eq!(
10262        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).model2 as *const _ as usize },
10263        147940usize,
10264        concat!(
10265            "Offset of field: ",
10266            stringify!(libraw_colordata_t),
10267            "::",
10268            stringify!(model2)
10269        )
10270    );
10271    assert_eq!(
10272        unsafe {
10273            &(*(::core::ptr::null::<libraw_colordata_t>())).UniqueCameraModel as *const _ as usize
10274        },
10275        148004usize,
10276        concat!(
10277            "Offset of field: ",
10278            stringify!(libraw_colordata_t),
10279            "::",
10280            stringify!(UniqueCameraModel)
10281        )
10282    );
10283    assert_eq!(
10284        unsafe {
10285            &(*(::core::ptr::null::<libraw_colordata_t>())).LocalizedCameraModel as *const _
10286                as usize
10287        },
10288        148068usize,
10289        concat!(
10290            "Offset of field: ",
10291            stringify!(libraw_colordata_t),
10292            "::",
10293            stringify!(LocalizedCameraModel)
10294        )
10295    );
10296    assert_eq!(
10297        unsafe {
10298            &(*(::core::ptr::null::<libraw_colordata_t>())).ImageUniqueID as *const _ as usize
10299        },
10300        148132usize,
10301        concat!(
10302            "Offset of field: ",
10303            stringify!(libraw_colordata_t),
10304            "::",
10305            stringify!(ImageUniqueID)
10306        )
10307    );
10308    assert_eq!(
10309        unsafe {
10310            &(*(::core::ptr::null::<libraw_colordata_t>())).RawDataUniqueID as *const _ as usize
10311        },
10312        148196usize,
10313        concat!(
10314            "Offset of field: ",
10315            stringify!(libraw_colordata_t),
10316            "::",
10317            stringify!(RawDataUniqueID)
10318        )
10319    );
10320    assert_eq!(
10321        unsafe {
10322            &(*(::core::ptr::null::<libraw_colordata_t>())).OriginalRawFileName as *const _ as usize
10323        },
10324        148213usize,
10325        concat!(
10326            "Offset of field: ",
10327            stringify!(libraw_colordata_t),
10328            "::",
10329            stringify!(OriginalRawFileName)
10330        )
10331    );
10332    assert_eq!(
10333        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).profile as *const _ as usize },
10334        148280usize,
10335        concat!(
10336            "Offset of field: ",
10337            stringify!(libraw_colordata_t),
10338            "::",
10339            stringify!(profile)
10340        )
10341    );
10342    assert_eq!(
10343        unsafe {
10344            &(*(::core::ptr::null::<libraw_colordata_t>())).profile_length as *const _ as usize
10345        },
10346        148288usize,
10347        concat!(
10348            "Offset of field: ",
10349            stringify!(libraw_colordata_t),
10350            "::",
10351            stringify!(profile_length)
10352        )
10353    );
10354    assert_eq!(
10355        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).black_stat as *const _ as usize },
10356        148292usize,
10357        concat!(
10358            "Offset of field: ",
10359            stringify!(libraw_colordata_t),
10360            "::",
10361            stringify!(black_stat)
10362        )
10363    );
10364    assert_eq!(
10365        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).dng_color as *const _ as usize },
10366        148324usize,
10367        concat!(
10368            "Offset of field: ",
10369            stringify!(libraw_colordata_t),
10370            "::",
10371            stringify!(dng_color)
10372        )
10373    );
10374    assert_eq!(
10375        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).dng_levels as *const _ as usize },
10376        148660usize,
10377        concat!(
10378            "Offset of field: ",
10379            stringify!(libraw_colordata_t),
10380            "::",
10381            stringify!(dng_levels)
10382        )
10383    );
10384    assert_eq!(
10385        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).WB_Coeffs as *const _ as usize },
10386        181580usize,
10387        concat!(
10388            "Offset of field: ",
10389            stringify!(libraw_colordata_t),
10390            "::",
10391            stringify!(WB_Coeffs)
10392        )
10393    );
10394    assert_eq!(
10395        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).WBCT_Coeffs as *const _ as usize },
10396        185676usize,
10397        concat!(
10398            "Offset of field: ",
10399            stringify!(libraw_colordata_t),
10400            "::",
10401            stringify!(WBCT_Coeffs)
10402        )
10403    );
10404    assert_eq!(
10405        unsafe {
10406            &(*(::core::ptr::null::<libraw_colordata_t>())).as_shot_wb_applied as *const _ as usize
10407        },
10408        186956usize,
10409        concat!(
10410            "Offset of field: ",
10411            stringify!(libraw_colordata_t),
10412            "::",
10413            stringify!(as_shot_wb_applied)
10414        )
10415    );
10416    assert_eq!(
10417        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).P1_color as *const _ as usize },
10418        186960usize,
10419        concat!(
10420            "Offset of field: ",
10421            stringify!(libraw_colordata_t),
10422            "::",
10423            stringify!(P1_color)
10424        )
10425    );
10426    assert_eq!(
10427        unsafe { &(*(::core::ptr::null::<libraw_colordata_t>())).raw_bps as *const _ as usize },
10428        187032usize,
10429        concat!(
10430            "Offset of field: ",
10431            stringify!(libraw_colordata_t),
10432            "::",
10433            stringify!(raw_bps)
10434        )
10435    );
10436    assert_eq!(
10437        unsafe {
10438            &(*(::core::ptr::null::<libraw_colordata_t>())).ExifColorSpace as *const _ as usize
10439        },
10440        187036usize,
10441        concat!(
10442            "Offset of field: ",
10443            stringify!(libraw_colordata_t),
10444            "::",
10445            stringify!(ExifColorSpace)
10446        )
10447    );
10448}
10449#[repr(C)]
10450#[derive(Debug, Copy, Clone, PartialEq, Eq)]
10451pub struct libraw_thumbnail_t {
10452    pub tformat: LibRaw_thumbnail_formats,
10453    pub twidth: ushort,
10454    pub theight: ushort,
10455    pub tlength: libc::c_uint,
10456    pub tcolors: libc::c_int,
10457    pub thumb: *mut libc::c_char,
10458}
10459#[test]
10460fn bindgen_test_layout_libraw_thumbnail_t() {
10461    assert_eq!(
10462        ::core::mem::size_of::<libraw_thumbnail_t>(),
10463        24usize,
10464        concat!("Size of: ", stringify!(libraw_thumbnail_t))
10465    );
10466    assert_eq!(
10467        ::core::mem::align_of::<libraw_thumbnail_t>(),
10468        8usize,
10469        concat!("Alignment of ", stringify!(libraw_thumbnail_t))
10470    );
10471    assert_eq!(
10472        unsafe { &(*(::core::ptr::null::<libraw_thumbnail_t>())).tformat as *const _ as usize },
10473        0usize,
10474        concat!(
10475            "Offset of field: ",
10476            stringify!(libraw_thumbnail_t),
10477            "::",
10478            stringify!(tformat)
10479        )
10480    );
10481    assert_eq!(
10482        unsafe { &(*(::core::ptr::null::<libraw_thumbnail_t>())).twidth as *const _ as usize },
10483        4usize,
10484        concat!(
10485            "Offset of field: ",
10486            stringify!(libraw_thumbnail_t),
10487            "::",
10488            stringify!(twidth)
10489        )
10490    );
10491    assert_eq!(
10492        unsafe { &(*(::core::ptr::null::<libraw_thumbnail_t>())).theight as *const _ as usize },
10493        6usize,
10494        concat!(
10495            "Offset of field: ",
10496            stringify!(libraw_thumbnail_t),
10497            "::",
10498            stringify!(theight)
10499        )
10500    );
10501    assert_eq!(
10502        unsafe { &(*(::core::ptr::null::<libraw_thumbnail_t>())).tlength as *const _ as usize },
10503        8usize,
10504        concat!(
10505            "Offset of field: ",
10506            stringify!(libraw_thumbnail_t),
10507            "::",
10508            stringify!(tlength)
10509        )
10510    );
10511    assert_eq!(
10512        unsafe { &(*(::core::ptr::null::<libraw_thumbnail_t>())).tcolors as *const _ as usize },
10513        12usize,
10514        concat!(
10515            "Offset of field: ",
10516            stringify!(libraw_thumbnail_t),
10517            "::",
10518            stringify!(tcolors)
10519        )
10520    );
10521    assert_eq!(
10522        unsafe { &(*(::core::ptr::null::<libraw_thumbnail_t>())).thumb as *const _ as usize },
10523        16usize,
10524        concat!(
10525            "Offset of field: ",
10526            stringify!(libraw_thumbnail_t),
10527            "::",
10528            stringify!(thumb)
10529        )
10530    );
10531}
10532#[repr(C)]
10533#[derive(Debug, Copy, Clone, PartialEq)]
10534pub struct libraw_gps_info_t {
10535    pub latitude: [f32; 3usize],
10536    pub longitude: [f32; 3usize],
10537    pub gpstimestamp: [f32; 3usize],
10538    pub altitude: f32,
10539    pub altref: libc::c_char,
10540    pub latref: libc::c_char,
10541    pub longref: libc::c_char,
10542    pub gpsstatus: libc::c_char,
10543    pub gpsparsed: libc::c_char,
10544}
10545#[test]
10546fn bindgen_test_layout_libraw_gps_info_t() {
10547    assert_eq!(
10548        ::core::mem::size_of::<libraw_gps_info_t>(),
10549        48usize,
10550        concat!("Size of: ", stringify!(libraw_gps_info_t))
10551    );
10552    assert_eq!(
10553        ::core::mem::align_of::<libraw_gps_info_t>(),
10554        4usize,
10555        concat!("Alignment of ", stringify!(libraw_gps_info_t))
10556    );
10557    assert_eq!(
10558        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).latitude as *const _ as usize },
10559        0usize,
10560        concat!(
10561            "Offset of field: ",
10562            stringify!(libraw_gps_info_t),
10563            "::",
10564            stringify!(latitude)
10565        )
10566    );
10567    assert_eq!(
10568        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).longitude as *const _ as usize },
10569        12usize,
10570        concat!(
10571            "Offset of field: ",
10572            stringify!(libraw_gps_info_t),
10573            "::",
10574            stringify!(longitude)
10575        )
10576    );
10577    assert_eq!(
10578        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).gpstimestamp as *const _ as usize },
10579        24usize,
10580        concat!(
10581            "Offset of field: ",
10582            stringify!(libraw_gps_info_t),
10583            "::",
10584            stringify!(gpstimestamp)
10585        )
10586    );
10587    assert_eq!(
10588        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).altitude as *const _ as usize },
10589        36usize,
10590        concat!(
10591            "Offset of field: ",
10592            stringify!(libraw_gps_info_t),
10593            "::",
10594            stringify!(altitude)
10595        )
10596    );
10597    assert_eq!(
10598        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).altref as *const _ as usize },
10599        40usize,
10600        concat!(
10601            "Offset of field: ",
10602            stringify!(libraw_gps_info_t),
10603            "::",
10604            stringify!(altref)
10605        )
10606    );
10607    assert_eq!(
10608        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).latref as *const _ as usize },
10609        41usize,
10610        concat!(
10611            "Offset of field: ",
10612            stringify!(libraw_gps_info_t),
10613            "::",
10614            stringify!(latref)
10615        )
10616    );
10617    assert_eq!(
10618        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).longref as *const _ as usize },
10619        42usize,
10620        concat!(
10621            "Offset of field: ",
10622            stringify!(libraw_gps_info_t),
10623            "::",
10624            stringify!(longref)
10625        )
10626    );
10627    assert_eq!(
10628        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).gpsstatus as *const _ as usize },
10629        43usize,
10630        concat!(
10631            "Offset of field: ",
10632            stringify!(libraw_gps_info_t),
10633            "::",
10634            stringify!(gpsstatus)
10635        )
10636    );
10637    assert_eq!(
10638        unsafe { &(*(::core::ptr::null::<libraw_gps_info_t>())).gpsparsed as *const _ as usize },
10639        44usize,
10640        concat!(
10641            "Offset of field: ",
10642            stringify!(libraw_gps_info_t),
10643            "::",
10644            stringify!(gpsparsed)
10645        )
10646    );
10647}
10648#[repr(C)]
10649#[derive(Copy, Clone)]
10650pub struct libraw_imgother_t {
10651    pub iso_speed: f32,
10652    pub shutter: f32,
10653    pub aperture: f32,
10654    pub focal_len: f32,
10655    pub timestamp: time_t,
10656    pub shot_order: libc::c_uint,
10657    pub gpsdata: [libc::c_uint; 32usize],
10658    pub parsed_gps: libraw_gps_info_t,
10659    pub desc: [libc::c_char; 512usize],
10660    pub artist: [libc::c_char; 64usize],
10661    pub analogbalance: [f32; 4usize],
10662}
10663#[test]
10664fn bindgen_test_layout_libraw_imgother_t() {
10665    assert_eq!(
10666        ::core::mem::size_of::<libraw_imgother_t>(),
10667        800usize,
10668        concat!("Size of: ", stringify!(libraw_imgother_t))
10669    );
10670    assert_eq!(
10671        ::core::mem::align_of::<libraw_imgother_t>(),
10672        8usize,
10673        concat!("Alignment of ", stringify!(libraw_imgother_t))
10674    );
10675    assert_eq!(
10676        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).iso_speed as *const _ as usize },
10677        0usize,
10678        concat!(
10679            "Offset of field: ",
10680            stringify!(libraw_imgother_t),
10681            "::",
10682            stringify!(iso_speed)
10683        )
10684    );
10685    assert_eq!(
10686        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).shutter as *const _ as usize },
10687        4usize,
10688        concat!(
10689            "Offset of field: ",
10690            stringify!(libraw_imgother_t),
10691            "::",
10692            stringify!(shutter)
10693        )
10694    );
10695    assert_eq!(
10696        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).aperture as *const _ as usize },
10697        8usize,
10698        concat!(
10699            "Offset of field: ",
10700            stringify!(libraw_imgother_t),
10701            "::",
10702            stringify!(aperture)
10703        )
10704    );
10705    assert_eq!(
10706        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).focal_len as *const _ as usize },
10707        12usize,
10708        concat!(
10709            "Offset of field: ",
10710            stringify!(libraw_imgother_t),
10711            "::",
10712            stringify!(focal_len)
10713        )
10714    );
10715    assert_eq!(
10716        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).timestamp as *const _ as usize },
10717        16usize,
10718        concat!(
10719            "Offset of field: ",
10720            stringify!(libraw_imgother_t),
10721            "::",
10722            stringify!(timestamp)
10723        )
10724    );
10725    assert_eq!(
10726        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).shot_order as *const _ as usize },
10727        24usize,
10728        concat!(
10729            "Offset of field: ",
10730            stringify!(libraw_imgother_t),
10731            "::",
10732            stringify!(shot_order)
10733        )
10734    );
10735    assert_eq!(
10736        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).gpsdata as *const _ as usize },
10737        28usize,
10738        concat!(
10739            "Offset of field: ",
10740            stringify!(libraw_imgother_t),
10741            "::",
10742            stringify!(gpsdata)
10743        )
10744    );
10745    assert_eq!(
10746        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).parsed_gps as *const _ as usize },
10747        156usize,
10748        concat!(
10749            "Offset of field: ",
10750            stringify!(libraw_imgother_t),
10751            "::",
10752            stringify!(parsed_gps)
10753        )
10754    );
10755    assert_eq!(
10756        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).desc as *const _ as usize },
10757        204usize,
10758        concat!(
10759            "Offset of field: ",
10760            stringify!(libraw_imgother_t),
10761            "::",
10762            stringify!(desc)
10763        )
10764    );
10765    assert_eq!(
10766        unsafe { &(*(::core::ptr::null::<libraw_imgother_t>())).artist as *const _ as usize },
10767        716usize,
10768        concat!(
10769            "Offset of field: ",
10770            stringify!(libraw_imgother_t),
10771            "::",
10772            stringify!(artist)
10773        )
10774    );
10775    assert_eq!(
10776        unsafe {
10777            &(*(::core::ptr::null::<libraw_imgother_t>())).analogbalance as *const _ as usize
10778        },
10779        780usize,
10780        concat!(
10781            "Offset of field: ",
10782            stringify!(libraw_imgother_t),
10783            "::",
10784            stringify!(analogbalance)
10785        )
10786    );
10787}
10788#[repr(C)]
10789#[derive(Copy, Clone)]
10790pub struct libraw_metadata_common_t {
10791    pub FlashEC: f32,
10792    pub FlashGN: f32,
10793    pub CameraTemperature: f32,
10794    pub SensorTemperature: f32,
10795    pub SensorTemperature2: f32,
10796    pub LensTemperature: f32,
10797    pub AmbientTemperature: f32,
10798    pub BatteryTemperature: f32,
10799    pub exifAmbientTemperature: f32,
10800    pub exifHumidity: f32,
10801    pub exifPressure: f32,
10802    pub exifWaterDepth: f32,
10803    pub exifAcceleration: f32,
10804    pub exifCameraElevationAngle: f32,
10805    pub real_ISO: f32,
10806    pub exifExposureIndex: f32,
10807    pub ColorSpace: ushort,
10808    pub firmware: [libc::c_char; 128usize],
10809}
10810#[test]
10811fn bindgen_test_layout_libraw_metadata_common_t() {
10812    assert_eq!(
10813        ::core::mem::size_of::<libraw_metadata_common_t>(),
10814        196usize,
10815        concat!("Size of: ", stringify!(libraw_metadata_common_t))
10816    );
10817    assert_eq!(
10818        ::core::mem::align_of::<libraw_metadata_common_t>(),
10819        4usize,
10820        concat!("Alignment of ", stringify!(libraw_metadata_common_t))
10821    );
10822    assert_eq!(
10823        unsafe {
10824            &(*(::core::ptr::null::<libraw_metadata_common_t>())).FlashEC as *const _ as usize
10825        },
10826        0usize,
10827        concat!(
10828            "Offset of field: ",
10829            stringify!(libraw_metadata_common_t),
10830            "::",
10831            stringify!(FlashEC)
10832        )
10833    );
10834    assert_eq!(
10835        unsafe {
10836            &(*(::core::ptr::null::<libraw_metadata_common_t>())).FlashGN as *const _ as usize
10837        },
10838        4usize,
10839        concat!(
10840            "Offset of field: ",
10841            stringify!(libraw_metadata_common_t),
10842            "::",
10843            stringify!(FlashGN)
10844        )
10845    );
10846    assert_eq!(
10847        unsafe {
10848            &(*(::core::ptr::null::<libraw_metadata_common_t>())).CameraTemperature as *const _
10849                as usize
10850        },
10851        8usize,
10852        concat!(
10853            "Offset of field: ",
10854            stringify!(libraw_metadata_common_t),
10855            "::",
10856            stringify!(CameraTemperature)
10857        )
10858    );
10859    assert_eq!(
10860        unsafe {
10861            &(*(::core::ptr::null::<libraw_metadata_common_t>())).SensorTemperature as *const _
10862                as usize
10863        },
10864        12usize,
10865        concat!(
10866            "Offset of field: ",
10867            stringify!(libraw_metadata_common_t),
10868            "::",
10869            stringify!(SensorTemperature)
10870        )
10871    );
10872    assert_eq!(
10873        unsafe {
10874            &(*(::core::ptr::null::<libraw_metadata_common_t>())).SensorTemperature2 as *const _
10875                as usize
10876        },
10877        16usize,
10878        concat!(
10879            "Offset of field: ",
10880            stringify!(libraw_metadata_common_t),
10881            "::",
10882            stringify!(SensorTemperature2)
10883        )
10884    );
10885    assert_eq!(
10886        unsafe {
10887            &(*(::core::ptr::null::<libraw_metadata_common_t>())).LensTemperature as *const _
10888                as usize
10889        },
10890        20usize,
10891        concat!(
10892            "Offset of field: ",
10893            stringify!(libraw_metadata_common_t),
10894            "::",
10895            stringify!(LensTemperature)
10896        )
10897    );
10898    assert_eq!(
10899        unsafe {
10900            &(*(::core::ptr::null::<libraw_metadata_common_t>())).AmbientTemperature as *const _
10901                as usize
10902        },
10903        24usize,
10904        concat!(
10905            "Offset of field: ",
10906            stringify!(libraw_metadata_common_t),
10907            "::",
10908            stringify!(AmbientTemperature)
10909        )
10910    );
10911    assert_eq!(
10912        unsafe {
10913            &(*(::core::ptr::null::<libraw_metadata_common_t>())).BatteryTemperature as *const _
10914                as usize
10915        },
10916        28usize,
10917        concat!(
10918            "Offset of field: ",
10919            stringify!(libraw_metadata_common_t),
10920            "::",
10921            stringify!(BatteryTemperature)
10922        )
10923    );
10924    assert_eq!(
10925        unsafe {
10926            &(*(::core::ptr::null::<libraw_metadata_common_t>())).exifAmbientTemperature as *const _
10927                as usize
10928        },
10929        32usize,
10930        concat!(
10931            "Offset of field: ",
10932            stringify!(libraw_metadata_common_t),
10933            "::",
10934            stringify!(exifAmbientTemperature)
10935        )
10936    );
10937    assert_eq!(
10938        unsafe {
10939            &(*(::core::ptr::null::<libraw_metadata_common_t>())).exifHumidity as *const _ as usize
10940        },
10941        36usize,
10942        concat!(
10943            "Offset of field: ",
10944            stringify!(libraw_metadata_common_t),
10945            "::",
10946            stringify!(exifHumidity)
10947        )
10948    );
10949    assert_eq!(
10950        unsafe {
10951            &(*(::core::ptr::null::<libraw_metadata_common_t>())).exifPressure as *const _ as usize
10952        },
10953        40usize,
10954        concat!(
10955            "Offset of field: ",
10956            stringify!(libraw_metadata_common_t),
10957            "::",
10958            stringify!(exifPressure)
10959        )
10960    );
10961    assert_eq!(
10962        unsafe {
10963            &(*(::core::ptr::null::<libraw_metadata_common_t>())).exifWaterDepth as *const _
10964                as usize
10965        },
10966        44usize,
10967        concat!(
10968            "Offset of field: ",
10969            stringify!(libraw_metadata_common_t),
10970            "::",
10971            stringify!(exifWaterDepth)
10972        )
10973    );
10974    assert_eq!(
10975        unsafe {
10976            &(*(::core::ptr::null::<libraw_metadata_common_t>())).exifAcceleration as *const _
10977                as usize
10978        },
10979        48usize,
10980        concat!(
10981            "Offset of field: ",
10982            stringify!(libraw_metadata_common_t),
10983            "::",
10984            stringify!(exifAcceleration)
10985        )
10986    );
10987    assert_eq!(
10988        unsafe {
10989            &(*(::core::ptr::null::<libraw_metadata_common_t>())).exifCameraElevationAngle
10990                as *const _ as usize
10991        },
10992        52usize,
10993        concat!(
10994            "Offset of field: ",
10995            stringify!(libraw_metadata_common_t),
10996            "::",
10997            stringify!(exifCameraElevationAngle)
10998        )
10999    );
11000    assert_eq!(
11001        unsafe {
11002            &(*(::core::ptr::null::<libraw_metadata_common_t>())).real_ISO as *const _ as usize
11003        },
11004        56usize,
11005        concat!(
11006            "Offset of field: ",
11007            stringify!(libraw_metadata_common_t),
11008            "::",
11009            stringify!(real_ISO)
11010        )
11011    );
11012    assert_eq!(
11013        unsafe {
11014            &(*(::core::ptr::null::<libraw_metadata_common_t>())).exifExposureIndex as *const _
11015                as usize
11016        },
11017        60usize,
11018        concat!(
11019            "Offset of field: ",
11020            stringify!(libraw_metadata_common_t),
11021            "::",
11022            stringify!(exifExposureIndex)
11023        )
11024    );
11025    assert_eq!(
11026        unsafe {
11027            &(*(::core::ptr::null::<libraw_metadata_common_t>())).ColorSpace as *const _ as usize
11028        },
11029        64usize,
11030        concat!(
11031            "Offset of field: ",
11032            stringify!(libraw_metadata_common_t),
11033            "::",
11034            stringify!(ColorSpace)
11035        )
11036    );
11037    assert_eq!(
11038        unsafe {
11039            &(*(::core::ptr::null::<libraw_metadata_common_t>())).firmware as *const _ as usize
11040        },
11041        66usize,
11042        concat!(
11043            "Offset of field: ",
11044            stringify!(libraw_metadata_common_t),
11045            "::",
11046            stringify!(firmware)
11047        )
11048    );
11049}
11050#[repr(C)]
11051#[derive(Debug, Copy, Clone, PartialEq)]
11052pub struct libraw_output_params_t {
11053    pub greybox: [libc::c_uint; 4usize],
11054    pub cropbox: [libc::c_uint; 4usize],
11055    pub aber: [f64; 4usize],
11056    pub gamm: [f64; 6usize],
11057    pub user_mul: [f32; 4usize],
11058    pub shot_select: libc::c_uint,
11059    pub bright: f32,
11060    pub threshold: f32,
11061    pub half_size: libc::c_int,
11062    pub four_color_rgb: libc::c_int,
11063    pub highlight: libc::c_int,
11064    pub use_auto_wb: libc::c_int,
11065    pub use_camera_wb: libc::c_int,
11066    pub use_camera_matrix: libc::c_int,
11067    pub output_color: libc::c_int,
11068    pub output_profile: *mut libc::c_char,
11069    pub camera_profile: *mut libc::c_char,
11070    pub bad_pixels: *mut libc::c_char,
11071    pub dark_frame: *mut libc::c_char,
11072    pub output_bps: libc::c_int,
11073    pub output_tiff: libc::c_int,
11074    pub user_flip: libc::c_int,
11075    pub user_qual: libc::c_int,
11076    pub user_black: libc::c_int,
11077    pub user_cblack: [libc::c_int; 4usize],
11078    pub user_sat: libc::c_int,
11079    pub med_passes: libc::c_int,
11080    pub auto_bright_thr: f32,
11081    pub adjust_maximum_thr: f32,
11082    pub no_auto_bright: libc::c_int,
11083    pub use_fuji_rotate: libc::c_int,
11084    pub green_matching: libc::c_int,
11085    pub dcb_iterations: libc::c_int,
11086    pub dcb_enhance_fl: libc::c_int,
11087    pub fbdd_noiserd: libc::c_int,
11088    pub exp_correc: libc::c_int,
11089    pub exp_shift: f32,
11090    pub exp_preser: f32,
11091    pub use_rawspeed: libc::c_int,
11092    pub use_dngsdk: libc::c_int,
11093    pub no_auto_scale: libc::c_int,
11094    pub no_interpolation: libc::c_int,
11095    pub raw_processing_options: libc::c_uint,
11096    pub max_raw_memory_mb: libc::c_uint,
11097    pub sony_arw2_posterization_thr: libc::c_int,
11098    pub coolscan_nef_gamma: f32,
11099    pub p4shot_order: [libc::c_char; 5usize],
11100    pub custom_camera_strings: *mut *mut libc::c_char,
11101}
11102#[test]
11103fn bindgen_test_layout_libraw_output_params_t() {
11104    assert_eq!(
11105        ::core::mem::size_of::<libraw_output_params_t>(),
11106        336usize,
11107        concat!("Size of: ", stringify!(libraw_output_params_t))
11108    );
11109    assert_eq!(
11110        ::core::mem::align_of::<libraw_output_params_t>(),
11111        8usize,
11112        concat!("Alignment of ", stringify!(libraw_output_params_t))
11113    );
11114    assert_eq!(
11115        unsafe { &(*(::core::ptr::null::<libraw_output_params_t>())).greybox as *const _ as usize },
11116        0usize,
11117        concat!(
11118            "Offset of field: ",
11119            stringify!(libraw_output_params_t),
11120            "::",
11121            stringify!(greybox)
11122        )
11123    );
11124    assert_eq!(
11125        unsafe { &(*(::core::ptr::null::<libraw_output_params_t>())).cropbox as *const _ as usize },
11126        16usize,
11127        concat!(
11128            "Offset of field: ",
11129            stringify!(libraw_output_params_t),
11130            "::",
11131            stringify!(cropbox)
11132        )
11133    );
11134    assert_eq!(
11135        unsafe { &(*(::core::ptr::null::<libraw_output_params_t>())).aber as *const _ as usize },
11136        32usize,
11137        concat!(
11138            "Offset of field: ",
11139            stringify!(libraw_output_params_t),
11140            "::",
11141            stringify!(aber)
11142        )
11143    );
11144    assert_eq!(
11145        unsafe { &(*(::core::ptr::null::<libraw_output_params_t>())).gamm as *const _ as usize },
11146        64usize,
11147        concat!(
11148            "Offset of field: ",
11149            stringify!(libraw_output_params_t),
11150            "::",
11151            stringify!(gamm)
11152        )
11153    );
11154    assert_eq!(
11155        unsafe {
11156            &(*(::core::ptr::null::<libraw_output_params_t>())).user_mul as *const _ as usize
11157        },
11158        112usize,
11159        concat!(
11160            "Offset of field: ",
11161            stringify!(libraw_output_params_t),
11162            "::",
11163            stringify!(user_mul)
11164        )
11165    );
11166    assert_eq!(
11167        unsafe {
11168            &(*(::core::ptr::null::<libraw_output_params_t>())).shot_select as *const _ as usize
11169        },
11170        128usize,
11171        concat!(
11172            "Offset of field: ",
11173            stringify!(libraw_output_params_t),
11174            "::",
11175            stringify!(shot_select)
11176        )
11177    );
11178    assert_eq!(
11179        unsafe { &(*(::core::ptr::null::<libraw_output_params_t>())).bright as *const _ as usize },
11180        132usize,
11181        concat!(
11182            "Offset of field: ",
11183            stringify!(libraw_output_params_t),
11184            "::",
11185            stringify!(bright)
11186        )
11187    );
11188    assert_eq!(
11189        unsafe {
11190            &(*(::core::ptr::null::<libraw_output_params_t>())).threshold as *const _ as usize
11191        },
11192        136usize,
11193        concat!(
11194            "Offset of field: ",
11195            stringify!(libraw_output_params_t),
11196            "::",
11197            stringify!(threshold)
11198        )
11199    );
11200    assert_eq!(
11201        unsafe {
11202            &(*(::core::ptr::null::<libraw_output_params_t>())).half_size as *const _ as usize
11203        },
11204        140usize,
11205        concat!(
11206            "Offset of field: ",
11207            stringify!(libraw_output_params_t),
11208            "::",
11209            stringify!(half_size)
11210        )
11211    );
11212    assert_eq!(
11213        unsafe {
11214            &(*(::core::ptr::null::<libraw_output_params_t>())).four_color_rgb as *const _ as usize
11215        },
11216        144usize,
11217        concat!(
11218            "Offset of field: ",
11219            stringify!(libraw_output_params_t),
11220            "::",
11221            stringify!(four_color_rgb)
11222        )
11223    );
11224    assert_eq!(
11225        unsafe {
11226            &(*(::core::ptr::null::<libraw_output_params_t>())).highlight as *const _ as usize
11227        },
11228        148usize,
11229        concat!(
11230            "Offset of field: ",
11231            stringify!(libraw_output_params_t),
11232            "::",
11233            stringify!(highlight)
11234        )
11235    );
11236    assert_eq!(
11237        unsafe {
11238            &(*(::core::ptr::null::<libraw_output_params_t>())).use_auto_wb as *const _ as usize
11239        },
11240        152usize,
11241        concat!(
11242            "Offset of field: ",
11243            stringify!(libraw_output_params_t),
11244            "::",
11245            stringify!(use_auto_wb)
11246        )
11247    );
11248    assert_eq!(
11249        unsafe {
11250            &(*(::core::ptr::null::<libraw_output_params_t>())).use_camera_wb as *const _ as usize
11251        },
11252        156usize,
11253        concat!(
11254            "Offset of field: ",
11255            stringify!(libraw_output_params_t),
11256            "::",
11257            stringify!(use_camera_wb)
11258        )
11259    );
11260    assert_eq!(
11261        unsafe {
11262            &(*(::core::ptr::null::<libraw_output_params_t>())).use_camera_matrix as *const _
11263                as usize
11264        },
11265        160usize,
11266        concat!(
11267            "Offset of field: ",
11268            stringify!(libraw_output_params_t),
11269            "::",
11270            stringify!(use_camera_matrix)
11271        )
11272    );
11273    assert_eq!(
11274        unsafe {
11275            &(*(::core::ptr::null::<libraw_output_params_t>())).output_color as *const _ as usize
11276        },
11277        164usize,
11278        concat!(
11279            "Offset of field: ",
11280            stringify!(libraw_output_params_t),
11281            "::",
11282            stringify!(output_color)
11283        )
11284    );
11285    assert_eq!(
11286        unsafe {
11287            &(*(::core::ptr::null::<libraw_output_params_t>())).output_profile as *const _ as usize
11288        },
11289        168usize,
11290        concat!(
11291            "Offset of field: ",
11292            stringify!(libraw_output_params_t),
11293            "::",
11294            stringify!(output_profile)
11295        )
11296    );
11297    assert_eq!(
11298        unsafe {
11299            &(*(::core::ptr::null::<libraw_output_params_t>())).camera_profile as *const _ as usize
11300        },
11301        176usize,
11302        concat!(
11303            "Offset of field: ",
11304            stringify!(libraw_output_params_t),
11305            "::",
11306            stringify!(camera_profile)
11307        )
11308    );
11309    assert_eq!(
11310        unsafe {
11311            &(*(::core::ptr::null::<libraw_output_params_t>())).bad_pixels as *const _ as usize
11312        },
11313        184usize,
11314        concat!(
11315            "Offset of field: ",
11316            stringify!(libraw_output_params_t),
11317            "::",
11318            stringify!(bad_pixels)
11319        )
11320    );
11321    assert_eq!(
11322        unsafe {
11323            &(*(::core::ptr::null::<libraw_output_params_t>())).dark_frame as *const _ as usize
11324        },
11325        192usize,
11326        concat!(
11327            "Offset of field: ",
11328            stringify!(libraw_output_params_t),
11329            "::",
11330            stringify!(dark_frame)
11331        )
11332    );
11333    assert_eq!(
11334        unsafe {
11335            &(*(::core::ptr::null::<libraw_output_params_t>())).output_bps as *const _ as usize
11336        },
11337        200usize,
11338        concat!(
11339            "Offset of field: ",
11340            stringify!(libraw_output_params_t),
11341            "::",
11342            stringify!(output_bps)
11343        )
11344    );
11345    assert_eq!(
11346        unsafe {
11347            &(*(::core::ptr::null::<libraw_output_params_t>())).output_tiff as *const _ as usize
11348        },
11349        204usize,
11350        concat!(
11351            "Offset of field: ",
11352            stringify!(libraw_output_params_t),
11353            "::",
11354            stringify!(output_tiff)
11355        )
11356    );
11357    assert_eq!(
11358        unsafe {
11359            &(*(::core::ptr::null::<libraw_output_params_t>())).user_flip as *const _ as usize
11360        },
11361        208usize,
11362        concat!(
11363            "Offset of field: ",
11364            stringify!(libraw_output_params_t),
11365            "::",
11366            stringify!(user_flip)
11367        )
11368    );
11369    assert_eq!(
11370        unsafe {
11371            &(*(::core::ptr::null::<libraw_output_params_t>())).user_qual as *const _ as usize
11372        },
11373        212usize,
11374        concat!(
11375            "Offset of field: ",
11376            stringify!(libraw_output_params_t),
11377            "::",
11378            stringify!(user_qual)
11379        )
11380    );
11381    assert_eq!(
11382        unsafe {
11383            &(*(::core::ptr::null::<libraw_output_params_t>())).user_black as *const _ as usize
11384        },
11385        216usize,
11386        concat!(
11387            "Offset of field: ",
11388            stringify!(libraw_output_params_t),
11389            "::",
11390            stringify!(user_black)
11391        )
11392    );
11393    assert_eq!(
11394        unsafe {
11395            &(*(::core::ptr::null::<libraw_output_params_t>())).user_cblack as *const _ as usize
11396        },
11397        220usize,
11398        concat!(
11399            "Offset of field: ",
11400            stringify!(libraw_output_params_t),
11401            "::",
11402            stringify!(user_cblack)
11403        )
11404    );
11405    assert_eq!(
11406        unsafe {
11407            &(*(::core::ptr::null::<libraw_output_params_t>())).user_sat as *const _ as usize
11408        },
11409        236usize,
11410        concat!(
11411            "Offset of field: ",
11412            stringify!(libraw_output_params_t),
11413            "::",
11414            stringify!(user_sat)
11415        )
11416    );
11417    assert_eq!(
11418        unsafe {
11419            &(*(::core::ptr::null::<libraw_output_params_t>())).med_passes as *const _ as usize
11420        },
11421        240usize,
11422        concat!(
11423            "Offset of field: ",
11424            stringify!(libraw_output_params_t),
11425            "::",
11426            stringify!(med_passes)
11427        )
11428    );
11429    assert_eq!(
11430        unsafe {
11431            &(*(::core::ptr::null::<libraw_output_params_t>())).auto_bright_thr as *const _ as usize
11432        },
11433        244usize,
11434        concat!(
11435            "Offset of field: ",
11436            stringify!(libraw_output_params_t),
11437            "::",
11438            stringify!(auto_bright_thr)
11439        )
11440    );
11441    assert_eq!(
11442        unsafe {
11443            &(*(::core::ptr::null::<libraw_output_params_t>())).adjust_maximum_thr as *const _
11444                as usize
11445        },
11446        248usize,
11447        concat!(
11448            "Offset of field: ",
11449            stringify!(libraw_output_params_t),
11450            "::",
11451            stringify!(adjust_maximum_thr)
11452        )
11453    );
11454    assert_eq!(
11455        unsafe {
11456            &(*(::core::ptr::null::<libraw_output_params_t>())).no_auto_bright as *const _ as usize
11457        },
11458        252usize,
11459        concat!(
11460            "Offset of field: ",
11461            stringify!(libraw_output_params_t),
11462            "::",
11463            stringify!(no_auto_bright)
11464        )
11465    );
11466    assert_eq!(
11467        unsafe {
11468            &(*(::core::ptr::null::<libraw_output_params_t>())).use_fuji_rotate as *const _ as usize
11469        },
11470        256usize,
11471        concat!(
11472            "Offset of field: ",
11473            stringify!(libraw_output_params_t),
11474            "::",
11475            stringify!(use_fuji_rotate)
11476        )
11477    );
11478    assert_eq!(
11479        unsafe {
11480            &(*(::core::ptr::null::<libraw_output_params_t>())).green_matching as *const _ as usize
11481        },
11482        260usize,
11483        concat!(
11484            "Offset of field: ",
11485            stringify!(libraw_output_params_t),
11486            "::",
11487            stringify!(green_matching)
11488        )
11489    );
11490    assert_eq!(
11491        unsafe {
11492            &(*(::core::ptr::null::<libraw_output_params_t>())).dcb_iterations as *const _ as usize
11493        },
11494        264usize,
11495        concat!(
11496            "Offset of field: ",
11497            stringify!(libraw_output_params_t),
11498            "::",
11499            stringify!(dcb_iterations)
11500        )
11501    );
11502    assert_eq!(
11503        unsafe {
11504            &(*(::core::ptr::null::<libraw_output_params_t>())).dcb_enhance_fl as *const _ as usize
11505        },
11506        268usize,
11507        concat!(
11508            "Offset of field: ",
11509            stringify!(libraw_output_params_t),
11510            "::",
11511            stringify!(dcb_enhance_fl)
11512        )
11513    );
11514    assert_eq!(
11515        unsafe {
11516            &(*(::core::ptr::null::<libraw_output_params_t>())).fbdd_noiserd as *const _ as usize
11517        },
11518        272usize,
11519        concat!(
11520            "Offset of field: ",
11521            stringify!(libraw_output_params_t),
11522            "::",
11523            stringify!(fbdd_noiserd)
11524        )
11525    );
11526    assert_eq!(
11527        unsafe {
11528            &(*(::core::ptr::null::<libraw_output_params_t>())).exp_correc as *const _ as usize
11529        },
11530        276usize,
11531        concat!(
11532            "Offset of field: ",
11533            stringify!(libraw_output_params_t),
11534            "::",
11535            stringify!(exp_correc)
11536        )
11537    );
11538    assert_eq!(
11539        unsafe {
11540            &(*(::core::ptr::null::<libraw_output_params_t>())).exp_shift as *const _ as usize
11541        },
11542        280usize,
11543        concat!(
11544            "Offset of field: ",
11545            stringify!(libraw_output_params_t),
11546            "::",
11547            stringify!(exp_shift)
11548        )
11549    );
11550    assert_eq!(
11551        unsafe {
11552            &(*(::core::ptr::null::<libraw_output_params_t>())).exp_preser as *const _ as usize
11553        },
11554        284usize,
11555        concat!(
11556            "Offset of field: ",
11557            stringify!(libraw_output_params_t),
11558            "::",
11559            stringify!(exp_preser)
11560        )
11561    );
11562    assert_eq!(
11563        unsafe {
11564            &(*(::core::ptr::null::<libraw_output_params_t>())).use_rawspeed as *const _ as usize
11565        },
11566        288usize,
11567        concat!(
11568            "Offset of field: ",
11569            stringify!(libraw_output_params_t),
11570            "::",
11571            stringify!(use_rawspeed)
11572        )
11573    );
11574    assert_eq!(
11575        unsafe {
11576            &(*(::core::ptr::null::<libraw_output_params_t>())).use_dngsdk as *const _ as usize
11577        },
11578        292usize,
11579        concat!(
11580            "Offset of field: ",
11581            stringify!(libraw_output_params_t),
11582            "::",
11583            stringify!(use_dngsdk)
11584        )
11585    );
11586    assert_eq!(
11587        unsafe {
11588            &(*(::core::ptr::null::<libraw_output_params_t>())).no_auto_scale as *const _ as usize
11589        },
11590        296usize,
11591        concat!(
11592            "Offset of field: ",
11593            stringify!(libraw_output_params_t),
11594            "::",
11595            stringify!(no_auto_scale)
11596        )
11597    );
11598    assert_eq!(
11599        unsafe {
11600            &(*(::core::ptr::null::<libraw_output_params_t>())).no_interpolation as *const _
11601                as usize
11602        },
11603        300usize,
11604        concat!(
11605            "Offset of field: ",
11606            stringify!(libraw_output_params_t),
11607            "::",
11608            stringify!(no_interpolation)
11609        )
11610    );
11611    assert_eq!(
11612        unsafe {
11613            &(*(::core::ptr::null::<libraw_output_params_t>())).raw_processing_options as *const _
11614                as usize
11615        },
11616        304usize,
11617        concat!(
11618            "Offset of field: ",
11619            stringify!(libraw_output_params_t),
11620            "::",
11621            stringify!(raw_processing_options)
11622        )
11623    );
11624    assert_eq!(
11625        unsafe {
11626            &(*(::core::ptr::null::<libraw_output_params_t>())).max_raw_memory_mb as *const _
11627                as usize
11628        },
11629        308usize,
11630        concat!(
11631            "Offset of field: ",
11632            stringify!(libraw_output_params_t),
11633            "::",
11634            stringify!(max_raw_memory_mb)
11635        )
11636    );
11637    assert_eq!(
11638        unsafe {
11639            &(*(::core::ptr::null::<libraw_output_params_t>())).sony_arw2_posterization_thr
11640                as *const _ as usize
11641        },
11642        312usize,
11643        concat!(
11644            "Offset of field: ",
11645            stringify!(libraw_output_params_t),
11646            "::",
11647            stringify!(sony_arw2_posterization_thr)
11648        )
11649    );
11650    assert_eq!(
11651        unsafe {
11652            &(*(::core::ptr::null::<libraw_output_params_t>())).coolscan_nef_gamma as *const _
11653                as usize
11654        },
11655        316usize,
11656        concat!(
11657            "Offset of field: ",
11658            stringify!(libraw_output_params_t),
11659            "::",
11660            stringify!(coolscan_nef_gamma)
11661        )
11662    );
11663    assert_eq!(
11664        unsafe {
11665            &(*(::core::ptr::null::<libraw_output_params_t>())).p4shot_order as *const _ as usize
11666        },
11667        320usize,
11668        concat!(
11669            "Offset of field: ",
11670            stringify!(libraw_output_params_t),
11671            "::",
11672            stringify!(p4shot_order)
11673        )
11674    );
11675    assert_eq!(
11676        unsafe {
11677            &(*(::core::ptr::null::<libraw_output_params_t>())).custom_camera_strings as *const _
11678                as usize
11679        },
11680        328usize,
11681        concat!(
11682            "Offset of field: ",
11683            stringify!(libraw_output_params_t),
11684            "::",
11685            stringify!(custom_camera_strings)
11686        )
11687    );
11688}
11689#[repr(C)]
11690#[derive(Copy, Clone)]
11691pub struct libraw_rawdata_t {
11692    pub raw_alloc: *mut libc::c_void,
11693    pub raw_image: *mut ushort,
11694    pub color4_image: *mut [ushort; 4usize],
11695    pub color3_image: *mut [ushort; 3usize],
11696    pub float_image: *mut f32,
11697    pub float3_image: *mut [f32; 3usize],
11698    pub float4_image: *mut [f32; 4usize],
11699    pub ph1_cblack: *mut [libc::c_short; 2usize],
11700    pub ph1_rblack: *mut [libc::c_short; 2usize],
11701    pub iparams: libraw_iparams_t,
11702    pub sizes: libraw_image_sizes_t,
11703    pub ioparams: libraw_internal_output_params_t,
11704    pub color: libraw_colordata_t,
11705}
11706#[test]
11707fn bindgen_test_layout_libraw_rawdata_t() {
11708    assert_eq!(
11709        ::core::mem::size_of::<libraw_rawdata_t>(),
11710        187744usize,
11711        concat!("Size of: ", stringify!(libraw_rawdata_t))
11712    );
11713    assert_eq!(
11714        ::core::mem::align_of::<libraw_rawdata_t>(),
11715        8usize,
11716        concat!("Alignment of ", stringify!(libraw_rawdata_t))
11717    );
11718    assert_eq!(
11719        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).raw_alloc as *const _ as usize },
11720        0usize,
11721        concat!(
11722            "Offset of field: ",
11723            stringify!(libraw_rawdata_t),
11724            "::",
11725            stringify!(raw_alloc)
11726        )
11727    );
11728    assert_eq!(
11729        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).raw_image as *const _ as usize },
11730        8usize,
11731        concat!(
11732            "Offset of field: ",
11733            stringify!(libraw_rawdata_t),
11734            "::",
11735            stringify!(raw_image)
11736        )
11737    );
11738    assert_eq!(
11739        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).color4_image as *const _ as usize },
11740        16usize,
11741        concat!(
11742            "Offset of field: ",
11743            stringify!(libraw_rawdata_t),
11744            "::",
11745            stringify!(color4_image)
11746        )
11747    );
11748    assert_eq!(
11749        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).color3_image as *const _ as usize },
11750        24usize,
11751        concat!(
11752            "Offset of field: ",
11753            stringify!(libraw_rawdata_t),
11754            "::",
11755            stringify!(color3_image)
11756        )
11757    );
11758    assert_eq!(
11759        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).float_image as *const _ as usize },
11760        32usize,
11761        concat!(
11762            "Offset of field: ",
11763            stringify!(libraw_rawdata_t),
11764            "::",
11765            stringify!(float_image)
11766        )
11767    );
11768    assert_eq!(
11769        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).float3_image as *const _ as usize },
11770        40usize,
11771        concat!(
11772            "Offset of field: ",
11773            stringify!(libraw_rawdata_t),
11774            "::",
11775            stringify!(float3_image)
11776        )
11777    );
11778    assert_eq!(
11779        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).float4_image as *const _ as usize },
11780        48usize,
11781        concat!(
11782            "Offset of field: ",
11783            stringify!(libraw_rawdata_t),
11784            "::",
11785            stringify!(float4_image)
11786        )
11787    );
11788    assert_eq!(
11789        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).ph1_cblack as *const _ as usize },
11790        56usize,
11791        concat!(
11792            "Offset of field: ",
11793            stringify!(libraw_rawdata_t),
11794            "::",
11795            stringify!(ph1_cblack)
11796        )
11797    );
11798    assert_eq!(
11799        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).ph1_rblack as *const _ as usize },
11800        64usize,
11801        concat!(
11802            "Offset of field: ",
11803            stringify!(libraw_rawdata_t),
11804            "::",
11805            stringify!(ph1_rblack)
11806        )
11807    );
11808    assert_eq!(
11809        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).iparams as *const _ as usize },
11810        72usize,
11811        concat!(
11812            "Offset of field: ",
11813            stringify!(libraw_rawdata_t),
11814            "::",
11815            stringify!(iparams)
11816        )
11817    );
11818    assert_eq!(
11819        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).sizes as *const _ as usize },
11820        512usize,
11821        concat!(
11822            "Offset of field: ",
11823            stringify!(libraw_rawdata_t),
11824            "::",
11825            stringify!(sizes)
11826        )
11827    );
11828    assert_eq!(
11829        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).ioparams as *const _ as usize },
11830        688usize,
11831        concat!(
11832            "Offset of field: ",
11833            stringify!(libraw_rawdata_t),
11834            "::",
11835            stringify!(ioparams)
11836        )
11837    );
11838    assert_eq!(
11839        unsafe { &(*(::core::ptr::null::<libraw_rawdata_t>())).color as *const _ as usize },
11840        704usize,
11841        concat!(
11842            "Offset of field: ",
11843            stringify!(libraw_rawdata_t),
11844            "::",
11845            stringify!(color)
11846        )
11847    );
11848}
11849#[repr(C)]
11850#[derive(Copy, Clone)]
11851pub struct libraw_makernotes_lens_t {
11852    pub LensID: libc::c_ulonglong,
11853    pub Lens: [libc::c_char; 128usize],
11854    pub LensFormat: ushort,
11855    pub LensMount: ushort,
11856    pub CamID: libc::c_ulonglong,
11857    pub CameraFormat: ushort,
11858    pub CameraMount: ushort,
11859    pub body: [libc::c_char; 64usize],
11860    pub FocalType: libc::c_short,
11861    pub LensFeatures_pre: [libc::c_char; 16usize],
11862    pub LensFeatures_suf: [libc::c_char; 16usize],
11863    pub MinFocal: f32,
11864    pub MaxFocal: f32,
11865    pub MaxAp4MinFocal: f32,
11866    pub MaxAp4MaxFocal: f32,
11867    pub MinAp4MinFocal: f32,
11868    pub MinAp4MaxFocal: f32,
11869    pub MaxAp: f32,
11870    pub MinAp: f32,
11871    pub CurFocal: f32,
11872    pub CurAp: f32,
11873    pub MaxAp4CurFocal: f32,
11874    pub MinAp4CurFocal: f32,
11875    pub MinFocusDistance: f32,
11876    pub FocusRangeIndex: f32,
11877    pub LensFStops: f32,
11878    pub TeleconverterID: libc::c_ulonglong,
11879    pub Teleconverter: [libc::c_char; 128usize],
11880    pub AdapterID: libc::c_ulonglong,
11881    pub Adapter: [libc::c_char; 128usize],
11882    pub AttachmentID: libc::c_ulonglong,
11883    pub Attachment: [libc::c_char; 128usize],
11884    pub FocalUnits: ushort,
11885    pub FocalLengthIn35mmFormat: f32,
11886}
11887#[test]
11888fn bindgen_test_layout_libraw_makernotes_lens_t() {
11889    assert_eq!(
11890        ::core::mem::size_of::<libraw_makernotes_lens_t>(),
11891        736usize,
11892        concat!("Size of: ", stringify!(libraw_makernotes_lens_t))
11893    );
11894    assert_eq!(
11895        ::core::mem::align_of::<libraw_makernotes_lens_t>(),
11896        8usize,
11897        concat!("Alignment of ", stringify!(libraw_makernotes_lens_t))
11898    );
11899    assert_eq!(
11900        unsafe {
11901            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).LensID as *const _ as usize
11902        },
11903        0usize,
11904        concat!(
11905            "Offset of field: ",
11906            stringify!(libraw_makernotes_lens_t),
11907            "::",
11908            stringify!(LensID)
11909        )
11910    );
11911    assert_eq!(
11912        unsafe { &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).Lens as *const _ as usize },
11913        8usize,
11914        concat!(
11915            "Offset of field: ",
11916            stringify!(libraw_makernotes_lens_t),
11917            "::",
11918            stringify!(Lens)
11919        )
11920    );
11921    assert_eq!(
11922        unsafe {
11923            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).LensFormat as *const _ as usize
11924        },
11925        136usize,
11926        concat!(
11927            "Offset of field: ",
11928            stringify!(libraw_makernotes_lens_t),
11929            "::",
11930            stringify!(LensFormat)
11931        )
11932    );
11933    assert_eq!(
11934        unsafe {
11935            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).LensMount as *const _ as usize
11936        },
11937        138usize,
11938        concat!(
11939            "Offset of field: ",
11940            stringify!(libraw_makernotes_lens_t),
11941            "::",
11942            stringify!(LensMount)
11943        )
11944    );
11945    assert_eq!(
11946        unsafe { &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).CamID as *const _ as usize },
11947        144usize,
11948        concat!(
11949            "Offset of field: ",
11950            stringify!(libraw_makernotes_lens_t),
11951            "::",
11952            stringify!(CamID)
11953        )
11954    );
11955    assert_eq!(
11956        unsafe {
11957            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).CameraFormat as *const _ as usize
11958        },
11959        152usize,
11960        concat!(
11961            "Offset of field: ",
11962            stringify!(libraw_makernotes_lens_t),
11963            "::",
11964            stringify!(CameraFormat)
11965        )
11966    );
11967    assert_eq!(
11968        unsafe {
11969            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).CameraMount as *const _ as usize
11970        },
11971        154usize,
11972        concat!(
11973            "Offset of field: ",
11974            stringify!(libraw_makernotes_lens_t),
11975            "::",
11976            stringify!(CameraMount)
11977        )
11978    );
11979    assert_eq!(
11980        unsafe { &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).body as *const _ as usize },
11981        156usize,
11982        concat!(
11983            "Offset of field: ",
11984            stringify!(libraw_makernotes_lens_t),
11985            "::",
11986            stringify!(body)
11987        )
11988    );
11989    assert_eq!(
11990        unsafe {
11991            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).FocalType as *const _ as usize
11992        },
11993        220usize,
11994        concat!(
11995            "Offset of field: ",
11996            stringify!(libraw_makernotes_lens_t),
11997            "::",
11998            stringify!(FocalType)
11999        )
12000    );
12001    assert_eq!(
12002        unsafe {
12003            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).LensFeatures_pre as *const _
12004                as usize
12005        },
12006        222usize,
12007        concat!(
12008            "Offset of field: ",
12009            stringify!(libraw_makernotes_lens_t),
12010            "::",
12011            stringify!(LensFeatures_pre)
12012        )
12013    );
12014    assert_eq!(
12015        unsafe {
12016            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).LensFeatures_suf as *const _
12017                as usize
12018        },
12019        238usize,
12020        concat!(
12021            "Offset of field: ",
12022            stringify!(libraw_makernotes_lens_t),
12023            "::",
12024            stringify!(LensFeatures_suf)
12025        )
12026    );
12027    assert_eq!(
12028        unsafe {
12029            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MinFocal as *const _ as usize
12030        },
12031        256usize,
12032        concat!(
12033            "Offset of field: ",
12034            stringify!(libraw_makernotes_lens_t),
12035            "::",
12036            stringify!(MinFocal)
12037        )
12038    );
12039    assert_eq!(
12040        unsafe {
12041            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MaxFocal as *const _ as usize
12042        },
12043        260usize,
12044        concat!(
12045            "Offset of field: ",
12046            stringify!(libraw_makernotes_lens_t),
12047            "::",
12048            stringify!(MaxFocal)
12049        )
12050    );
12051    assert_eq!(
12052        unsafe {
12053            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MaxAp4MinFocal as *const _
12054                as usize
12055        },
12056        264usize,
12057        concat!(
12058            "Offset of field: ",
12059            stringify!(libraw_makernotes_lens_t),
12060            "::",
12061            stringify!(MaxAp4MinFocal)
12062        )
12063    );
12064    assert_eq!(
12065        unsafe {
12066            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MaxAp4MaxFocal as *const _
12067                as usize
12068        },
12069        268usize,
12070        concat!(
12071            "Offset of field: ",
12072            stringify!(libraw_makernotes_lens_t),
12073            "::",
12074            stringify!(MaxAp4MaxFocal)
12075        )
12076    );
12077    assert_eq!(
12078        unsafe {
12079            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MinAp4MinFocal as *const _
12080                as usize
12081        },
12082        272usize,
12083        concat!(
12084            "Offset of field: ",
12085            stringify!(libraw_makernotes_lens_t),
12086            "::",
12087            stringify!(MinAp4MinFocal)
12088        )
12089    );
12090    assert_eq!(
12091        unsafe {
12092            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MinAp4MaxFocal as *const _
12093                as usize
12094        },
12095        276usize,
12096        concat!(
12097            "Offset of field: ",
12098            stringify!(libraw_makernotes_lens_t),
12099            "::",
12100            stringify!(MinAp4MaxFocal)
12101        )
12102    );
12103    assert_eq!(
12104        unsafe { &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MaxAp as *const _ as usize },
12105        280usize,
12106        concat!(
12107            "Offset of field: ",
12108            stringify!(libraw_makernotes_lens_t),
12109            "::",
12110            stringify!(MaxAp)
12111        )
12112    );
12113    assert_eq!(
12114        unsafe { &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MinAp as *const _ as usize },
12115        284usize,
12116        concat!(
12117            "Offset of field: ",
12118            stringify!(libraw_makernotes_lens_t),
12119            "::",
12120            stringify!(MinAp)
12121        )
12122    );
12123    assert_eq!(
12124        unsafe {
12125            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).CurFocal as *const _ as usize
12126        },
12127        288usize,
12128        concat!(
12129            "Offset of field: ",
12130            stringify!(libraw_makernotes_lens_t),
12131            "::",
12132            stringify!(CurFocal)
12133        )
12134    );
12135    assert_eq!(
12136        unsafe { &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).CurAp as *const _ as usize },
12137        292usize,
12138        concat!(
12139            "Offset of field: ",
12140            stringify!(libraw_makernotes_lens_t),
12141            "::",
12142            stringify!(CurAp)
12143        )
12144    );
12145    assert_eq!(
12146        unsafe {
12147            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MaxAp4CurFocal as *const _
12148                as usize
12149        },
12150        296usize,
12151        concat!(
12152            "Offset of field: ",
12153            stringify!(libraw_makernotes_lens_t),
12154            "::",
12155            stringify!(MaxAp4CurFocal)
12156        )
12157    );
12158    assert_eq!(
12159        unsafe {
12160            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MinAp4CurFocal as *const _
12161                as usize
12162        },
12163        300usize,
12164        concat!(
12165            "Offset of field: ",
12166            stringify!(libraw_makernotes_lens_t),
12167            "::",
12168            stringify!(MinAp4CurFocal)
12169        )
12170    );
12171    assert_eq!(
12172        unsafe {
12173            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).MinFocusDistance as *const _
12174                as usize
12175        },
12176        304usize,
12177        concat!(
12178            "Offset of field: ",
12179            stringify!(libraw_makernotes_lens_t),
12180            "::",
12181            stringify!(MinFocusDistance)
12182        )
12183    );
12184    assert_eq!(
12185        unsafe {
12186            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).FocusRangeIndex as *const _
12187                as usize
12188        },
12189        308usize,
12190        concat!(
12191            "Offset of field: ",
12192            stringify!(libraw_makernotes_lens_t),
12193            "::",
12194            stringify!(FocusRangeIndex)
12195        )
12196    );
12197    assert_eq!(
12198        unsafe {
12199            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).LensFStops as *const _ as usize
12200        },
12201        312usize,
12202        concat!(
12203            "Offset of field: ",
12204            stringify!(libraw_makernotes_lens_t),
12205            "::",
12206            stringify!(LensFStops)
12207        )
12208    );
12209    assert_eq!(
12210        unsafe {
12211            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).TeleconverterID as *const _
12212                as usize
12213        },
12214        320usize,
12215        concat!(
12216            "Offset of field: ",
12217            stringify!(libraw_makernotes_lens_t),
12218            "::",
12219            stringify!(TeleconverterID)
12220        )
12221    );
12222    assert_eq!(
12223        unsafe {
12224            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).Teleconverter as *const _ as usize
12225        },
12226        328usize,
12227        concat!(
12228            "Offset of field: ",
12229            stringify!(libraw_makernotes_lens_t),
12230            "::",
12231            stringify!(Teleconverter)
12232        )
12233    );
12234    assert_eq!(
12235        unsafe {
12236            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).AdapterID as *const _ as usize
12237        },
12238        456usize,
12239        concat!(
12240            "Offset of field: ",
12241            stringify!(libraw_makernotes_lens_t),
12242            "::",
12243            stringify!(AdapterID)
12244        )
12245    );
12246    assert_eq!(
12247        unsafe {
12248            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).Adapter as *const _ as usize
12249        },
12250        464usize,
12251        concat!(
12252            "Offset of field: ",
12253            stringify!(libraw_makernotes_lens_t),
12254            "::",
12255            stringify!(Adapter)
12256        )
12257    );
12258    assert_eq!(
12259        unsafe {
12260            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).AttachmentID as *const _ as usize
12261        },
12262        592usize,
12263        concat!(
12264            "Offset of field: ",
12265            stringify!(libraw_makernotes_lens_t),
12266            "::",
12267            stringify!(AttachmentID)
12268        )
12269    );
12270    assert_eq!(
12271        unsafe {
12272            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).Attachment as *const _ as usize
12273        },
12274        600usize,
12275        concat!(
12276            "Offset of field: ",
12277            stringify!(libraw_makernotes_lens_t),
12278            "::",
12279            stringify!(Attachment)
12280        )
12281    );
12282    assert_eq!(
12283        unsafe {
12284            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).FocalUnits as *const _ as usize
12285        },
12286        728usize,
12287        concat!(
12288            "Offset of field: ",
12289            stringify!(libraw_makernotes_lens_t),
12290            "::",
12291            stringify!(FocalUnits)
12292        )
12293    );
12294    assert_eq!(
12295        unsafe {
12296            &(*(::core::ptr::null::<libraw_makernotes_lens_t>())).FocalLengthIn35mmFormat
12297                as *const _ as usize
12298        },
12299        732usize,
12300        concat!(
12301            "Offset of field: ",
12302            stringify!(libraw_makernotes_lens_t),
12303            "::",
12304            stringify!(FocalLengthIn35mmFormat)
12305        )
12306    );
12307}
12308#[repr(C)]
12309#[derive(Debug, Copy, Clone, PartialEq)]
12310pub struct libraw_nikonlens_t {
12311    pub EffectiveMaxAp: f32,
12312    pub LensIDNumber: uchar,
12313    pub LensFStops: uchar,
12314    pub MCUVersion: uchar,
12315    pub LensType: uchar,
12316}
12317#[test]
12318fn bindgen_test_layout_libraw_nikonlens_t() {
12319    assert_eq!(
12320        ::core::mem::size_of::<libraw_nikonlens_t>(),
12321        8usize,
12322        concat!("Size of: ", stringify!(libraw_nikonlens_t))
12323    );
12324    assert_eq!(
12325        ::core::mem::align_of::<libraw_nikonlens_t>(),
12326        4usize,
12327        concat!("Alignment of ", stringify!(libraw_nikonlens_t))
12328    );
12329    assert_eq!(
12330        unsafe {
12331            &(*(::core::ptr::null::<libraw_nikonlens_t>())).EffectiveMaxAp as *const _ as usize
12332        },
12333        0usize,
12334        concat!(
12335            "Offset of field: ",
12336            stringify!(libraw_nikonlens_t),
12337            "::",
12338            stringify!(EffectiveMaxAp)
12339        )
12340    );
12341    assert_eq!(
12342        unsafe {
12343            &(*(::core::ptr::null::<libraw_nikonlens_t>())).LensIDNumber as *const _ as usize
12344        },
12345        4usize,
12346        concat!(
12347            "Offset of field: ",
12348            stringify!(libraw_nikonlens_t),
12349            "::",
12350            stringify!(LensIDNumber)
12351        )
12352    );
12353    assert_eq!(
12354        unsafe { &(*(::core::ptr::null::<libraw_nikonlens_t>())).LensFStops as *const _ as usize },
12355        5usize,
12356        concat!(
12357            "Offset of field: ",
12358            stringify!(libraw_nikonlens_t),
12359            "::",
12360            stringify!(LensFStops)
12361        )
12362    );
12363    assert_eq!(
12364        unsafe { &(*(::core::ptr::null::<libraw_nikonlens_t>())).MCUVersion as *const _ as usize },
12365        6usize,
12366        concat!(
12367            "Offset of field: ",
12368            stringify!(libraw_nikonlens_t),
12369            "::",
12370            stringify!(MCUVersion)
12371        )
12372    );
12373    assert_eq!(
12374        unsafe { &(*(::core::ptr::null::<libraw_nikonlens_t>())).LensType as *const _ as usize },
12375        7usize,
12376        concat!(
12377            "Offset of field: ",
12378            stringify!(libraw_nikonlens_t),
12379            "::",
12380            stringify!(LensType)
12381        )
12382    );
12383}
12384#[repr(C)]
12385#[derive(Debug, Copy, Clone, PartialEq)]
12386pub struct libraw_dnglens_t {
12387    pub MinFocal: f32,
12388    pub MaxFocal: f32,
12389    pub MaxAp4MinFocal: f32,
12390    pub MaxAp4MaxFocal: f32,
12391}
12392#[test]
12393fn bindgen_test_layout_libraw_dnglens_t() {
12394    assert_eq!(
12395        ::core::mem::size_of::<libraw_dnglens_t>(),
12396        16usize,
12397        concat!("Size of: ", stringify!(libraw_dnglens_t))
12398    );
12399    assert_eq!(
12400        ::core::mem::align_of::<libraw_dnglens_t>(),
12401        4usize,
12402        concat!("Alignment of ", stringify!(libraw_dnglens_t))
12403    );
12404    assert_eq!(
12405        unsafe { &(*(::core::ptr::null::<libraw_dnglens_t>())).MinFocal as *const _ as usize },
12406        0usize,
12407        concat!(
12408            "Offset of field: ",
12409            stringify!(libraw_dnglens_t),
12410            "::",
12411            stringify!(MinFocal)
12412        )
12413    );
12414    assert_eq!(
12415        unsafe { &(*(::core::ptr::null::<libraw_dnglens_t>())).MaxFocal as *const _ as usize },
12416        4usize,
12417        concat!(
12418            "Offset of field: ",
12419            stringify!(libraw_dnglens_t),
12420            "::",
12421            stringify!(MaxFocal)
12422        )
12423    );
12424    assert_eq!(
12425        unsafe {
12426            &(*(::core::ptr::null::<libraw_dnglens_t>())).MaxAp4MinFocal as *const _ as usize
12427        },
12428        8usize,
12429        concat!(
12430            "Offset of field: ",
12431            stringify!(libraw_dnglens_t),
12432            "::",
12433            stringify!(MaxAp4MinFocal)
12434        )
12435    );
12436    assert_eq!(
12437        unsafe {
12438            &(*(::core::ptr::null::<libraw_dnglens_t>())).MaxAp4MaxFocal as *const _ as usize
12439        },
12440        12usize,
12441        concat!(
12442            "Offset of field: ",
12443            stringify!(libraw_dnglens_t),
12444            "::",
12445            stringify!(MaxAp4MaxFocal)
12446        )
12447    );
12448}
12449#[repr(C)]
12450#[derive(Copy, Clone)]
12451pub struct libraw_lensinfo_t {
12452    pub MinFocal: f32,
12453    pub MaxFocal: f32,
12454    pub MaxAp4MinFocal: f32,
12455    pub MaxAp4MaxFocal: f32,
12456    pub EXIF_MaxAp: f32,
12457    pub LensMake: [libc::c_char; 128usize],
12458    pub Lens: [libc::c_char; 128usize],
12459    pub LensSerial: [libc::c_char; 128usize],
12460    pub InternalLensSerial: [libc::c_char; 128usize],
12461    pub FocalLengthIn35mmFormat: ushort,
12462    pub nikon: libraw_nikonlens_t,
12463    pub dng: libraw_dnglens_t,
12464    pub makernotes: libraw_makernotes_lens_t,
12465}
12466#[test]
12467fn bindgen_test_layout_libraw_lensinfo_t() {
12468    assert_eq!(
12469        ::core::mem::size_of::<libraw_lensinfo_t>(),
12470        1296usize,
12471        concat!("Size of: ", stringify!(libraw_lensinfo_t))
12472    );
12473    assert_eq!(
12474        ::core::mem::align_of::<libraw_lensinfo_t>(),
12475        8usize,
12476        concat!("Alignment of ", stringify!(libraw_lensinfo_t))
12477    );
12478    assert_eq!(
12479        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).MinFocal as *const _ as usize },
12480        0usize,
12481        concat!(
12482            "Offset of field: ",
12483            stringify!(libraw_lensinfo_t),
12484            "::",
12485            stringify!(MinFocal)
12486        )
12487    );
12488    assert_eq!(
12489        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).MaxFocal as *const _ as usize },
12490        4usize,
12491        concat!(
12492            "Offset of field: ",
12493            stringify!(libraw_lensinfo_t),
12494            "::",
12495            stringify!(MaxFocal)
12496        )
12497    );
12498    assert_eq!(
12499        unsafe {
12500            &(*(::core::ptr::null::<libraw_lensinfo_t>())).MaxAp4MinFocal as *const _ as usize
12501        },
12502        8usize,
12503        concat!(
12504            "Offset of field: ",
12505            stringify!(libraw_lensinfo_t),
12506            "::",
12507            stringify!(MaxAp4MinFocal)
12508        )
12509    );
12510    assert_eq!(
12511        unsafe {
12512            &(*(::core::ptr::null::<libraw_lensinfo_t>())).MaxAp4MaxFocal as *const _ as usize
12513        },
12514        12usize,
12515        concat!(
12516            "Offset of field: ",
12517            stringify!(libraw_lensinfo_t),
12518            "::",
12519            stringify!(MaxAp4MaxFocal)
12520        )
12521    );
12522    assert_eq!(
12523        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).EXIF_MaxAp as *const _ as usize },
12524        16usize,
12525        concat!(
12526            "Offset of field: ",
12527            stringify!(libraw_lensinfo_t),
12528            "::",
12529            stringify!(EXIF_MaxAp)
12530        )
12531    );
12532    assert_eq!(
12533        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).LensMake as *const _ as usize },
12534        20usize,
12535        concat!(
12536            "Offset of field: ",
12537            stringify!(libraw_lensinfo_t),
12538            "::",
12539            stringify!(LensMake)
12540        )
12541    );
12542    assert_eq!(
12543        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).Lens as *const _ as usize },
12544        148usize,
12545        concat!(
12546            "Offset of field: ",
12547            stringify!(libraw_lensinfo_t),
12548            "::",
12549            stringify!(Lens)
12550        )
12551    );
12552    assert_eq!(
12553        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).LensSerial as *const _ as usize },
12554        276usize,
12555        concat!(
12556            "Offset of field: ",
12557            stringify!(libraw_lensinfo_t),
12558            "::",
12559            stringify!(LensSerial)
12560        )
12561    );
12562    assert_eq!(
12563        unsafe {
12564            &(*(::core::ptr::null::<libraw_lensinfo_t>())).InternalLensSerial as *const _ as usize
12565        },
12566        404usize,
12567        concat!(
12568            "Offset of field: ",
12569            stringify!(libraw_lensinfo_t),
12570            "::",
12571            stringify!(InternalLensSerial)
12572        )
12573    );
12574    assert_eq!(
12575        unsafe {
12576            &(*(::core::ptr::null::<libraw_lensinfo_t>())).FocalLengthIn35mmFormat as *const _
12577                as usize
12578        },
12579        532usize,
12580        concat!(
12581            "Offset of field: ",
12582            stringify!(libraw_lensinfo_t),
12583            "::",
12584            stringify!(FocalLengthIn35mmFormat)
12585        )
12586    );
12587    assert_eq!(
12588        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).nikon as *const _ as usize },
12589        536usize,
12590        concat!(
12591            "Offset of field: ",
12592            stringify!(libraw_lensinfo_t),
12593            "::",
12594            stringify!(nikon)
12595        )
12596    );
12597    assert_eq!(
12598        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).dng as *const _ as usize },
12599        544usize,
12600        concat!(
12601            "Offset of field: ",
12602            stringify!(libraw_lensinfo_t),
12603            "::",
12604            stringify!(dng)
12605        )
12606    );
12607    assert_eq!(
12608        unsafe { &(*(::core::ptr::null::<libraw_lensinfo_t>())).makernotes as *const _ as usize },
12609        560usize,
12610        concat!(
12611            "Offset of field: ",
12612            stringify!(libraw_lensinfo_t),
12613            "::",
12614            stringify!(makernotes)
12615        )
12616    );
12617}
12618#[repr(C)]
12619#[derive(Copy, Clone)]
12620pub struct libraw_makernotes_t {
12621    pub canon: libraw_canon_makernotes_t,
12622    pub nikon: libraw_nikon_makernotes_t,
12623    pub hasselblad: libraw_hasselblad_makernotes_t,
12624    pub fuji: libraw_fuji_info_t,
12625    pub olympus: libraw_olympus_makernotes_t,
12626    pub sony: libraw_sony_info_t,
12627    pub kodak: libraw_kodak_makernotes_t,
12628    pub panasonic: libraw_panasonic_makernotes_t,
12629    pub pentax: libraw_pentax_makernotes_t,
12630    pub phaseone: libraw_p1_makernotes_t,
12631    pub samsung: libraw_samsung_makernotes_t,
12632    pub common: libraw_metadata_common_t,
12633}
12634#[test]
12635fn bindgen_test_layout_libraw_makernotes_t() {
12636    assert_eq!(
12637        ::core::mem::size_of::<libraw_makernotes_t>(),
12638        2976usize,
12639        concat!("Size of: ", stringify!(libraw_makernotes_t))
12640    );
12641    assert_eq!(
12642        ::core::mem::align_of::<libraw_makernotes_t>(),
12643        8usize,
12644        concat!("Alignment of ", stringify!(libraw_makernotes_t))
12645    );
12646    assert_eq!(
12647        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).canon as *const _ as usize },
12648        0usize,
12649        concat!(
12650            "Offset of field: ",
12651            stringify!(libraw_makernotes_t),
12652            "::",
12653            stringify!(canon)
12654        )
12655    );
12656    assert_eq!(
12657        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).nikon as *const _ as usize },
12658        664usize,
12659        concat!(
12660            "Offset of field: ",
12661            stringify!(libraw_makernotes_t),
12662            "::",
12663            stringify!(nikon)
12664        )
12665    );
12666    assert_eq!(
12667        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).hasselblad as *const _ as usize },
12668        904usize,
12669        concat!(
12670            "Offset of field: ",
12671            stringify!(libraw_makernotes_t),
12672            "::",
12673            stringify!(hasselblad)
12674        )
12675    );
12676    assert_eq!(
12677        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).fuji as *const _ as usize },
12678        1288usize,
12679        concat!(
12680            "Offset of field: ",
12681            stringify!(libraw_makernotes_t),
12682            "::",
12683            stringify!(fuji)
12684        )
12685    );
12686    assert_eq!(
12687        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).olympus as *const _ as usize },
12688        1376usize,
12689        concat!(
12690            "Offset of field: ",
12691            stringify!(libraw_makernotes_t),
12692            "::",
12693            stringify!(olympus)
12694        )
12695    );
12696    assert_eq!(
12697        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).sony as *const _ as usize },
12698        1720usize,
12699        concat!(
12700            "Offset of field: ",
12701            stringify!(libraw_makernotes_t),
12702            "::",
12703            stringify!(sony)
12704        )
12705    );
12706    assert_eq!(
12707        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).kodak as *const _ as usize },
12708        1872usize,
12709        concat!(
12710            "Offset of field: ",
12711            stringify!(libraw_makernotes_t),
12712            "::",
12713            stringify!(kodak)
12714        )
12715    );
12716    assert_eq!(
12717        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).panasonic as *const _ as usize },
12718        2116usize,
12719        concat!(
12720            "Offset of field: ",
12721            stringify!(libraw_makernotes_t),
12722            "::",
12723            stringify!(panasonic)
12724        )
12725    );
12726    assert_eq!(
12727        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).pentax as *const _ as usize },
12728        2172usize,
12729        concat!(
12730            "Offset of field: ",
12731            stringify!(libraw_makernotes_t),
12732            "::",
12733            stringify!(pentax)
12734        )
12735    );
12736    assert_eq!(
12737        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).phaseone as *const _ as usize },
12738        2192usize,
12739        concat!(
12740            "Offset of field: ",
12741            stringify!(libraw_makernotes_t),
12742            "::",
12743            stringify!(phaseone)
12744        )
12745    );
12746    assert_eq!(
12747        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).samsung as *const _ as usize },
12748        2640usize,
12749        concat!(
12750            "Offset of field: ",
12751            stringify!(libraw_makernotes_t),
12752            "::",
12753            stringify!(samsung)
12754        )
12755    );
12756    assert_eq!(
12757        unsafe { &(*(::core::ptr::null::<libraw_makernotes_t>())).common as *const _ as usize },
12758        2776usize,
12759        concat!(
12760            "Offset of field: ",
12761            stringify!(libraw_makernotes_t),
12762            "::",
12763            stringify!(common)
12764        )
12765    );
12766}
12767#[repr(C)]
12768#[derive(Copy, Clone)]
12769pub struct libraw_shootinginfo_t {
12770    pub DriveMode: libc::c_short,
12771    pub FocusMode: libc::c_short,
12772    pub MeteringMode: libc::c_short,
12773    pub AFPoint: libc::c_short,
12774    pub ExposureMode: libc::c_short,
12775    pub ExposureProgram: libc::c_short,
12776    pub ImageStabilization: libc::c_short,
12777    pub BodySerial: [libc::c_char; 64usize],
12778    pub InternalBodySerial: [libc::c_char; 64usize],
12779}
12780#[test]
12781fn bindgen_test_layout_libraw_shootinginfo_t() {
12782    assert_eq!(
12783        ::core::mem::size_of::<libraw_shootinginfo_t>(),
12784        142usize,
12785        concat!("Size of: ", stringify!(libraw_shootinginfo_t))
12786    );
12787    assert_eq!(
12788        ::core::mem::align_of::<libraw_shootinginfo_t>(),
12789        2usize,
12790        concat!("Alignment of ", stringify!(libraw_shootinginfo_t))
12791    );
12792    assert_eq!(
12793        unsafe {
12794            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).DriveMode as *const _ as usize
12795        },
12796        0usize,
12797        concat!(
12798            "Offset of field: ",
12799            stringify!(libraw_shootinginfo_t),
12800            "::",
12801            stringify!(DriveMode)
12802        )
12803    );
12804    assert_eq!(
12805        unsafe {
12806            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).FocusMode as *const _ as usize
12807        },
12808        2usize,
12809        concat!(
12810            "Offset of field: ",
12811            stringify!(libraw_shootinginfo_t),
12812            "::",
12813            stringify!(FocusMode)
12814        )
12815    );
12816    assert_eq!(
12817        unsafe {
12818            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).MeteringMode as *const _ as usize
12819        },
12820        4usize,
12821        concat!(
12822            "Offset of field: ",
12823            stringify!(libraw_shootinginfo_t),
12824            "::",
12825            stringify!(MeteringMode)
12826        )
12827    );
12828    assert_eq!(
12829        unsafe { &(*(::core::ptr::null::<libraw_shootinginfo_t>())).AFPoint as *const _ as usize },
12830        6usize,
12831        concat!(
12832            "Offset of field: ",
12833            stringify!(libraw_shootinginfo_t),
12834            "::",
12835            stringify!(AFPoint)
12836        )
12837    );
12838    assert_eq!(
12839        unsafe {
12840            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).ExposureMode as *const _ as usize
12841        },
12842        8usize,
12843        concat!(
12844            "Offset of field: ",
12845            stringify!(libraw_shootinginfo_t),
12846            "::",
12847            stringify!(ExposureMode)
12848        )
12849    );
12850    assert_eq!(
12851        unsafe {
12852            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).ExposureProgram as *const _ as usize
12853        },
12854        10usize,
12855        concat!(
12856            "Offset of field: ",
12857            stringify!(libraw_shootinginfo_t),
12858            "::",
12859            stringify!(ExposureProgram)
12860        )
12861    );
12862    assert_eq!(
12863        unsafe {
12864            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).ImageStabilization as *const _
12865                as usize
12866        },
12867        12usize,
12868        concat!(
12869            "Offset of field: ",
12870            stringify!(libraw_shootinginfo_t),
12871            "::",
12872            stringify!(ImageStabilization)
12873        )
12874    );
12875    assert_eq!(
12876        unsafe {
12877            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).BodySerial as *const _ as usize
12878        },
12879        14usize,
12880        concat!(
12881            "Offset of field: ",
12882            stringify!(libraw_shootinginfo_t),
12883            "::",
12884            stringify!(BodySerial)
12885        )
12886    );
12887    assert_eq!(
12888        unsafe {
12889            &(*(::core::ptr::null::<libraw_shootinginfo_t>())).InternalBodySerial as *const _
12890                as usize
12891        },
12892        78usize,
12893        concat!(
12894            "Offset of field: ",
12895            stringify!(libraw_shootinginfo_t),
12896            "::",
12897            stringify!(InternalBodySerial)
12898        )
12899    );
12900}
12901#[repr(C)]
12902#[derive(Debug, Copy, Clone, PartialEq, Eq)]
12903pub struct libraw_custom_camera_t {
12904    pub fsize: libc::c_uint,
12905    pub rw: ushort,
12906    pub rh: ushort,
12907    pub lm: uchar,
12908    pub tm: uchar,
12909    pub rm: uchar,
12910    pub bm: uchar,
12911    pub lf: ushort,
12912    pub cf: uchar,
12913    pub max: uchar,
12914    pub flags: uchar,
12915    pub t_make: [libc::c_char; 10usize],
12916    pub t_model: [libc::c_char; 20usize],
12917    pub offset: ushort,
12918}
12919#[test]
12920fn bindgen_test_layout_libraw_custom_camera_t() {
12921    assert_eq!(
12922        ::core::mem::size_of::<libraw_custom_camera_t>(),
12923        52usize,
12924        concat!("Size of: ", stringify!(libraw_custom_camera_t))
12925    );
12926    assert_eq!(
12927        ::core::mem::align_of::<libraw_custom_camera_t>(),
12928        4usize,
12929        concat!("Alignment of ", stringify!(libraw_custom_camera_t))
12930    );
12931    assert_eq!(
12932        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).fsize as *const _ as usize },
12933        0usize,
12934        concat!(
12935            "Offset of field: ",
12936            stringify!(libraw_custom_camera_t),
12937            "::",
12938            stringify!(fsize)
12939        )
12940    );
12941    assert_eq!(
12942        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).rw as *const _ as usize },
12943        4usize,
12944        concat!(
12945            "Offset of field: ",
12946            stringify!(libraw_custom_camera_t),
12947            "::",
12948            stringify!(rw)
12949        )
12950    );
12951    assert_eq!(
12952        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).rh as *const _ as usize },
12953        6usize,
12954        concat!(
12955            "Offset of field: ",
12956            stringify!(libraw_custom_camera_t),
12957            "::",
12958            stringify!(rh)
12959        )
12960    );
12961    assert_eq!(
12962        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).lm as *const _ as usize },
12963        8usize,
12964        concat!(
12965            "Offset of field: ",
12966            stringify!(libraw_custom_camera_t),
12967            "::",
12968            stringify!(lm)
12969        )
12970    );
12971    assert_eq!(
12972        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).tm as *const _ as usize },
12973        9usize,
12974        concat!(
12975            "Offset of field: ",
12976            stringify!(libraw_custom_camera_t),
12977            "::",
12978            stringify!(tm)
12979        )
12980    );
12981    assert_eq!(
12982        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).rm as *const _ as usize },
12983        10usize,
12984        concat!(
12985            "Offset of field: ",
12986            stringify!(libraw_custom_camera_t),
12987            "::",
12988            stringify!(rm)
12989        )
12990    );
12991    assert_eq!(
12992        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).bm as *const _ as usize },
12993        11usize,
12994        concat!(
12995            "Offset of field: ",
12996            stringify!(libraw_custom_camera_t),
12997            "::",
12998            stringify!(bm)
12999        )
13000    );
13001    assert_eq!(
13002        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).lf as *const _ as usize },
13003        12usize,
13004        concat!(
13005            "Offset of field: ",
13006            stringify!(libraw_custom_camera_t),
13007            "::",
13008            stringify!(lf)
13009        )
13010    );
13011    assert_eq!(
13012        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).cf as *const _ as usize },
13013        14usize,
13014        concat!(
13015            "Offset of field: ",
13016            stringify!(libraw_custom_camera_t),
13017            "::",
13018            stringify!(cf)
13019        )
13020    );
13021    assert_eq!(
13022        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).max as *const _ as usize },
13023        15usize,
13024        concat!(
13025            "Offset of field: ",
13026            stringify!(libraw_custom_camera_t),
13027            "::",
13028            stringify!(max)
13029        )
13030    );
13031    assert_eq!(
13032        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).flags as *const _ as usize },
13033        16usize,
13034        concat!(
13035            "Offset of field: ",
13036            stringify!(libraw_custom_camera_t),
13037            "::",
13038            stringify!(flags)
13039        )
13040    );
13041    assert_eq!(
13042        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).t_make as *const _ as usize },
13043        17usize,
13044        concat!(
13045            "Offset of field: ",
13046            stringify!(libraw_custom_camera_t),
13047            "::",
13048            stringify!(t_make)
13049        )
13050    );
13051    assert_eq!(
13052        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).t_model as *const _ as usize },
13053        27usize,
13054        concat!(
13055            "Offset of field: ",
13056            stringify!(libraw_custom_camera_t),
13057            "::",
13058            stringify!(t_model)
13059        )
13060    );
13061    assert_eq!(
13062        unsafe { &(*(::core::ptr::null::<libraw_custom_camera_t>())).offset as *const _ as usize },
13063        48usize,
13064        concat!(
13065            "Offset of field: ",
13066            stringify!(libraw_custom_camera_t),
13067            "::",
13068            stringify!(offset)
13069        )
13070    );
13071}
13072#[repr(C)]
13073#[derive(Copy, Clone)]
13074pub struct libraw_data_t {
13075    pub image: *mut [ushort; 4usize],
13076    pub sizes: libraw_image_sizes_t,
13077    pub idata: libraw_iparams_t,
13078    pub lens: libraw_lensinfo_t,
13079    pub makernotes: libraw_makernotes_t,
13080    pub shootinginfo: libraw_shootinginfo_t,
13081    pub params: libraw_output_params_t,
13082    pub progress_flags: libc::c_uint,
13083    pub process_warnings: libc::c_uint,
13084    pub color: libraw_colordata_t,
13085    pub other: libraw_imgother_t,
13086    pub thumbnail: libraw_thumbnail_t,
13087    pub rawdata: libraw_rawdata_t,
13088    pub parent_class: *mut libc::c_void,
13089}
13090#[test]
13091fn bindgen_test_layout_libraw_data_t() {
13092    assert_eq!(
13093        ::core::mem::size_of::<libraw_data_t>(),
13094        381000usize,
13095        concat!("Size of: ", stringify!(libraw_data_t))
13096    );
13097    assert_eq!(
13098        ::core::mem::align_of::<libraw_data_t>(),
13099        8usize,
13100        concat!("Alignment of ", stringify!(libraw_data_t))
13101    );
13102    assert_eq!(
13103        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).image as *const _ as usize },
13104        0usize,
13105        concat!(
13106            "Offset of field: ",
13107            stringify!(libraw_data_t),
13108            "::",
13109            stringify!(image)
13110        )
13111    );
13112    assert_eq!(
13113        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).sizes as *const _ as usize },
13114        8usize,
13115        concat!(
13116            "Offset of field: ",
13117            stringify!(libraw_data_t),
13118            "::",
13119            stringify!(sizes)
13120        )
13121    );
13122    assert_eq!(
13123        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).idata as *const _ as usize },
13124        184usize,
13125        concat!(
13126            "Offset of field: ",
13127            stringify!(libraw_data_t),
13128            "::",
13129            stringify!(idata)
13130        )
13131    );
13132    assert_eq!(
13133        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).lens as *const _ as usize },
13134        624usize,
13135        concat!(
13136            "Offset of field: ",
13137            stringify!(libraw_data_t),
13138            "::",
13139            stringify!(lens)
13140        )
13141    );
13142    assert_eq!(
13143        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).makernotes as *const _ as usize },
13144        1920usize,
13145        concat!(
13146            "Offset of field: ",
13147            stringify!(libraw_data_t),
13148            "::",
13149            stringify!(makernotes)
13150        )
13151    );
13152    assert_eq!(
13153        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).shootinginfo as *const _ as usize },
13154        4896usize,
13155        concat!(
13156            "Offset of field: ",
13157            stringify!(libraw_data_t),
13158            "::",
13159            stringify!(shootinginfo)
13160        )
13161    );
13162    assert_eq!(
13163        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).params as *const _ as usize },
13164        5040usize,
13165        concat!(
13166            "Offset of field: ",
13167            stringify!(libraw_data_t),
13168            "::",
13169            stringify!(params)
13170        )
13171    );
13172    assert_eq!(
13173        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).progress_flags as *const _ as usize },
13174        5376usize,
13175        concat!(
13176            "Offset of field: ",
13177            stringify!(libraw_data_t),
13178            "::",
13179            stringify!(progress_flags)
13180        )
13181    );
13182    assert_eq!(
13183        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).process_warnings as *const _ as usize },
13184        5380usize,
13185        concat!(
13186            "Offset of field: ",
13187            stringify!(libraw_data_t),
13188            "::",
13189            stringify!(process_warnings)
13190        )
13191    );
13192    assert_eq!(
13193        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).color as *const _ as usize },
13194        5384usize,
13195        concat!(
13196            "Offset of field: ",
13197            stringify!(libraw_data_t),
13198            "::",
13199            stringify!(color)
13200        )
13201    );
13202    assert_eq!(
13203        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).other as *const _ as usize },
13204        192424usize,
13205        concat!(
13206            "Offset of field: ",
13207            stringify!(libraw_data_t),
13208            "::",
13209            stringify!(other)
13210        )
13211    );
13212    assert_eq!(
13213        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).thumbnail as *const _ as usize },
13214        193224usize,
13215        concat!(
13216            "Offset of field: ",
13217            stringify!(libraw_data_t),
13218            "::",
13219            stringify!(thumbnail)
13220        )
13221    );
13222    assert_eq!(
13223        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).rawdata as *const _ as usize },
13224        193248usize,
13225        concat!(
13226            "Offset of field: ",
13227            stringify!(libraw_data_t),
13228            "::",
13229            stringify!(rawdata)
13230        )
13231    );
13232    assert_eq!(
13233        unsafe { &(*(::core::ptr::null::<libraw_data_t>())).parent_class as *const _ as usize },
13234        380992usize,
13235        concat!(
13236            "Offset of field: ",
13237            stringify!(libraw_data_t),
13238            "::",
13239            stringify!(parent_class)
13240        )
13241    );
13242}
13243#[repr(C)]
13244#[derive(Debug, Copy, Clone, PartialEq, Eq)]
13245pub struct fuji_compressed_params {
13246    pub q_table: *mut i8,
13247    pub q_point: [libc::c_int; 5usize],
13248    pub max_bits: libc::c_int,
13249    pub min_value: libc::c_int,
13250    pub raw_bits: libc::c_int,
13251    pub total_values: libc::c_int,
13252    pub maxDiff: libc::c_int,
13253    pub line_width: ushort,
13254}
13255#[test]
13256fn bindgen_test_layout_fuji_compressed_params() {
13257    assert_eq!(
13258        ::core::mem::size_of::<fuji_compressed_params>(),
13259        56usize,
13260        concat!("Size of: ", stringify!(fuji_compressed_params))
13261    );
13262    assert_eq!(
13263        ::core::mem::align_of::<fuji_compressed_params>(),
13264        8usize,
13265        concat!("Alignment of ", stringify!(fuji_compressed_params))
13266    );
13267    assert_eq!(
13268        unsafe { &(*(::core::ptr::null::<fuji_compressed_params>())).q_table as *const _ as usize },
13269        0usize,
13270        concat!(
13271            "Offset of field: ",
13272            stringify!(fuji_compressed_params),
13273            "::",
13274            stringify!(q_table)
13275        )
13276    );
13277    assert_eq!(
13278        unsafe { &(*(::core::ptr::null::<fuji_compressed_params>())).q_point as *const _ as usize },
13279        8usize,
13280        concat!(
13281            "Offset of field: ",
13282            stringify!(fuji_compressed_params),
13283            "::",
13284            stringify!(q_point)
13285        )
13286    );
13287    assert_eq!(
13288        unsafe {
13289            &(*(::core::ptr::null::<fuji_compressed_params>())).max_bits as *const _ as usize
13290        },
13291        28usize,
13292        concat!(
13293            "Offset of field: ",
13294            stringify!(fuji_compressed_params),
13295            "::",
13296            stringify!(max_bits)
13297        )
13298    );
13299    assert_eq!(
13300        unsafe {
13301            &(*(::core::ptr::null::<fuji_compressed_params>())).min_value as *const _ as usize
13302        },
13303        32usize,
13304        concat!(
13305            "Offset of field: ",
13306            stringify!(fuji_compressed_params),
13307            "::",
13308            stringify!(min_value)
13309        )
13310    );
13311    assert_eq!(
13312        unsafe {
13313            &(*(::core::ptr::null::<fuji_compressed_params>())).raw_bits as *const _ as usize
13314        },
13315        36usize,
13316        concat!(
13317            "Offset of field: ",
13318            stringify!(fuji_compressed_params),
13319            "::",
13320            stringify!(raw_bits)
13321        )
13322    );
13323    assert_eq!(
13324        unsafe {
13325            &(*(::core::ptr::null::<fuji_compressed_params>())).total_values as *const _ as usize
13326        },
13327        40usize,
13328        concat!(
13329            "Offset of field: ",
13330            stringify!(fuji_compressed_params),
13331            "::",
13332            stringify!(total_values)
13333        )
13334    );
13335    assert_eq!(
13336        unsafe { &(*(::core::ptr::null::<fuji_compressed_params>())).maxDiff as *const _ as usize },
13337        44usize,
13338        concat!(
13339            "Offset of field: ",
13340            stringify!(fuji_compressed_params),
13341            "::",
13342            stringify!(maxDiff)
13343        )
13344    );
13345    assert_eq!(
13346        unsafe {
13347            &(*(::core::ptr::null::<fuji_compressed_params>())).line_width as *const _ as usize
13348        },
13349        48usize,
13350        concat!(
13351            "Offset of field: ",
13352            stringify!(fuji_compressed_params),
13353            "::",
13354            stringify!(line_width)
13355        )
13356    );
13357}
13358#[repr(C)]
13359#[derive(Debug, Copy, Clone, PartialEq, Eq)]
13360pub struct internal_data_t {
13361    pub input: *mut LibRaw_abstract_datastream,
13362    pub output: *mut FILE,
13363    pub input_internal: libc::c_int,
13364    pub meta_data: *mut libc::c_char,
13365    pub profile_offset: INT64,
13366    pub toffset: INT64,
13367    pub pana_black: [libc::c_uint; 4usize],
13368}
13369#[test]
13370fn bindgen_test_layout_internal_data_t() {
13371    assert_eq!(
13372        ::core::mem::size_of::<internal_data_t>(),
13373        64usize,
13374        concat!("Size of: ", stringify!(internal_data_t))
13375    );
13376    assert_eq!(
13377        ::core::mem::align_of::<internal_data_t>(),
13378        8usize,
13379        concat!("Alignment of ", stringify!(internal_data_t))
13380    );
13381    assert_eq!(
13382        unsafe { &(*(::core::ptr::null::<internal_data_t>())).input as *const _ as usize },
13383        0usize,
13384        concat!(
13385            "Offset of field: ",
13386            stringify!(internal_data_t),
13387            "::",
13388            stringify!(input)
13389        )
13390    );
13391    assert_eq!(
13392        unsafe { &(*(::core::ptr::null::<internal_data_t>())).output as *const _ as usize },
13393        8usize,
13394        concat!(
13395            "Offset of field: ",
13396            stringify!(internal_data_t),
13397            "::",
13398            stringify!(output)
13399        )
13400    );
13401    assert_eq!(
13402        unsafe { &(*(::core::ptr::null::<internal_data_t>())).input_internal as *const _ as usize },
13403        16usize,
13404        concat!(
13405            "Offset of field: ",
13406            stringify!(internal_data_t),
13407            "::",
13408            stringify!(input_internal)
13409        )
13410    );
13411    assert_eq!(
13412        unsafe { &(*(::core::ptr::null::<internal_data_t>())).meta_data as *const _ as usize },
13413        24usize,
13414        concat!(
13415            "Offset of field: ",
13416            stringify!(internal_data_t),
13417            "::",
13418            stringify!(meta_data)
13419        )
13420    );
13421    assert_eq!(
13422        unsafe { &(*(::core::ptr::null::<internal_data_t>())).profile_offset as *const _ as usize },
13423        32usize,
13424        concat!(
13425            "Offset of field: ",
13426            stringify!(internal_data_t),
13427            "::",
13428            stringify!(profile_offset)
13429        )
13430    );
13431    assert_eq!(
13432        unsafe { &(*(::core::ptr::null::<internal_data_t>())).toffset as *const _ as usize },
13433        40usize,
13434        concat!(
13435            "Offset of field: ",
13436            stringify!(internal_data_t),
13437            "::",
13438            stringify!(toffset)
13439        )
13440    );
13441    assert_eq!(
13442        unsafe { &(*(::core::ptr::null::<internal_data_t>())).pana_black as *const _ as usize },
13443        48usize,
13444        concat!(
13445            "Offset of field: ",
13446            stringify!(internal_data_t),
13447            "::",
13448            stringify!(pana_black)
13449        )
13450    );
13451}
13452#[repr(C)]
13453#[derive(Debug, Copy, Clone, PartialEq, Eq)]
13454pub struct output_data_t {
13455    pub histogram: *mut [libc::c_int; 8192usize],
13456    pub oprof: *mut libc::c_uint,
13457}
13458#[test]
13459fn bindgen_test_layout_output_data_t() {
13460    assert_eq!(
13461        ::core::mem::size_of::<output_data_t>(),
13462        16usize,
13463        concat!("Size of: ", stringify!(output_data_t))
13464    );
13465    assert_eq!(
13466        ::core::mem::align_of::<output_data_t>(),
13467        8usize,
13468        concat!("Alignment of ", stringify!(output_data_t))
13469    );
13470    assert_eq!(
13471        unsafe { &(*(::core::ptr::null::<output_data_t>())).histogram as *const _ as usize },
13472        0usize,
13473        concat!(
13474            "Offset of field: ",
13475            stringify!(output_data_t),
13476            "::",
13477            stringify!(histogram)
13478        )
13479    );
13480    assert_eq!(
13481        unsafe { &(*(::core::ptr::null::<output_data_t>())).oprof as *const _ as usize },
13482        8usize,
13483        concat!(
13484            "Offset of field: ",
13485            stringify!(output_data_t),
13486            "::",
13487            stringify!(oprof)
13488        )
13489    );
13490}
13491#[repr(C)]
13492#[derive(Debug, Copy, Clone, PartialEq, Eq)]
13493pub struct identify_data_t {
13494    pub olympus_exif_cfa: libc::c_uint,
13495    pub unique_id: libc::c_ulonglong,
13496    pub OlyID: libc::c_ulonglong,
13497    pub tiff_nifds: libc::c_uint,
13498    pub tiff_flip: libc::c_int,
13499    pub metadata_blocks: libc::c_int,
13500}
13501#[test]
13502fn bindgen_test_layout_identify_data_t() {
13503    assert_eq!(
13504        ::core::mem::size_of::<identify_data_t>(),
13505        40usize,
13506        concat!("Size of: ", stringify!(identify_data_t))
13507    );
13508    assert_eq!(
13509        ::core::mem::align_of::<identify_data_t>(),
13510        8usize,
13511        concat!("Alignment of ", stringify!(identify_data_t))
13512    );
13513    assert_eq!(
13514        unsafe {
13515            &(*(::core::ptr::null::<identify_data_t>())).olympus_exif_cfa as *const _ as usize
13516        },
13517        0usize,
13518        concat!(
13519            "Offset of field: ",
13520            stringify!(identify_data_t),
13521            "::",
13522            stringify!(olympus_exif_cfa)
13523        )
13524    );
13525    assert_eq!(
13526        unsafe { &(*(::core::ptr::null::<identify_data_t>())).unique_id as *const _ as usize },
13527        8usize,
13528        concat!(
13529            "Offset of field: ",
13530            stringify!(identify_data_t),
13531            "::",
13532            stringify!(unique_id)
13533        )
13534    );
13535    assert_eq!(
13536        unsafe { &(*(::core::ptr::null::<identify_data_t>())).OlyID as *const _ as usize },
13537        16usize,
13538        concat!(
13539            "Offset of field: ",
13540            stringify!(identify_data_t),
13541            "::",
13542            stringify!(OlyID)
13543        )
13544    );
13545    assert_eq!(
13546        unsafe { &(*(::core::ptr::null::<identify_data_t>())).tiff_nifds as *const _ as usize },
13547        24usize,
13548        concat!(
13549            "Offset of field: ",
13550            stringify!(identify_data_t),
13551            "::",
13552            stringify!(tiff_nifds)
13553        )
13554    );
13555    assert_eq!(
13556        unsafe { &(*(::core::ptr::null::<identify_data_t>())).tiff_flip as *const _ as usize },
13557        28usize,
13558        concat!(
13559            "Offset of field: ",
13560            stringify!(identify_data_t),
13561            "::",
13562            stringify!(tiff_flip)
13563        )
13564    );
13565    assert_eq!(
13566        unsafe {
13567            &(*(::core::ptr::null::<identify_data_t>())).metadata_blocks as *const _ as usize
13568        },
13569        32usize,
13570        concat!(
13571            "Offset of field: ",
13572            stringify!(identify_data_t),
13573            "::",
13574            stringify!(metadata_blocks)
13575        )
13576    );
13577}
13578#[repr(C)]
13579#[derive(Debug, Copy, Clone, PartialEq, Eq)]
13580pub struct crx_data_header_t {
13581    pub version: i32,
13582    pub f_width: i32,
13583    pub f_height: i32,
13584    pub tileWidth: i32,
13585    pub tileHeight: i32,
13586    pub nBits: i32,
13587    pub nPlanes: i32,
13588    pub cfaLayout: i32,
13589    pub encType: i32,
13590    pub imageLevels: i32,
13591    pub hasTileCols: i32,
13592    pub hasTileRows: i32,
13593    pub mdatHdrSize: i32,
13594    pub MediaSize: u32,
13595    pub MediaOffset: INT64,
13596    pub MediaType: u32,
13597}
13598#[test]
13599fn bindgen_test_layout_crx_data_header_t() {
13600    assert_eq!(
13601        ::core::mem::size_of::<crx_data_header_t>(),
13602        72usize,
13603        concat!("Size of: ", stringify!(crx_data_header_t))
13604    );
13605    assert_eq!(
13606        ::core::mem::align_of::<crx_data_header_t>(),
13607        8usize,
13608        concat!("Alignment of ", stringify!(crx_data_header_t))
13609    );
13610    assert_eq!(
13611        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).version as *const _ as usize },
13612        0usize,
13613        concat!(
13614            "Offset of field: ",
13615            stringify!(crx_data_header_t),
13616            "::",
13617            stringify!(version)
13618        )
13619    );
13620    assert_eq!(
13621        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).f_width as *const _ as usize },
13622        4usize,
13623        concat!(
13624            "Offset of field: ",
13625            stringify!(crx_data_header_t),
13626            "::",
13627            stringify!(f_width)
13628        )
13629    );
13630    assert_eq!(
13631        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).f_height as *const _ as usize },
13632        8usize,
13633        concat!(
13634            "Offset of field: ",
13635            stringify!(crx_data_header_t),
13636            "::",
13637            stringify!(f_height)
13638        )
13639    );
13640    assert_eq!(
13641        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).tileWidth as *const _ as usize },
13642        12usize,
13643        concat!(
13644            "Offset of field: ",
13645            stringify!(crx_data_header_t),
13646            "::",
13647            stringify!(tileWidth)
13648        )
13649    );
13650    assert_eq!(
13651        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).tileHeight as *const _ as usize },
13652        16usize,
13653        concat!(
13654            "Offset of field: ",
13655            stringify!(crx_data_header_t),
13656            "::",
13657            stringify!(tileHeight)
13658        )
13659    );
13660    assert_eq!(
13661        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).nBits as *const _ as usize },
13662        20usize,
13663        concat!(
13664            "Offset of field: ",
13665            stringify!(crx_data_header_t),
13666            "::",
13667            stringify!(nBits)
13668        )
13669    );
13670    assert_eq!(
13671        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).nPlanes as *const _ as usize },
13672        24usize,
13673        concat!(
13674            "Offset of field: ",
13675            stringify!(crx_data_header_t),
13676            "::",
13677            stringify!(nPlanes)
13678        )
13679    );
13680    assert_eq!(
13681        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).cfaLayout as *const _ as usize },
13682        28usize,
13683        concat!(
13684            "Offset of field: ",
13685            stringify!(crx_data_header_t),
13686            "::",
13687            stringify!(cfaLayout)
13688        )
13689    );
13690    assert_eq!(
13691        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).encType as *const _ as usize },
13692        32usize,
13693        concat!(
13694            "Offset of field: ",
13695            stringify!(crx_data_header_t),
13696            "::",
13697            stringify!(encType)
13698        )
13699    );
13700    assert_eq!(
13701        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).imageLevels as *const _ as usize },
13702        36usize,
13703        concat!(
13704            "Offset of field: ",
13705            stringify!(crx_data_header_t),
13706            "::",
13707            stringify!(imageLevels)
13708        )
13709    );
13710    assert_eq!(
13711        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).hasTileCols as *const _ as usize },
13712        40usize,
13713        concat!(
13714            "Offset of field: ",
13715            stringify!(crx_data_header_t),
13716            "::",
13717            stringify!(hasTileCols)
13718        )
13719    );
13720    assert_eq!(
13721        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).hasTileRows as *const _ as usize },
13722        44usize,
13723        concat!(
13724            "Offset of field: ",
13725            stringify!(crx_data_header_t),
13726            "::",
13727            stringify!(hasTileRows)
13728        )
13729    );
13730    assert_eq!(
13731        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).mdatHdrSize as *const _ as usize },
13732        48usize,
13733        concat!(
13734            "Offset of field: ",
13735            stringify!(crx_data_header_t),
13736            "::",
13737            stringify!(mdatHdrSize)
13738        )
13739    );
13740    assert_eq!(
13741        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).MediaSize as *const _ as usize },
13742        52usize,
13743        concat!(
13744            "Offset of field: ",
13745            stringify!(crx_data_header_t),
13746            "::",
13747            stringify!(MediaSize)
13748        )
13749    );
13750    assert_eq!(
13751        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).MediaOffset as *const _ as usize },
13752        56usize,
13753        concat!(
13754            "Offset of field: ",
13755            stringify!(crx_data_header_t),
13756            "::",
13757            stringify!(MediaOffset)
13758        )
13759    );
13760    assert_eq!(
13761        unsafe { &(*(::core::ptr::null::<crx_data_header_t>())).MediaType as *const _ as usize },
13762        64usize,
13763        concat!(
13764            "Offset of field: ",
13765            stringify!(crx_data_header_t),
13766            "::",
13767            stringify!(MediaType)
13768        )
13769    );
13770}
13771#[repr(C)]
13772#[derive(Debug, Copy, Clone, PartialEq, Eq)]
13773pub struct unpacker_data_t {
13774    pub order: libc::c_short,
13775    pub sraw_mul: [ushort; 4usize],
13776    pub cr2_slice: [ushort; 3usize],
13777    pub kodak_cbpp: libc::c_uint,
13778    pub strip_offset: INT64,
13779    pub data_offset: INT64,
13780    pub meta_offset: INT64,
13781    pub data_size: libc::c_uint,
13782    pub meta_length: libc::c_uint,
13783    pub thumb_misc: libc::c_uint,
13784    pub fuji_layout: libc::c_uint,
13785    pub tiff_samples: libc::c_uint,
13786    pub tiff_bps: libc::c_uint,
13787    pub tiff_compress: libc::c_uint,
13788    pub tiff_sampleformat: libc::c_uint,
13789    pub zero_after_ff: libc::c_uint,
13790    pub tile_width: libc::c_uint,
13791    pub tile_length: libc::c_uint,
13792    pub load_flags: libc::c_uint,
13793    pub data_error: libc::c_uint,
13794    pub hasselblad_parser_flag: libc::c_int,
13795    pub posRAFData: libc::c_longlong,
13796    pub lenRAFData: libc::c_uint,
13797    pub fuji_total_lines: libc::c_int,
13798    pub fuji_total_blocks: libc::c_int,
13799    pub fuji_block_width: libc::c_int,
13800    pub fuji_bits: libc::c_int,
13801    pub fuji_raw_type: libc::c_int,
13802    pub pana_encoding: libc::c_int,
13803    pub pana_bpp: libc::c_int,
13804    pub crx_header: [crx_data_header_t; 16usize],
13805    pub crx_track_selected: libc::c_int,
13806    pub CR3_CTMDtag: libc::c_short,
13807    pub CR3_Version: libc::c_short,
13808    pub CM_found: libc::c_int,
13809    pub is_NikonTransfer: libc::c_uint,
13810    pub is_Sony: libc::c_uint,
13811    pub is_pana_raw: libc::c_uint,
13812    pub is_4K_RAFdata: libc::c_uint,
13813    pub is_PentaxRicohMakernotes: libc::c_uint,
13814    pub dng_frames: [libc::c_uint; 20usize],
13815    pub raw_stride: libc::c_ushort,
13816}
13817#[test]
13818fn bindgen_test_layout_unpacker_data_t() {
13819    assert_eq!(
13820        ::core::mem::size_of::<unpacker_data_t>(),
13821        1416usize,
13822        concat!("Size of: ", stringify!(unpacker_data_t))
13823    );
13824    assert_eq!(
13825        ::core::mem::align_of::<unpacker_data_t>(),
13826        8usize,
13827        concat!("Alignment of ", stringify!(unpacker_data_t))
13828    );
13829    assert_eq!(
13830        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).order as *const _ as usize },
13831        0usize,
13832        concat!(
13833            "Offset of field: ",
13834            stringify!(unpacker_data_t),
13835            "::",
13836            stringify!(order)
13837        )
13838    );
13839    assert_eq!(
13840        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).sraw_mul as *const _ as usize },
13841        2usize,
13842        concat!(
13843            "Offset of field: ",
13844            stringify!(unpacker_data_t),
13845            "::",
13846            stringify!(sraw_mul)
13847        )
13848    );
13849    assert_eq!(
13850        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).cr2_slice as *const _ as usize },
13851        10usize,
13852        concat!(
13853            "Offset of field: ",
13854            stringify!(unpacker_data_t),
13855            "::",
13856            stringify!(cr2_slice)
13857        )
13858    );
13859    assert_eq!(
13860        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).kodak_cbpp as *const _ as usize },
13861        16usize,
13862        concat!(
13863            "Offset of field: ",
13864            stringify!(unpacker_data_t),
13865            "::",
13866            stringify!(kodak_cbpp)
13867        )
13868    );
13869    assert_eq!(
13870        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).strip_offset as *const _ as usize },
13871        24usize,
13872        concat!(
13873            "Offset of field: ",
13874            stringify!(unpacker_data_t),
13875            "::",
13876            stringify!(strip_offset)
13877        )
13878    );
13879    assert_eq!(
13880        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).data_offset as *const _ as usize },
13881        32usize,
13882        concat!(
13883            "Offset of field: ",
13884            stringify!(unpacker_data_t),
13885            "::",
13886            stringify!(data_offset)
13887        )
13888    );
13889    assert_eq!(
13890        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).meta_offset as *const _ as usize },
13891        40usize,
13892        concat!(
13893            "Offset of field: ",
13894            stringify!(unpacker_data_t),
13895            "::",
13896            stringify!(meta_offset)
13897        )
13898    );
13899    assert_eq!(
13900        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).data_size as *const _ as usize },
13901        48usize,
13902        concat!(
13903            "Offset of field: ",
13904            stringify!(unpacker_data_t),
13905            "::",
13906            stringify!(data_size)
13907        )
13908    );
13909    assert_eq!(
13910        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).meta_length as *const _ as usize },
13911        52usize,
13912        concat!(
13913            "Offset of field: ",
13914            stringify!(unpacker_data_t),
13915            "::",
13916            stringify!(meta_length)
13917        )
13918    );
13919    assert_eq!(
13920        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).thumb_misc as *const _ as usize },
13921        56usize,
13922        concat!(
13923            "Offset of field: ",
13924            stringify!(unpacker_data_t),
13925            "::",
13926            stringify!(thumb_misc)
13927        )
13928    );
13929    assert_eq!(
13930        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).fuji_layout as *const _ as usize },
13931        60usize,
13932        concat!(
13933            "Offset of field: ",
13934            stringify!(unpacker_data_t),
13935            "::",
13936            stringify!(fuji_layout)
13937        )
13938    );
13939    assert_eq!(
13940        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).tiff_samples as *const _ as usize },
13941        64usize,
13942        concat!(
13943            "Offset of field: ",
13944            stringify!(unpacker_data_t),
13945            "::",
13946            stringify!(tiff_samples)
13947        )
13948    );
13949    assert_eq!(
13950        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).tiff_bps as *const _ as usize },
13951        68usize,
13952        concat!(
13953            "Offset of field: ",
13954            stringify!(unpacker_data_t),
13955            "::",
13956            stringify!(tiff_bps)
13957        )
13958    );
13959    assert_eq!(
13960        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).tiff_compress as *const _ as usize },
13961        72usize,
13962        concat!(
13963            "Offset of field: ",
13964            stringify!(unpacker_data_t),
13965            "::",
13966            stringify!(tiff_compress)
13967        )
13968    );
13969    assert_eq!(
13970        unsafe {
13971            &(*(::core::ptr::null::<unpacker_data_t>())).tiff_sampleformat as *const _ as usize
13972        },
13973        76usize,
13974        concat!(
13975            "Offset of field: ",
13976            stringify!(unpacker_data_t),
13977            "::",
13978            stringify!(tiff_sampleformat)
13979        )
13980    );
13981    assert_eq!(
13982        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).zero_after_ff as *const _ as usize },
13983        80usize,
13984        concat!(
13985            "Offset of field: ",
13986            stringify!(unpacker_data_t),
13987            "::",
13988            stringify!(zero_after_ff)
13989        )
13990    );
13991    assert_eq!(
13992        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).tile_width as *const _ as usize },
13993        84usize,
13994        concat!(
13995            "Offset of field: ",
13996            stringify!(unpacker_data_t),
13997            "::",
13998            stringify!(tile_width)
13999        )
14000    );
14001    assert_eq!(
14002        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).tile_length as *const _ as usize },
14003        88usize,
14004        concat!(
14005            "Offset of field: ",
14006            stringify!(unpacker_data_t),
14007            "::",
14008            stringify!(tile_length)
14009        )
14010    );
14011    assert_eq!(
14012        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).load_flags as *const _ as usize },
14013        92usize,
14014        concat!(
14015            "Offset of field: ",
14016            stringify!(unpacker_data_t),
14017            "::",
14018            stringify!(load_flags)
14019        )
14020    );
14021    assert_eq!(
14022        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).data_error as *const _ as usize },
14023        96usize,
14024        concat!(
14025            "Offset of field: ",
14026            stringify!(unpacker_data_t),
14027            "::",
14028            stringify!(data_error)
14029        )
14030    );
14031    assert_eq!(
14032        unsafe {
14033            &(*(::core::ptr::null::<unpacker_data_t>())).hasselblad_parser_flag as *const _ as usize
14034        },
14035        100usize,
14036        concat!(
14037            "Offset of field: ",
14038            stringify!(unpacker_data_t),
14039            "::",
14040            stringify!(hasselblad_parser_flag)
14041        )
14042    );
14043    assert_eq!(
14044        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).posRAFData as *const _ as usize },
14045        104usize,
14046        concat!(
14047            "Offset of field: ",
14048            stringify!(unpacker_data_t),
14049            "::",
14050            stringify!(posRAFData)
14051        )
14052    );
14053    assert_eq!(
14054        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).lenRAFData as *const _ as usize },
14055        112usize,
14056        concat!(
14057            "Offset of field: ",
14058            stringify!(unpacker_data_t),
14059            "::",
14060            stringify!(lenRAFData)
14061        )
14062    );
14063    assert_eq!(
14064        unsafe {
14065            &(*(::core::ptr::null::<unpacker_data_t>())).fuji_total_lines as *const _ as usize
14066        },
14067        116usize,
14068        concat!(
14069            "Offset of field: ",
14070            stringify!(unpacker_data_t),
14071            "::",
14072            stringify!(fuji_total_lines)
14073        )
14074    );
14075    assert_eq!(
14076        unsafe {
14077            &(*(::core::ptr::null::<unpacker_data_t>())).fuji_total_blocks as *const _ as usize
14078        },
14079        120usize,
14080        concat!(
14081            "Offset of field: ",
14082            stringify!(unpacker_data_t),
14083            "::",
14084            stringify!(fuji_total_blocks)
14085        )
14086    );
14087    assert_eq!(
14088        unsafe {
14089            &(*(::core::ptr::null::<unpacker_data_t>())).fuji_block_width as *const _ as usize
14090        },
14091        124usize,
14092        concat!(
14093            "Offset of field: ",
14094            stringify!(unpacker_data_t),
14095            "::",
14096            stringify!(fuji_block_width)
14097        )
14098    );
14099    assert_eq!(
14100        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).fuji_bits as *const _ as usize },
14101        128usize,
14102        concat!(
14103            "Offset of field: ",
14104            stringify!(unpacker_data_t),
14105            "::",
14106            stringify!(fuji_bits)
14107        )
14108    );
14109    assert_eq!(
14110        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).fuji_raw_type as *const _ as usize },
14111        132usize,
14112        concat!(
14113            "Offset of field: ",
14114            stringify!(unpacker_data_t),
14115            "::",
14116            stringify!(fuji_raw_type)
14117        )
14118    );
14119    assert_eq!(
14120        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).pana_encoding as *const _ as usize },
14121        136usize,
14122        concat!(
14123            "Offset of field: ",
14124            stringify!(unpacker_data_t),
14125            "::",
14126            stringify!(pana_encoding)
14127        )
14128    );
14129    assert_eq!(
14130        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).pana_bpp as *const _ as usize },
14131        140usize,
14132        concat!(
14133            "Offset of field: ",
14134            stringify!(unpacker_data_t),
14135            "::",
14136            stringify!(pana_bpp)
14137        )
14138    );
14139    assert_eq!(
14140        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).crx_header as *const _ as usize },
14141        144usize,
14142        concat!(
14143            "Offset of field: ",
14144            stringify!(unpacker_data_t),
14145            "::",
14146            stringify!(crx_header)
14147        )
14148    );
14149    assert_eq!(
14150        unsafe {
14151            &(*(::core::ptr::null::<unpacker_data_t>())).crx_track_selected as *const _ as usize
14152        },
14153        1296usize,
14154        concat!(
14155            "Offset of field: ",
14156            stringify!(unpacker_data_t),
14157            "::",
14158            stringify!(crx_track_selected)
14159        )
14160    );
14161    assert_eq!(
14162        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).CR3_CTMDtag as *const _ as usize },
14163        1300usize,
14164        concat!(
14165            "Offset of field: ",
14166            stringify!(unpacker_data_t),
14167            "::",
14168            stringify!(CR3_CTMDtag)
14169        )
14170    );
14171    assert_eq!(
14172        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).CR3_Version as *const _ as usize },
14173        1302usize,
14174        concat!(
14175            "Offset of field: ",
14176            stringify!(unpacker_data_t),
14177            "::",
14178            stringify!(CR3_Version)
14179        )
14180    );
14181    assert_eq!(
14182        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).CM_found as *const _ as usize },
14183        1304usize,
14184        concat!(
14185            "Offset of field: ",
14186            stringify!(unpacker_data_t),
14187            "::",
14188            stringify!(CM_found)
14189        )
14190    );
14191    assert_eq!(
14192        unsafe {
14193            &(*(::core::ptr::null::<unpacker_data_t>())).is_NikonTransfer as *const _ as usize
14194        },
14195        1308usize,
14196        concat!(
14197            "Offset of field: ",
14198            stringify!(unpacker_data_t),
14199            "::",
14200            stringify!(is_NikonTransfer)
14201        )
14202    );
14203    assert_eq!(
14204        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).is_Sony as *const _ as usize },
14205        1312usize,
14206        concat!(
14207            "Offset of field: ",
14208            stringify!(unpacker_data_t),
14209            "::",
14210            stringify!(is_Sony)
14211        )
14212    );
14213    assert_eq!(
14214        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).is_pana_raw as *const _ as usize },
14215        1316usize,
14216        concat!(
14217            "Offset of field: ",
14218            stringify!(unpacker_data_t),
14219            "::",
14220            stringify!(is_pana_raw)
14221        )
14222    );
14223    assert_eq!(
14224        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).is_4K_RAFdata as *const _ as usize },
14225        1320usize,
14226        concat!(
14227            "Offset of field: ",
14228            stringify!(unpacker_data_t),
14229            "::",
14230            stringify!(is_4K_RAFdata)
14231        )
14232    );
14233    assert_eq!(
14234        unsafe {
14235            &(*(::core::ptr::null::<unpacker_data_t>())).is_PentaxRicohMakernotes as *const _
14236                as usize
14237        },
14238        1324usize,
14239        concat!(
14240            "Offset of field: ",
14241            stringify!(unpacker_data_t),
14242            "::",
14243            stringify!(is_PentaxRicohMakernotes)
14244        )
14245    );
14246    assert_eq!(
14247        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).dng_frames as *const _ as usize },
14248        1328usize,
14249        concat!(
14250            "Offset of field: ",
14251            stringify!(unpacker_data_t),
14252            "::",
14253            stringify!(dng_frames)
14254        )
14255    );
14256    assert_eq!(
14257        unsafe { &(*(::core::ptr::null::<unpacker_data_t>())).raw_stride as *const _ as usize },
14258        1408usize,
14259        concat!(
14260            "Offset of field: ",
14261            stringify!(unpacker_data_t),
14262            "::",
14263            stringify!(raw_stride)
14264        )
14265    );
14266}
14267#[repr(C)]
14268#[derive(Debug, Copy, Clone, PartialEq, Eq)]
14269pub struct libraw_internal_data_t {
14270    pub internal_data: internal_data_t,
14271    pub internal_output_params: libraw_internal_output_params_t,
14272    pub output_data: output_data_t,
14273    pub identify_data: identify_data_t,
14274    pub unpacker_data: unpacker_data_t,
14275}
14276#[test]
14277fn bindgen_test_layout_libraw_internal_data_t() {
14278    assert_eq!(
14279        ::core::mem::size_of::<libraw_internal_data_t>(),
14280        1552usize,
14281        concat!("Size of: ", stringify!(libraw_internal_data_t))
14282    );
14283    assert_eq!(
14284        ::core::mem::align_of::<libraw_internal_data_t>(),
14285        8usize,
14286        concat!("Alignment of ", stringify!(libraw_internal_data_t))
14287    );
14288    assert_eq!(
14289        unsafe {
14290            &(*(::core::ptr::null::<libraw_internal_data_t>())).internal_data as *const _ as usize
14291        },
14292        0usize,
14293        concat!(
14294            "Offset of field: ",
14295            stringify!(libraw_internal_data_t),
14296            "::",
14297            stringify!(internal_data)
14298        )
14299    );
14300    assert_eq!(
14301        unsafe {
14302            &(*(::core::ptr::null::<libraw_internal_data_t>())).internal_output_params as *const _
14303                as usize
14304        },
14305        64usize,
14306        concat!(
14307            "Offset of field: ",
14308            stringify!(libraw_internal_data_t),
14309            "::",
14310            stringify!(internal_output_params)
14311        )
14312    );
14313    assert_eq!(
14314        unsafe {
14315            &(*(::core::ptr::null::<libraw_internal_data_t>())).output_data as *const _ as usize
14316        },
14317        80usize,
14318        concat!(
14319            "Offset of field: ",
14320            stringify!(libraw_internal_data_t),
14321            "::",
14322            stringify!(output_data)
14323        )
14324    );
14325    assert_eq!(
14326        unsafe {
14327            &(*(::core::ptr::null::<libraw_internal_data_t>())).identify_data as *const _ as usize
14328        },
14329        96usize,
14330        concat!(
14331            "Offset of field: ",
14332            stringify!(libraw_internal_data_t),
14333            "::",
14334            stringify!(identify_data)
14335        )
14336    );
14337    assert_eq!(
14338        unsafe {
14339            &(*(::core::ptr::null::<libraw_internal_data_t>())).unpacker_data as *const _ as usize
14340        },
14341        136usize,
14342        concat!(
14343            "Offset of field: ",
14344            stringify!(libraw_internal_data_t),
14345            "::",
14346            stringify!(unpacker_data)
14347        )
14348    );
14349}
14350#[repr(C)]
14351#[derive(Debug, Copy, Clone, PartialEq, Eq)]
14352pub struct decode {
14353    pub branch: [*mut decode; 2usize],
14354    pub leaf: libc::c_int,
14355}
14356#[test]
14357fn bindgen_test_layout_decode() {
14358    assert_eq!(
14359        ::core::mem::size_of::<decode>(),
14360        24usize,
14361        concat!("Size of: ", stringify!(decode))
14362    );
14363    assert_eq!(
14364        ::core::mem::align_of::<decode>(),
14365        8usize,
14366        concat!("Alignment of ", stringify!(decode))
14367    );
14368    assert_eq!(
14369        unsafe { &(*(::core::ptr::null::<decode>())).branch as *const _ as usize },
14370        0usize,
14371        concat!(
14372            "Offset of field: ",
14373            stringify!(decode),
14374            "::",
14375            stringify!(branch)
14376        )
14377    );
14378    assert_eq!(
14379        unsafe { &(*(::core::ptr::null::<decode>())).leaf as *const _ as usize },
14380        16usize,
14381        concat!(
14382            "Offset of field: ",
14383            stringify!(decode),
14384            "::",
14385            stringify!(leaf)
14386        )
14387    );
14388}
14389#[repr(C)]
14390#[derive(Copy, Clone)]
14391pub struct tiff_ifd_t {
14392    pub t_width: libc::c_int,
14393    pub t_height: libc::c_int,
14394    pub bps: libc::c_int,
14395    pub comp: libc::c_int,
14396    pub phint: libc::c_int,
14397    pub offset: libc::c_int,
14398    pub t_flip: libc::c_int,
14399    pub samples: libc::c_int,
14400    pub bytes: libc::c_int,
14401    pub extrasamples: libc::c_int,
14402    pub t_tile_width: libc::c_int,
14403    pub t_tile_length: libc::c_int,
14404    pub sample_format: libc::c_int,
14405    pub predictor: libc::c_int,
14406    pub rows_per_strip: libc::c_int,
14407    pub strip_offsets: *mut libc::c_int,
14408    pub strip_offsets_count: libc::c_int,
14409    pub strip_byte_counts: *mut libc::c_int,
14410    pub strip_byte_counts_count: libc::c_int,
14411    pub t_filters: libc::c_uint,
14412    pub t_vwidth: libc::c_int,
14413    pub t_vheight: libc::c_int,
14414    pub t_lm: libc::c_int,
14415    pub t_tm: libc::c_int,
14416    pub t_fuji_width: libc::c_int,
14417    pub t_shutter: f32,
14418    pub opcode2_offset: INT64,
14419    pub lineartable_offset: INT64,
14420    pub lineartable_len: libc::c_int,
14421    pub dng_color: [libraw_dng_color_t; 2usize],
14422    pub dng_levels: libraw_dng_levels_t,
14423    pub newsubfiletype: libc::c_int,
14424}
14425#[test]
14426fn bindgen_test_layout_tiff_ifd_t() {
14427    assert_eq!(
14428        ::core::mem::size_of::<tiff_ifd_t>(),
14429        33400usize,
14430        concat!("Size of: ", stringify!(tiff_ifd_t))
14431    );
14432    assert_eq!(
14433        ::core::mem::align_of::<tiff_ifd_t>(),
14434        8usize,
14435        concat!("Alignment of ", stringify!(tiff_ifd_t))
14436    );
14437    assert_eq!(
14438        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_width as *const _ as usize },
14439        0usize,
14440        concat!(
14441            "Offset of field: ",
14442            stringify!(tiff_ifd_t),
14443            "::",
14444            stringify!(t_width)
14445        )
14446    );
14447    assert_eq!(
14448        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_height as *const _ as usize },
14449        4usize,
14450        concat!(
14451            "Offset of field: ",
14452            stringify!(tiff_ifd_t),
14453            "::",
14454            stringify!(t_height)
14455        )
14456    );
14457    assert_eq!(
14458        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).bps as *const _ as usize },
14459        8usize,
14460        concat!(
14461            "Offset of field: ",
14462            stringify!(tiff_ifd_t),
14463            "::",
14464            stringify!(bps)
14465        )
14466    );
14467    assert_eq!(
14468        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).comp as *const _ as usize },
14469        12usize,
14470        concat!(
14471            "Offset of field: ",
14472            stringify!(tiff_ifd_t),
14473            "::",
14474            stringify!(comp)
14475        )
14476    );
14477    assert_eq!(
14478        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).phint as *const _ as usize },
14479        16usize,
14480        concat!(
14481            "Offset of field: ",
14482            stringify!(tiff_ifd_t),
14483            "::",
14484            stringify!(phint)
14485        )
14486    );
14487    assert_eq!(
14488        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).offset as *const _ as usize },
14489        20usize,
14490        concat!(
14491            "Offset of field: ",
14492            stringify!(tiff_ifd_t),
14493            "::",
14494            stringify!(offset)
14495        )
14496    );
14497    assert_eq!(
14498        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_flip as *const _ as usize },
14499        24usize,
14500        concat!(
14501            "Offset of field: ",
14502            stringify!(tiff_ifd_t),
14503            "::",
14504            stringify!(t_flip)
14505        )
14506    );
14507    assert_eq!(
14508        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).samples as *const _ as usize },
14509        28usize,
14510        concat!(
14511            "Offset of field: ",
14512            stringify!(tiff_ifd_t),
14513            "::",
14514            stringify!(samples)
14515        )
14516    );
14517    assert_eq!(
14518        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).bytes as *const _ as usize },
14519        32usize,
14520        concat!(
14521            "Offset of field: ",
14522            stringify!(tiff_ifd_t),
14523            "::",
14524            stringify!(bytes)
14525        )
14526    );
14527    assert_eq!(
14528        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).extrasamples as *const _ as usize },
14529        36usize,
14530        concat!(
14531            "Offset of field: ",
14532            stringify!(tiff_ifd_t),
14533            "::",
14534            stringify!(extrasamples)
14535        )
14536    );
14537    assert_eq!(
14538        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_tile_width as *const _ as usize },
14539        40usize,
14540        concat!(
14541            "Offset of field: ",
14542            stringify!(tiff_ifd_t),
14543            "::",
14544            stringify!(t_tile_width)
14545        )
14546    );
14547    assert_eq!(
14548        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_tile_length as *const _ as usize },
14549        44usize,
14550        concat!(
14551            "Offset of field: ",
14552            stringify!(tiff_ifd_t),
14553            "::",
14554            stringify!(t_tile_length)
14555        )
14556    );
14557    assert_eq!(
14558        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).sample_format as *const _ as usize },
14559        48usize,
14560        concat!(
14561            "Offset of field: ",
14562            stringify!(tiff_ifd_t),
14563            "::",
14564            stringify!(sample_format)
14565        )
14566    );
14567    assert_eq!(
14568        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).predictor as *const _ as usize },
14569        52usize,
14570        concat!(
14571            "Offset of field: ",
14572            stringify!(tiff_ifd_t),
14573            "::",
14574            stringify!(predictor)
14575        )
14576    );
14577    assert_eq!(
14578        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).rows_per_strip as *const _ as usize },
14579        56usize,
14580        concat!(
14581            "Offset of field: ",
14582            stringify!(tiff_ifd_t),
14583            "::",
14584            stringify!(rows_per_strip)
14585        )
14586    );
14587    assert_eq!(
14588        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).strip_offsets as *const _ as usize },
14589        64usize,
14590        concat!(
14591            "Offset of field: ",
14592            stringify!(tiff_ifd_t),
14593            "::",
14594            stringify!(strip_offsets)
14595        )
14596    );
14597    assert_eq!(
14598        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).strip_offsets_count as *const _ as usize },
14599        72usize,
14600        concat!(
14601            "Offset of field: ",
14602            stringify!(tiff_ifd_t),
14603            "::",
14604            stringify!(strip_offsets_count)
14605        )
14606    );
14607    assert_eq!(
14608        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).strip_byte_counts as *const _ as usize },
14609        80usize,
14610        concat!(
14611            "Offset of field: ",
14612            stringify!(tiff_ifd_t),
14613            "::",
14614            stringify!(strip_byte_counts)
14615        )
14616    );
14617    assert_eq!(
14618        unsafe {
14619            &(*(::core::ptr::null::<tiff_ifd_t>())).strip_byte_counts_count as *const _ as usize
14620        },
14621        88usize,
14622        concat!(
14623            "Offset of field: ",
14624            stringify!(tiff_ifd_t),
14625            "::",
14626            stringify!(strip_byte_counts_count)
14627        )
14628    );
14629    assert_eq!(
14630        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_filters as *const _ as usize },
14631        92usize,
14632        concat!(
14633            "Offset of field: ",
14634            stringify!(tiff_ifd_t),
14635            "::",
14636            stringify!(t_filters)
14637        )
14638    );
14639    assert_eq!(
14640        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_vwidth as *const _ as usize },
14641        96usize,
14642        concat!(
14643            "Offset of field: ",
14644            stringify!(tiff_ifd_t),
14645            "::",
14646            stringify!(t_vwidth)
14647        )
14648    );
14649    assert_eq!(
14650        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_vheight as *const _ as usize },
14651        100usize,
14652        concat!(
14653            "Offset of field: ",
14654            stringify!(tiff_ifd_t),
14655            "::",
14656            stringify!(t_vheight)
14657        )
14658    );
14659    assert_eq!(
14660        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_lm as *const _ as usize },
14661        104usize,
14662        concat!(
14663            "Offset of field: ",
14664            stringify!(tiff_ifd_t),
14665            "::",
14666            stringify!(t_lm)
14667        )
14668    );
14669    assert_eq!(
14670        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_tm as *const _ as usize },
14671        108usize,
14672        concat!(
14673            "Offset of field: ",
14674            stringify!(tiff_ifd_t),
14675            "::",
14676            stringify!(t_tm)
14677        )
14678    );
14679    assert_eq!(
14680        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_fuji_width as *const _ as usize },
14681        112usize,
14682        concat!(
14683            "Offset of field: ",
14684            stringify!(tiff_ifd_t),
14685            "::",
14686            stringify!(t_fuji_width)
14687        )
14688    );
14689    assert_eq!(
14690        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).t_shutter as *const _ as usize },
14691        116usize,
14692        concat!(
14693            "Offset of field: ",
14694            stringify!(tiff_ifd_t),
14695            "::",
14696            stringify!(t_shutter)
14697        )
14698    );
14699    assert_eq!(
14700        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).opcode2_offset as *const _ as usize },
14701        120usize,
14702        concat!(
14703            "Offset of field: ",
14704            stringify!(tiff_ifd_t),
14705            "::",
14706            stringify!(opcode2_offset)
14707        )
14708    );
14709    assert_eq!(
14710        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).lineartable_offset as *const _ as usize },
14711        128usize,
14712        concat!(
14713            "Offset of field: ",
14714            stringify!(tiff_ifd_t),
14715            "::",
14716            stringify!(lineartable_offset)
14717        )
14718    );
14719    assert_eq!(
14720        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).lineartable_len as *const _ as usize },
14721        136usize,
14722        concat!(
14723            "Offset of field: ",
14724            stringify!(tiff_ifd_t),
14725            "::",
14726            stringify!(lineartable_len)
14727        )
14728    );
14729    assert_eq!(
14730        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).dng_color as *const _ as usize },
14731        140usize,
14732        concat!(
14733            "Offset of field: ",
14734            stringify!(tiff_ifd_t),
14735            "::",
14736            stringify!(dng_color)
14737        )
14738    );
14739    assert_eq!(
14740        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).dng_levels as *const _ as usize },
14741        476usize,
14742        concat!(
14743            "Offset of field: ",
14744            stringify!(tiff_ifd_t),
14745            "::",
14746            stringify!(dng_levels)
14747        )
14748    );
14749    assert_eq!(
14750        unsafe { &(*(::core::ptr::null::<tiff_ifd_t>())).newsubfiletype as *const _ as usize },
14751        33396usize,
14752        concat!(
14753            "Offset of field: ",
14754            stringify!(tiff_ifd_t),
14755            "::",
14756            stringify!(newsubfiletype)
14757        )
14758    );
14759}
14760#[repr(C)]
14761#[derive(Copy, Clone)]
14762pub struct jhead {
14763    pub algo: libc::c_int,
14764    pub bits: libc::c_int,
14765    pub high: libc::c_int,
14766    pub wide: libc::c_int,
14767    pub clrs: libc::c_int,
14768    pub sraw: libc::c_int,
14769    pub psv: libc::c_int,
14770    pub restart: libc::c_int,
14771    pub vpred: [libc::c_int; 6usize],
14772    pub quant: [ushort; 64usize],
14773    pub idct: [ushort; 64usize],
14774    pub huff: [*mut ushort; 20usize],
14775    pub free: [*mut ushort; 20usize],
14776    pub row: *mut ushort,
14777}
14778#[test]
14779fn bindgen_test_layout_jhead() {
14780    assert_eq!(
14781        ::core::mem::size_of::<jhead>(),
14782        640usize,
14783        concat!("Size of: ", stringify!(jhead))
14784    );
14785    assert_eq!(
14786        ::core::mem::align_of::<jhead>(),
14787        8usize,
14788        concat!("Alignment of ", stringify!(jhead))
14789    );
14790    assert_eq!(
14791        unsafe { &(*(::core::ptr::null::<jhead>())).algo as *const _ as usize },
14792        0usize,
14793        concat!(
14794            "Offset of field: ",
14795            stringify!(jhead),
14796            "::",
14797            stringify!(algo)
14798        )
14799    );
14800    assert_eq!(
14801        unsafe { &(*(::core::ptr::null::<jhead>())).bits as *const _ as usize },
14802        4usize,
14803        concat!(
14804            "Offset of field: ",
14805            stringify!(jhead),
14806            "::",
14807            stringify!(bits)
14808        )
14809    );
14810    assert_eq!(
14811        unsafe { &(*(::core::ptr::null::<jhead>())).high as *const _ as usize },
14812        8usize,
14813        concat!(
14814            "Offset of field: ",
14815            stringify!(jhead),
14816            "::",
14817            stringify!(high)
14818        )
14819    );
14820    assert_eq!(
14821        unsafe { &(*(::core::ptr::null::<jhead>())).wide as *const _ as usize },
14822        12usize,
14823        concat!(
14824            "Offset of field: ",
14825            stringify!(jhead),
14826            "::",
14827            stringify!(wide)
14828        )
14829    );
14830    assert_eq!(
14831        unsafe { &(*(::core::ptr::null::<jhead>())).clrs as *const _ as usize },
14832        16usize,
14833        concat!(
14834            "Offset of field: ",
14835            stringify!(jhead),
14836            "::",
14837            stringify!(clrs)
14838        )
14839    );
14840    assert_eq!(
14841        unsafe { &(*(::core::ptr::null::<jhead>())).sraw as *const _ as usize },
14842        20usize,
14843        concat!(
14844            "Offset of field: ",
14845            stringify!(jhead),
14846            "::",
14847            stringify!(sraw)
14848        )
14849    );
14850    assert_eq!(
14851        unsafe { &(*(::core::ptr::null::<jhead>())).psv as *const _ as usize },
14852        24usize,
14853        concat!(
14854            "Offset of field: ",
14855            stringify!(jhead),
14856            "::",
14857            stringify!(psv)
14858        )
14859    );
14860    assert_eq!(
14861        unsafe { &(*(::core::ptr::null::<jhead>())).restart as *const _ as usize },
14862        28usize,
14863        concat!(
14864            "Offset of field: ",
14865            stringify!(jhead),
14866            "::",
14867            stringify!(restart)
14868        )
14869    );
14870    assert_eq!(
14871        unsafe { &(*(::core::ptr::null::<jhead>())).vpred as *const _ as usize },
14872        32usize,
14873        concat!(
14874            "Offset of field: ",
14875            stringify!(jhead),
14876            "::",
14877            stringify!(vpred)
14878        )
14879    );
14880    assert_eq!(
14881        unsafe { &(*(::core::ptr::null::<jhead>())).quant as *const _ as usize },
14882        56usize,
14883        concat!(
14884            "Offset of field: ",
14885            stringify!(jhead),
14886            "::",
14887            stringify!(quant)
14888        )
14889    );
14890    assert_eq!(
14891        unsafe { &(*(::core::ptr::null::<jhead>())).idct as *const _ as usize },
14892        184usize,
14893        concat!(
14894            "Offset of field: ",
14895            stringify!(jhead),
14896            "::",
14897            stringify!(idct)
14898        )
14899    );
14900    assert_eq!(
14901        unsafe { &(*(::core::ptr::null::<jhead>())).huff as *const _ as usize },
14902        312usize,
14903        concat!(
14904            "Offset of field: ",
14905            stringify!(jhead),
14906            "::",
14907            stringify!(huff)
14908        )
14909    );
14910    assert_eq!(
14911        unsafe { &(*(::core::ptr::null::<jhead>())).free as *const _ as usize },
14912        472usize,
14913        concat!(
14914            "Offset of field: ",
14915            stringify!(jhead),
14916            "::",
14917            stringify!(free)
14918        )
14919    );
14920    assert_eq!(
14921        unsafe { &(*(::core::ptr::null::<jhead>())).row as *const _ as usize },
14922        632usize,
14923        concat!(
14924            "Offset of field: ",
14925            stringify!(jhead),
14926            "::",
14927            stringify!(row)
14928        )
14929    );
14930}
14931#[repr(C)]
14932#[derive(Copy, Clone)]
14933pub struct libraw_tiff_tag {
14934    pub tag: ushort,
14935    pub type_: ushort,
14936    pub count: libc::c_int,
14937    pub val: libraw_tiff_tag__bindgen_ty_1,
14938}
14939#[repr(C)]
14940#[derive(Copy, Clone)]
14941pub union libraw_tiff_tag__bindgen_ty_1 {
14942    pub c: [libc::c_char; 4usize],
14943    pub s: [libc::c_short; 2usize],
14944    pub i: libc::c_int,
14945    _bindgen_union_align: u32,
14946}
14947#[test]
14948fn bindgen_test_layout_libraw_tiff_tag__bindgen_ty_1() {
14949    assert_eq!(
14950        ::core::mem::size_of::<libraw_tiff_tag__bindgen_ty_1>(),
14951        4usize,
14952        concat!("Size of: ", stringify!(libraw_tiff_tag__bindgen_ty_1))
14953    );
14954    assert_eq!(
14955        ::core::mem::align_of::<libraw_tiff_tag__bindgen_ty_1>(),
14956        4usize,
14957        concat!("Alignment of ", stringify!(libraw_tiff_tag__bindgen_ty_1))
14958    );
14959    assert_eq!(
14960        unsafe {
14961            &(*(::core::ptr::null::<libraw_tiff_tag__bindgen_ty_1>())).c as *const _ as usize
14962        },
14963        0usize,
14964        concat!(
14965            "Offset of field: ",
14966            stringify!(libraw_tiff_tag__bindgen_ty_1),
14967            "::",
14968            stringify!(c)
14969        )
14970    );
14971    assert_eq!(
14972        unsafe {
14973            &(*(::core::ptr::null::<libraw_tiff_tag__bindgen_ty_1>())).s as *const _ as usize
14974        },
14975        0usize,
14976        concat!(
14977            "Offset of field: ",
14978            stringify!(libraw_tiff_tag__bindgen_ty_1),
14979            "::",
14980            stringify!(s)
14981        )
14982    );
14983    assert_eq!(
14984        unsafe {
14985            &(*(::core::ptr::null::<libraw_tiff_tag__bindgen_ty_1>())).i as *const _ as usize
14986        },
14987        0usize,
14988        concat!(
14989            "Offset of field: ",
14990            stringify!(libraw_tiff_tag__bindgen_ty_1),
14991            "::",
14992            stringify!(i)
14993        )
14994    );
14995}
14996#[test]
14997fn bindgen_test_layout_libraw_tiff_tag() {
14998    assert_eq!(
14999        ::core::mem::size_of::<libraw_tiff_tag>(),
15000        12usize,
15001        concat!("Size of: ", stringify!(libraw_tiff_tag))
15002    );
15003    assert_eq!(
15004        ::core::mem::align_of::<libraw_tiff_tag>(),
15005        4usize,
15006        concat!("Alignment of ", stringify!(libraw_tiff_tag))
15007    );
15008    assert_eq!(
15009        unsafe { &(*(::core::ptr::null::<libraw_tiff_tag>())).tag as *const _ as usize },
15010        0usize,
15011        concat!(
15012            "Offset of field: ",
15013            stringify!(libraw_tiff_tag),
15014            "::",
15015            stringify!(tag)
15016        )
15017    );
15018    assert_eq!(
15019        unsafe { &(*(::core::ptr::null::<libraw_tiff_tag>())).type_ as *const _ as usize },
15020        2usize,
15021        concat!(
15022            "Offset of field: ",
15023            stringify!(libraw_tiff_tag),
15024            "::",
15025            stringify!(type_)
15026        )
15027    );
15028    assert_eq!(
15029        unsafe { &(*(::core::ptr::null::<libraw_tiff_tag>())).count as *const _ as usize },
15030        4usize,
15031        concat!(
15032            "Offset of field: ",
15033            stringify!(libraw_tiff_tag),
15034            "::",
15035            stringify!(count)
15036        )
15037    );
15038    assert_eq!(
15039        unsafe { &(*(::core::ptr::null::<libraw_tiff_tag>())).val as *const _ as usize },
15040        8usize,
15041        concat!(
15042            "Offset of field: ",
15043            stringify!(libraw_tiff_tag),
15044            "::",
15045            stringify!(val)
15046        )
15047    );
15048}
15049#[repr(C)]
15050#[derive(Copy, Clone)]
15051pub struct tiff_hdr {
15052    pub t_order: ushort,
15053    pub magic: ushort,
15054    pub ifd: libc::c_int,
15055    pub pad: ushort,
15056    pub ntag: ushort,
15057    pub tag: [libraw_tiff_tag; 23usize],
15058    pub nextifd: libc::c_int,
15059    pub pad2: ushort,
15060    pub nexif: ushort,
15061    pub exif: [libraw_tiff_tag; 4usize],
15062    pub pad3: ushort,
15063    pub ngps: ushort,
15064    pub gpst: [libraw_tiff_tag; 10usize],
15065    pub bps: [libc::c_short; 4usize],
15066    pub rat: [libc::c_int; 10usize],
15067    pub gps: [libc::c_uint; 26usize],
15068    pub t_desc: [libc::c_char; 512usize],
15069    pub t_make: [libc::c_char; 64usize],
15070    pub t_model: [libc::c_char; 64usize],
15071    pub soft: [libc::c_char; 32usize],
15072    pub date: [libc::c_char; 20usize],
15073    pub t_artist: [libc::c_char; 64usize],
15074}
15075#[test]
15076fn bindgen_test_layout_tiff_hdr() {
15077    assert_eq!(
15078        ::core::mem::size_of::<tiff_hdr>(),
15079        1376usize,
15080        concat!("Size of: ", stringify!(tiff_hdr))
15081    );
15082    assert_eq!(
15083        ::core::mem::align_of::<tiff_hdr>(),
15084        4usize,
15085        concat!("Alignment of ", stringify!(tiff_hdr))
15086    );
15087    assert_eq!(
15088        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).t_order as *const _ as usize },
15089        0usize,
15090        concat!(
15091            "Offset of field: ",
15092            stringify!(tiff_hdr),
15093            "::",
15094            stringify!(t_order)
15095        )
15096    );
15097    assert_eq!(
15098        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).magic as *const _ as usize },
15099        2usize,
15100        concat!(
15101            "Offset of field: ",
15102            stringify!(tiff_hdr),
15103            "::",
15104            stringify!(magic)
15105        )
15106    );
15107    assert_eq!(
15108        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).ifd as *const _ as usize },
15109        4usize,
15110        concat!(
15111            "Offset of field: ",
15112            stringify!(tiff_hdr),
15113            "::",
15114            stringify!(ifd)
15115        )
15116    );
15117    assert_eq!(
15118        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).pad as *const _ as usize },
15119        8usize,
15120        concat!(
15121            "Offset of field: ",
15122            stringify!(tiff_hdr),
15123            "::",
15124            stringify!(pad)
15125        )
15126    );
15127    assert_eq!(
15128        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).ntag as *const _ as usize },
15129        10usize,
15130        concat!(
15131            "Offset of field: ",
15132            stringify!(tiff_hdr),
15133            "::",
15134            stringify!(ntag)
15135        )
15136    );
15137    assert_eq!(
15138        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).tag as *const _ as usize },
15139        12usize,
15140        concat!(
15141            "Offset of field: ",
15142            stringify!(tiff_hdr),
15143            "::",
15144            stringify!(tag)
15145        )
15146    );
15147    assert_eq!(
15148        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).nextifd as *const _ as usize },
15149        288usize,
15150        concat!(
15151            "Offset of field: ",
15152            stringify!(tiff_hdr),
15153            "::",
15154            stringify!(nextifd)
15155        )
15156    );
15157    assert_eq!(
15158        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).pad2 as *const _ as usize },
15159        292usize,
15160        concat!(
15161            "Offset of field: ",
15162            stringify!(tiff_hdr),
15163            "::",
15164            stringify!(pad2)
15165        )
15166    );
15167    assert_eq!(
15168        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).nexif as *const _ as usize },
15169        294usize,
15170        concat!(
15171            "Offset of field: ",
15172            stringify!(tiff_hdr),
15173            "::",
15174            stringify!(nexif)
15175        )
15176    );
15177    assert_eq!(
15178        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).exif as *const _ as usize },
15179        296usize,
15180        concat!(
15181            "Offset of field: ",
15182            stringify!(tiff_hdr),
15183            "::",
15184            stringify!(exif)
15185        )
15186    );
15187    assert_eq!(
15188        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).pad3 as *const _ as usize },
15189        344usize,
15190        concat!(
15191            "Offset of field: ",
15192            stringify!(tiff_hdr),
15193            "::",
15194            stringify!(pad3)
15195        )
15196    );
15197    assert_eq!(
15198        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).ngps as *const _ as usize },
15199        346usize,
15200        concat!(
15201            "Offset of field: ",
15202            stringify!(tiff_hdr),
15203            "::",
15204            stringify!(ngps)
15205        )
15206    );
15207    assert_eq!(
15208        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).gpst as *const _ as usize },
15209        348usize,
15210        concat!(
15211            "Offset of field: ",
15212            stringify!(tiff_hdr),
15213            "::",
15214            stringify!(gpst)
15215        )
15216    );
15217    assert_eq!(
15218        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).bps as *const _ as usize },
15219        468usize,
15220        concat!(
15221            "Offset of field: ",
15222            stringify!(tiff_hdr),
15223            "::",
15224            stringify!(bps)
15225        )
15226    );
15227    assert_eq!(
15228        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).rat as *const _ as usize },
15229        476usize,
15230        concat!(
15231            "Offset of field: ",
15232            stringify!(tiff_hdr),
15233            "::",
15234            stringify!(rat)
15235        )
15236    );
15237    assert_eq!(
15238        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).gps as *const _ as usize },
15239        516usize,
15240        concat!(
15241            "Offset of field: ",
15242            stringify!(tiff_hdr),
15243            "::",
15244            stringify!(gps)
15245        )
15246    );
15247    assert_eq!(
15248        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).t_desc as *const _ as usize },
15249        620usize,
15250        concat!(
15251            "Offset of field: ",
15252            stringify!(tiff_hdr),
15253            "::",
15254            stringify!(t_desc)
15255        )
15256    );
15257    assert_eq!(
15258        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).t_make as *const _ as usize },
15259        1132usize,
15260        concat!(
15261            "Offset of field: ",
15262            stringify!(tiff_hdr),
15263            "::",
15264            stringify!(t_make)
15265        )
15266    );
15267    assert_eq!(
15268        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).t_model as *const _ as usize },
15269        1196usize,
15270        concat!(
15271            "Offset of field: ",
15272            stringify!(tiff_hdr),
15273            "::",
15274            stringify!(t_model)
15275        )
15276    );
15277    assert_eq!(
15278        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).soft as *const _ as usize },
15279        1260usize,
15280        concat!(
15281            "Offset of field: ",
15282            stringify!(tiff_hdr),
15283            "::",
15284            stringify!(soft)
15285        )
15286    );
15287    assert_eq!(
15288        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).date as *const _ as usize },
15289        1292usize,
15290        concat!(
15291            "Offset of field: ",
15292            stringify!(tiff_hdr),
15293            "::",
15294            stringify!(date)
15295        )
15296    );
15297    assert_eq!(
15298        unsafe { &(*(::core::ptr::null::<tiff_hdr>())).t_artist as *const _ as usize },
15299        1312usize,
15300        concat!(
15301            "Offset of field: ",
15302            stringify!(tiff_hdr),
15303            "::",
15304            stringify!(t_artist)
15305        )
15306    );
15307}
15308extern "C" {
15309    pub fn libraw_strerror(errorcode: libc::c_int) -> *const libc::c_char;
15310}
15311extern "C" {
15312    pub fn libraw_strprogress(arg1: LibRaw_progress) -> *const libc::c_char;
15313}
15314extern "C" {
15315    pub fn libraw_init(flags: libc::c_uint) -> *mut libraw_data_t;
15316}
15317extern "C" {
15318    pub fn libraw_open_file(arg1: *mut libraw_data_t, arg2: *const libc::c_char) -> libc::c_int;
15319}
15320extern "C" {
15321    pub fn libraw_open_file_ex(
15322        arg1: *mut libraw_data_t,
15323        arg2: *const libc::c_char,
15324        max_buff_sz: INT64,
15325    ) -> libc::c_int;
15326}
15327extern "C" {
15328    pub fn libraw_open_buffer(
15329        arg1: *mut libraw_data_t,
15330        buffer: *const libc::c_void,
15331        size: usize,
15332    ) -> libc::c_int;
15333}
15334extern "C" {
15335    pub fn libraw_unpack(arg1: *mut libraw_data_t) -> libc::c_int;
15336}
15337extern "C" {
15338    pub fn libraw_unpack_thumb(arg1: *mut libraw_data_t) -> libc::c_int;
15339}
15340extern "C" {
15341    pub fn libraw_recycle_datastream(arg1: *mut libraw_data_t);
15342}
15343extern "C" {
15344    pub fn libraw_recycle(arg1: *mut libraw_data_t);
15345}
15346extern "C" {
15347    pub fn libraw_close(arg1: *mut libraw_data_t);
15348}
15349extern "C" {
15350    pub fn libraw_subtract_black(arg1: *mut libraw_data_t);
15351}
15352extern "C" {
15353    pub fn libraw_raw2image(arg1: *mut libraw_data_t) -> libc::c_int;
15354}
15355extern "C" {
15356    pub fn libraw_free_image(arg1: *mut libraw_data_t);
15357}
15358extern "C" {
15359    pub fn libraw_version() -> *const libc::c_char;
15360}
15361extern "C" {
15362    pub fn libraw_versionNumber() -> libc::c_int;
15363}
15364extern "C" {
15365    pub fn libraw_cameraList() -> *mut *const libc::c_char;
15366}
15367extern "C" {
15368    pub fn libraw_cameraCount() -> libc::c_int;
15369}
15370extern "C" {
15371    pub fn libraw_set_memerror_handler(
15372        arg1: *mut libraw_data_t,
15373        cb: memory_callback,
15374        datap: *mut libc::c_void,
15375    );
15376}
15377extern "C" {
15378    pub fn libraw_set_exifparser_handler(
15379        arg1: *mut libraw_data_t,
15380        cb: exif_parser_callback,
15381        datap: *mut libc::c_void,
15382    );
15383}
15384extern "C" {
15385    pub fn libraw_set_dataerror_handler(
15386        arg1: *mut libraw_data_t,
15387        func: data_callback,
15388        datap: *mut libc::c_void,
15389    );
15390}
15391extern "C" {
15392    pub fn libraw_set_progress_handler(
15393        arg1: *mut libraw_data_t,
15394        cb: progress_callback,
15395        datap: *mut libc::c_void,
15396    );
15397}
15398extern "C" {
15399    pub fn libraw_unpack_function_name(lr: *mut libraw_data_t) -> *const libc::c_char;
15400}
15401extern "C" {
15402    pub fn libraw_get_decoder_info(
15403        lr: *mut libraw_data_t,
15404        d: *mut libraw_decoder_info_t,
15405    ) -> libc::c_int;
15406}
15407extern "C" {
15408    pub fn libraw_COLOR(
15409        arg1: *mut libraw_data_t,
15410        row: libc::c_int,
15411        col: libc::c_int,
15412    ) -> libc::c_int;
15413}
15414extern "C" {
15415    pub fn libraw_capabilities() -> libc::c_uint;
15416}
15417extern "C" {
15418    pub fn libraw_adjust_sizes_info_only(arg1: *mut libraw_data_t) -> libc::c_int;
15419}
15420extern "C" {
15421    pub fn libraw_dcraw_ppm_tiff_writer(
15422        lr: *mut libraw_data_t,
15423        filename: *const libc::c_char,
15424    ) -> libc::c_int;
15425}
15426extern "C" {
15427    pub fn libraw_dcraw_thumb_writer(
15428        lr: *mut libraw_data_t,
15429        fname: *const libc::c_char,
15430    ) -> libc::c_int;
15431}
15432extern "C" {
15433    pub fn libraw_dcraw_process(lr: *mut libraw_data_t) -> libc::c_int;
15434}
15435extern "C" {
15436    pub fn libraw_dcraw_make_mem_image(
15437        lr: *mut libraw_data_t,
15438        errc: *mut libc::c_int,
15439    ) -> *mut libraw_processed_image_t;
15440}
15441extern "C" {
15442    pub fn libraw_dcraw_make_mem_thumb(
15443        lr: *mut libraw_data_t,
15444        errc: *mut libc::c_int,
15445    ) -> *mut libraw_processed_image_t;
15446}
15447extern "C" {
15448    pub fn libraw_dcraw_clear_mem(arg1: *mut libraw_processed_image_t);
15449}
15450extern "C" {
15451    pub fn libraw_set_demosaic(lr: *mut libraw_data_t, value: libc::c_int);
15452}
15453extern "C" {
15454    pub fn libraw_set_output_color(lr: *mut libraw_data_t, value: libc::c_int);
15455}
15456extern "C" {
15457    pub fn libraw_set_user_mul(lr: *mut libraw_data_t, index: libc::c_int, val: f32);
15458}
15459extern "C" {
15460    pub fn libraw_set_output_bps(lr: *mut libraw_data_t, value: libc::c_int);
15461}
15462extern "C" {
15463    pub fn libraw_set_gamma(lr: *mut libraw_data_t, index: libc::c_int, value: f32);
15464}
15465extern "C" {
15466    pub fn libraw_set_no_auto_bright(lr: *mut libraw_data_t, value: libc::c_int);
15467}
15468extern "C" {
15469    pub fn libraw_set_bright(lr: *mut libraw_data_t, value: f32);
15470}
15471extern "C" {
15472    pub fn libraw_set_highlight(lr: *mut libraw_data_t, value: libc::c_int);
15473}
15474extern "C" {
15475    pub fn libraw_set_fbdd_noiserd(lr: *mut libraw_data_t, value: libc::c_int);
15476}
15477extern "C" {
15478    pub fn libraw_get_raw_height(lr: *mut libraw_data_t) -> libc::c_int;
15479}
15480extern "C" {
15481    pub fn libraw_get_raw_width(lr: *mut libraw_data_t) -> libc::c_int;
15482}
15483extern "C" {
15484    pub fn libraw_get_iheight(lr: *mut libraw_data_t) -> libc::c_int;
15485}
15486extern "C" {
15487    pub fn libraw_get_iwidth(lr: *mut libraw_data_t) -> libc::c_int;
15488}
15489extern "C" {
15490    pub fn libraw_get_cam_mul(lr: *mut libraw_data_t, index: libc::c_int) -> f32;
15491}
15492extern "C" {
15493    pub fn libraw_get_pre_mul(lr: *mut libraw_data_t, index: libc::c_int) -> f32;
15494}
15495extern "C" {
15496    pub fn libraw_get_rgb_cam(
15497        lr: *mut libraw_data_t,
15498        index1: libc::c_int,
15499        index2: libc::c_int,
15500    ) -> f32;
15501}
15502extern "C" {
15503    pub fn libraw_get_color_maximum(lr: *mut libraw_data_t) -> libc::c_int;
15504}
15505extern "C" {
15506    pub fn libraw_set_output_tif(lr: *mut libraw_data_t, value: libc::c_int);
15507}
15508extern "C" {
15509    pub fn libraw_get_iparams(lr: *mut libraw_data_t) -> *mut libraw_iparams_t;
15510}
15511extern "C" {
15512    pub fn libraw_get_lensinfo(lr: *mut libraw_data_t) -> *mut libraw_lensinfo_t;
15513}
15514extern "C" {
15515    pub fn libraw_get_imgother(lr: *mut libraw_data_t) -> *mut libraw_imgother_t;
15516}
15517#[repr(C)]
15518#[derive(Debug, Copy, Clone, PartialEq, Eq)]
15519pub struct __locale_data {
15520    pub _address: u8,
15521}
15522pub type __builtin_va_list = [__va_list_tag; 1usize];
15523#[repr(C)]
15524#[derive(Debug, Copy, Clone, PartialEq, Eq)]
15525pub struct __va_list_tag {
15526    pub gp_offset: libc::c_uint,
15527    pub fp_offset: libc::c_uint,
15528    pub overflow_arg_area: *mut libc::c_void,
15529    pub reg_save_area: *mut libc::c_void,
15530}
15531#[test]
15532fn bindgen_test_layout___va_list_tag() {
15533    assert_eq!(
15534        ::core::mem::size_of::<__va_list_tag>(),
15535        24usize,
15536        concat!("Size of: ", stringify!(__va_list_tag))
15537    );
15538    assert_eq!(
15539        ::core::mem::align_of::<__va_list_tag>(),
15540        8usize,
15541        concat!("Alignment of ", stringify!(__va_list_tag))
15542    );
15543    assert_eq!(
15544        unsafe { &(*(::core::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
15545        0usize,
15546        concat!(
15547            "Offset of field: ",
15548            stringify!(__va_list_tag),
15549            "::",
15550            stringify!(gp_offset)
15551        )
15552    );
15553    assert_eq!(
15554        unsafe { &(*(::core::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
15555        4usize,
15556        concat!(
15557            "Offset of field: ",
15558            stringify!(__va_list_tag),
15559            "::",
15560            stringify!(fp_offset)
15561        )
15562    );
15563    assert_eq!(
15564        unsafe {
15565            &(*(::core::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize
15566        },
15567        8usize,
15568        concat!(
15569            "Offset of field: ",
15570            stringify!(__va_list_tag),
15571            "::",
15572            stringify!(overflow_arg_area)
15573        )
15574    );
15575    assert_eq!(
15576        unsafe { &(*(::core::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
15577        16usize,
15578        concat!(
15579            "Offset of field: ",
15580            stringify!(__va_list_tag),
15581            "::",
15582            stringify!(reg_save_area)
15583        )
15584    );
15585}
15586#[repr(C)]
15587#[derive(Debug, Copy, Clone, PartialEq, Eq)]
15588pub struct LibRaw_abstract_datastream {
15589    pub _address: u8,
15590}