ndi_sys/
sdk.rs

1/* automatically generated by rust-bindgen 0.59.2 */
2
3pub const NDILIB_LIBRARY_NAME: &[u8; 13usize] = b"libndi.dylib\0";
4pub const NDILIB_REDIST_FOLDER: &[u8; 19usize] = b"NDI_RUNTIME_DIR_V5\0";
5pub const NDILIB_REDIST_URL: &[u8; 31usize] = b"http://new.tk/NDIRedistV5Apple\0";
6pub const NDILIB_CPP_DEFAULT_CONSTRUCTORS: u32 = 0;
7pub const true_: u32 = 1;
8pub const false_: u32 = 0;
9pub const __bool_true_false_are_defined: u32 = 1;
10pub const __WORDSIZE: u32 = 64;
11pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 0;
12pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
13pub const __DARWIN_ONLY_VERS_1050: u32 = 0;
14pub const __DARWIN_UNIX03: u32 = 1;
15pub const __DARWIN_64_BIT_INO_T: u32 = 1;
16pub const __DARWIN_VERS_1050: u32 = 1;
17pub const __DARWIN_NON_CANCELABLE: u32 = 0;
18pub const __DARWIN_SUF_64_BIT_INO_T: &[u8; 9usize] = b"$INODE64\0";
19pub const __DARWIN_SUF_1050: &[u8; 6usize] = b"$1050\0";
20pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0";
21pub const __DARWIN_C_ANSI: u32 = 4096;
22pub const __DARWIN_C_FULL: u32 = 900000;
23pub const __DARWIN_C_LEVEL: u32 = 900000;
24pub const __STDC_WANT_LIB_EXT1__: u32 = 1;
25pub const __DARWIN_NO_LONG_LONG: u32 = 0;
26pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
27pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
28pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
29pub const __has_ptrcheck: u32 = 0;
30pub const __PTHREAD_SIZE__: u32 = 8176;
31pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
32pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
33pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
34pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
35pub const __PTHREAD_COND_SIZE__: u32 = 40;
36pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
37pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
38pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
39pub const INT8_MAX: u32 = 127;
40pub const INT16_MAX: u32 = 32767;
41pub const INT32_MAX: u32 = 2147483647;
42pub const INT64_MAX: u64 = 9223372036854775807;
43pub const INT8_MIN: i32 = -128;
44pub const INT16_MIN: i32 = -32768;
45pub const INT32_MIN: i32 = -2147483648;
46pub const INT64_MIN: i64 = -9223372036854775808;
47pub const UINT8_MAX: u32 = 255;
48pub const UINT16_MAX: u32 = 65535;
49pub const UINT32_MAX: u32 = 4294967295;
50pub const UINT64_MAX: i32 = -1;
51pub const INT_LEAST8_MIN: i32 = -128;
52pub const INT_LEAST16_MIN: i32 = -32768;
53pub const INT_LEAST32_MIN: i32 = -2147483648;
54pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
55pub const INT_LEAST8_MAX: u32 = 127;
56pub const INT_LEAST16_MAX: u32 = 32767;
57pub const INT_LEAST32_MAX: u32 = 2147483647;
58pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
59pub const UINT_LEAST8_MAX: u32 = 255;
60pub const UINT_LEAST16_MAX: u32 = 65535;
61pub const UINT_LEAST32_MAX: u32 = 4294967295;
62pub const UINT_LEAST64_MAX: i32 = -1;
63pub const INT_FAST8_MIN: i32 = -128;
64pub const INT_FAST16_MIN: i32 = -32768;
65pub const INT_FAST32_MIN: i32 = -2147483648;
66pub const INT_FAST64_MIN: i64 = -9223372036854775808;
67pub const INT_FAST8_MAX: u32 = 127;
68pub const INT_FAST16_MAX: u32 = 32767;
69pub const INT_FAST32_MAX: u32 = 2147483647;
70pub const INT_FAST64_MAX: u64 = 9223372036854775807;
71pub const UINT_FAST8_MAX: u32 = 255;
72pub const UINT_FAST16_MAX: u32 = 65535;
73pub const UINT_FAST32_MAX: u32 = 4294967295;
74pub const UINT_FAST64_MAX: i32 = -1;
75pub const INTPTR_MAX: u64 = 9223372036854775807;
76pub const INTPTR_MIN: i64 = -9223372036854775808;
77pub const UINTPTR_MAX: i32 = -1;
78pub const SIZE_MAX: i32 = -1;
79pub const RSIZE_MAX: i32 = -1;
80pub const WINT_MIN: i32 = -2147483648;
81pub const WINT_MAX: u32 = 2147483647;
82pub const SIG_ATOMIC_MIN: i32 = -2147483648;
83pub const SIG_ATOMIC_MAX: u32 = 2147483647;
84pub type int_least8_t = i8;
85pub type int_least16_t = i16;
86pub type int_least32_t = i32;
87pub type int_least64_t = i64;
88pub type uint_least8_t = u8;
89pub type uint_least16_t = u16;
90pub type uint_least32_t = u32;
91pub type uint_least64_t = u64;
92pub type int_fast8_t = i8;
93pub type int_fast16_t = i16;
94pub type int_fast32_t = i32;
95pub type int_fast64_t = i64;
96pub type uint_fast8_t = u8;
97pub type uint_fast16_t = u16;
98pub type uint_fast32_t = u32;
99pub type uint_fast64_t = u64;
100pub type __int8_t = ::std::os::raw::c_schar;
101pub type __uint8_t = ::std::os::raw::c_uchar;
102pub type __int16_t = ::std::os::raw::c_short;
103pub type __uint16_t = ::std::os::raw::c_ushort;
104pub type __int32_t = ::std::os::raw::c_int;
105pub type __uint32_t = ::std::os::raw::c_uint;
106pub type __int64_t = ::std::os::raw::c_longlong;
107pub type __uint64_t = ::std::os::raw::c_ulonglong;
108pub type __darwin_intptr_t = ::std::os::raw::c_long;
109pub type __darwin_natural_t = ::std::os::raw::c_uint;
110pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
111#[repr(C)]
112#[derive(Copy, Clone)]
113pub union __mbstate_t {
114    pub __mbstate8: [::std::os::raw::c_char; 128usize],
115    pub _mbstateL: ::std::os::raw::c_longlong,
116}
117#[test]
118fn bindgen_test_layout___mbstate_t() {
119    assert_eq!(
120        ::std::mem::size_of::<__mbstate_t>(),
121        128usize,
122        concat!("Size of: ", stringify!(__mbstate_t))
123    );
124    assert_eq!(
125        ::std::mem::align_of::<__mbstate_t>(),
126        8usize,
127        concat!("Alignment of ", stringify!(__mbstate_t))
128    );
129    assert_eq!(
130        unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__mbstate8 as *const _ as usize },
131        0usize,
132        concat!(
133            "Offset of field: ",
134            stringify!(__mbstate_t),
135            "::",
136            stringify!(__mbstate8)
137        )
138    );
139    assert_eq!(
140        unsafe { &(*(::std::ptr::null::<__mbstate_t>()))._mbstateL as *const _ as usize },
141        0usize,
142        concat!(
143            "Offset of field: ",
144            stringify!(__mbstate_t),
145            "::",
146            stringify!(_mbstateL)
147        )
148    );
149}
150pub type __darwin_mbstate_t = __mbstate_t;
151pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
152pub type __darwin_size_t = ::std::os::raw::c_ulong;
153pub type __darwin_va_list = __builtin_va_list;
154pub type __darwin_wchar_t = ::std::os::raw::c_int;
155pub type __darwin_rune_t = __darwin_wchar_t;
156pub type __darwin_wint_t = ::std::os::raw::c_int;
157pub type __darwin_clock_t = ::std::os::raw::c_ulong;
158pub type __darwin_socklen_t = __uint32_t;
159pub type __darwin_ssize_t = ::std::os::raw::c_long;
160pub type __darwin_time_t = ::std::os::raw::c_long;
161pub type __darwin_blkcnt_t = __int64_t;
162pub type __darwin_blksize_t = __int32_t;
163pub type __darwin_dev_t = __int32_t;
164pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
165pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
166pub type __darwin_gid_t = __uint32_t;
167pub type __darwin_id_t = __uint32_t;
168pub type __darwin_ino64_t = __uint64_t;
169pub type __darwin_ino_t = __darwin_ino64_t;
170pub type __darwin_mach_port_name_t = __darwin_natural_t;
171pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
172pub type __darwin_mode_t = __uint16_t;
173pub type __darwin_off_t = __int64_t;
174pub type __darwin_pid_t = __int32_t;
175pub type __darwin_sigset_t = __uint32_t;
176pub type __darwin_suseconds_t = __int32_t;
177pub type __darwin_uid_t = __uint32_t;
178pub type __darwin_useconds_t = __uint32_t;
179pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
180pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
181#[repr(C)]
182#[derive(Debug, Copy, Clone)]
183pub struct __darwin_pthread_handler_rec {
184    pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
185    pub __arg: *mut ::std::os::raw::c_void,
186    pub __next: *mut __darwin_pthread_handler_rec,
187}
188#[test]
189fn bindgen_test_layout___darwin_pthread_handler_rec() {
190    assert_eq!(
191        ::std::mem::size_of::<__darwin_pthread_handler_rec>(),
192        24usize,
193        concat!("Size of: ", stringify!(__darwin_pthread_handler_rec))
194    );
195    assert_eq!(
196        ::std::mem::align_of::<__darwin_pthread_handler_rec>(),
197        8usize,
198        concat!("Alignment of ", stringify!(__darwin_pthread_handler_rec))
199    );
200    assert_eq!(
201        unsafe {
202            &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__routine as *const _ as usize
203        },
204        0usize,
205        concat!(
206            "Offset of field: ",
207            stringify!(__darwin_pthread_handler_rec),
208            "::",
209            stringify!(__routine)
210        )
211    );
212    assert_eq!(
213        unsafe {
214            &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__arg as *const _ as usize
215        },
216        8usize,
217        concat!(
218            "Offset of field: ",
219            stringify!(__darwin_pthread_handler_rec),
220            "::",
221            stringify!(__arg)
222        )
223    );
224    assert_eq!(
225        unsafe {
226            &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__next as *const _ as usize
227        },
228        16usize,
229        concat!(
230            "Offset of field: ",
231            stringify!(__darwin_pthread_handler_rec),
232            "::",
233            stringify!(__next)
234        )
235    );
236}
237#[repr(C)]
238#[derive(Debug, Copy, Clone)]
239pub struct _opaque_pthread_attr_t {
240    pub __sig: ::std::os::raw::c_long,
241    pub __opaque: [::std::os::raw::c_char; 56usize],
242}
243#[test]
244fn bindgen_test_layout__opaque_pthread_attr_t() {
245    assert_eq!(
246        ::std::mem::size_of::<_opaque_pthread_attr_t>(),
247        64usize,
248        concat!("Size of: ", stringify!(_opaque_pthread_attr_t))
249    );
250    assert_eq!(
251        ::std::mem::align_of::<_opaque_pthread_attr_t>(),
252        8usize,
253        concat!("Alignment of ", stringify!(_opaque_pthread_attr_t))
254    );
255    assert_eq!(
256        unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__sig as *const _ as usize },
257        0usize,
258        concat!(
259            "Offset of field: ",
260            stringify!(_opaque_pthread_attr_t),
261            "::",
262            stringify!(__sig)
263        )
264    );
265    assert_eq!(
266        unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__opaque as *const _ as usize },
267        8usize,
268        concat!(
269            "Offset of field: ",
270            stringify!(_opaque_pthread_attr_t),
271            "::",
272            stringify!(__opaque)
273        )
274    );
275}
276#[repr(C)]
277#[derive(Debug, Copy, Clone)]
278pub struct _opaque_pthread_cond_t {
279    pub __sig: ::std::os::raw::c_long,
280    pub __opaque: [::std::os::raw::c_char; 40usize],
281}
282#[test]
283fn bindgen_test_layout__opaque_pthread_cond_t() {
284    assert_eq!(
285        ::std::mem::size_of::<_opaque_pthread_cond_t>(),
286        48usize,
287        concat!("Size of: ", stringify!(_opaque_pthread_cond_t))
288    );
289    assert_eq!(
290        ::std::mem::align_of::<_opaque_pthread_cond_t>(),
291        8usize,
292        concat!("Alignment of ", stringify!(_opaque_pthread_cond_t))
293    );
294    assert_eq!(
295        unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__sig as *const _ as usize },
296        0usize,
297        concat!(
298            "Offset of field: ",
299            stringify!(_opaque_pthread_cond_t),
300            "::",
301            stringify!(__sig)
302        )
303    );
304    assert_eq!(
305        unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__opaque as *const _ as usize },
306        8usize,
307        concat!(
308            "Offset of field: ",
309            stringify!(_opaque_pthread_cond_t),
310            "::",
311            stringify!(__opaque)
312        )
313    );
314}
315#[repr(C)]
316#[derive(Debug, Copy, Clone)]
317pub struct _opaque_pthread_condattr_t {
318    pub __sig: ::std::os::raw::c_long,
319    pub __opaque: [::std::os::raw::c_char; 8usize],
320}
321#[test]
322fn bindgen_test_layout__opaque_pthread_condattr_t() {
323    assert_eq!(
324        ::std::mem::size_of::<_opaque_pthread_condattr_t>(),
325        16usize,
326        concat!("Size of: ", stringify!(_opaque_pthread_condattr_t))
327    );
328    assert_eq!(
329        ::std::mem::align_of::<_opaque_pthread_condattr_t>(),
330        8usize,
331        concat!("Alignment of ", stringify!(_opaque_pthread_condattr_t))
332    );
333    assert_eq!(
334        unsafe {
335            &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__sig as *const _ as usize
336        },
337        0usize,
338        concat!(
339            "Offset of field: ",
340            stringify!(_opaque_pthread_condattr_t),
341            "::",
342            stringify!(__sig)
343        )
344    );
345    assert_eq!(
346        unsafe {
347            &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__opaque as *const _ as usize
348        },
349        8usize,
350        concat!(
351            "Offset of field: ",
352            stringify!(_opaque_pthread_condattr_t),
353            "::",
354            stringify!(__opaque)
355        )
356    );
357}
358#[repr(C)]
359#[derive(Debug, Copy, Clone)]
360pub struct _opaque_pthread_mutex_t {
361    pub __sig: ::std::os::raw::c_long,
362    pub __opaque: [::std::os::raw::c_char; 56usize],
363}
364#[test]
365fn bindgen_test_layout__opaque_pthread_mutex_t() {
366    assert_eq!(
367        ::std::mem::size_of::<_opaque_pthread_mutex_t>(),
368        64usize,
369        concat!("Size of: ", stringify!(_opaque_pthread_mutex_t))
370    );
371    assert_eq!(
372        ::std::mem::align_of::<_opaque_pthread_mutex_t>(),
373        8usize,
374        concat!("Alignment of ", stringify!(_opaque_pthread_mutex_t))
375    );
376    assert_eq!(
377        unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__sig as *const _ as usize },
378        0usize,
379        concat!(
380            "Offset of field: ",
381            stringify!(_opaque_pthread_mutex_t),
382            "::",
383            stringify!(__sig)
384        )
385    );
386    assert_eq!(
387        unsafe {
388            &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__opaque as *const _ as usize
389        },
390        8usize,
391        concat!(
392            "Offset of field: ",
393            stringify!(_opaque_pthread_mutex_t),
394            "::",
395            stringify!(__opaque)
396        )
397    );
398}
399#[repr(C)]
400#[derive(Debug, Copy, Clone)]
401pub struct _opaque_pthread_mutexattr_t {
402    pub __sig: ::std::os::raw::c_long,
403    pub __opaque: [::std::os::raw::c_char; 8usize],
404}
405#[test]
406fn bindgen_test_layout__opaque_pthread_mutexattr_t() {
407    assert_eq!(
408        ::std::mem::size_of::<_opaque_pthread_mutexattr_t>(),
409        16usize,
410        concat!("Size of: ", stringify!(_opaque_pthread_mutexattr_t))
411    );
412    assert_eq!(
413        ::std::mem::align_of::<_opaque_pthread_mutexattr_t>(),
414        8usize,
415        concat!("Alignment of ", stringify!(_opaque_pthread_mutexattr_t))
416    );
417    assert_eq!(
418        unsafe {
419            &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__sig as *const _ as usize
420        },
421        0usize,
422        concat!(
423            "Offset of field: ",
424            stringify!(_opaque_pthread_mutexattr_t),
425            "::",
426            stringify!(__sig)
427        )
428    );
429    assert_eq!(
430        unsafe {
431            &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__opaque as *const _ as usize
432        },
433        8usize,
434        concat!(
435            "Offset of field: ",
436            stringify!(_opaque_pthread_mutexattr_t),
437            "::",
438            stringify!(__opaque)
439        )
440    );
441}
442#[repr(C)]
443#[derive(Debug, Copy, Clone)]
444pub struct _opaque_pthread_once_t {
445    pub __sig: ::std::os::raw::c_long,
446    pub __opaque: [::std::os::raw::c_char; 8usize],
447}
448#[test]
449fn bindgen_test_layout__opaque_pthread_once_t() {
450    assert_eq!(
451        ::std::mem::size_of::<_opaque_pthread_once_t>(),
452        16usize,
453        concat!("Size of: ", stringify!(_opaque_pthread_once_t))
454    );
455    assert_eq!(
456        ::std::mem::align_of::<_opaque_pthread_once_t>(),
457        8usize,
458        concat!("Alignment of ", stringify!(_opaque_pthread_once_t))
459    );
460    assert_eq!(
461        unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__sig as *const _ as usize },
462        0usize,
463        concat!(
464            "Offset of field: ",
465            stringify!(_opaque_pthread_once_t),
466            "::",
467            stringify!(__sig)
468        )
469    );
470    assert_eq!(
471        unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__opaque as *const _ as usize },
472        8usize,
473        concat!(
474            "Offset of field: ",
475            stringify!(_opaque_pthread_once_t),
476            "::",
477            stringify!(__opaque)
478        )
479    );
480}
481#[repr(C)]
482#[derive(Debug, Copy, Clone)]
483pub struct _opaque_pthread_rwlock_t {
484    pub __sig: ::std::os::raw::c_long,
485    pub __opaque: [::std::os::raw::c_char; 192usize],
486}
487#[test]
488fn bindgen_test_layout__opaque_pthread_rwlock_t() {
489    assert_eq!(
490        ::std::mem::size_of::<_opaque_pthread_rwlock_t>(),
491        200usize,
492        concat!("Size of: ", stringify!(_opaque_pthread_rwlock_t))
493    );
494    assert_eq!(
495        ::std::mem::align_of::<_opaque_pthread_rwlock_t>(),
496        8usize,
497        concat!("Alignment of ", stringify!(_opaque_pthread_rwlock_t))
498    );
499    assert_eq!(
500        unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__sig as *const _ as usize },
501        0usize,
502        concat!(
503            "Offset of field: ",
504            stringify!(_opaque_pthread_rwlock_t),
505            "::",
506            stringify!(__sig)
507        )
508    );
509    assert_eq!(
510        unsafe {
511            &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__opaque as *const _ as usize
512        },
513        8usize,
514        concat!(
515            "Offset of field: ",
516            stringify!(_opaque_pthread_rwlock_t),
517            "::",
518            stringify!(__opaque)
519        )
520    );
521}
522#[repr(C)]
523#[derive(Debug, Copy, Clone)]
524pub struct _opaque_pthread_rwlockattr_t {
525    pub __sig: ::std::os::raw::c_long,
526    pub __opaque: [::std::os::raw::c_char; 16usize],
527}
528#[test]
529fn bindgen_test_layout__opaque_pthread_rwlockattr_t() {
530    assert_eq!(
531        ::std::mem::size_of::<_opaque_pthread_rwlockattr_t>(),
532        24usize,
533        concat!("Size of: ", stringify!(_opaque_pthread_rwlockattr_t))
534    );
535    assert_eq!(
536        ::std::mem::align_of::<_opaque_pthread_rwlockattr_t>(),
537        8usize,
538        concat!("Alignment of ", stringify!(_opaque_pthread_rwlockattr_t))
539    );
540    assert_eq!(
541        unsafe {
542            &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__sig as *const _ as usize
543        },
544        0usize,
545        concat!(
546            "Offset of field: ",
547            stringify!(_opaque_pthread_rwlockattr_t),
548            "::",
549            stringify!(__sig)
550        )
551    );
552    assert_eq!(
553        unsafe {
554            &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__opaque as *const _ as usize
555        },
556        8usize,
557        concat!(
558            "Offset of field: ",
559            stringify!(_opaque_pthread_rwlockattr_t),
560            "::",
561            stringify!(__opaque)
562        )
563    );
564}
565#[repr(C)]
566#[derive(Debug, Copy, Clone)]
567pub struct _opaque_pthread_t {
568    pub __sig: ::std::os::raw::c_long,
569    pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
570    pub __opaque: [::std::os::raw::c_char; 8176usize],
571}
572#[test]
573fn bindgen_test_layout__opaque_pthread_t() {
574    assert_eq!(
575        ::std::mem::size_of::<_opaque_pthread_t>(),
576        8192usize,
577        concat!("Size of: ", stringify!(_opaque_pthread_t))
578    );
579    assert_eq!(
580        ::std::mem::align_of::<_opaque_pthread_t>(),
581        8usize,
582        concat!("Alignment of ", stringify!(_opaque_pthread_t))
583    );
584    assert_eq!(
585        unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__sig as *const _ as usize },
586        0usize,
587        concat!(
588            "Offset of field: ",
589            stringify!(_opaque_pthread_t),
590            "::",
591            stringify!(__sig)
592        )
593    );
594    assert_eq!(
595        unsafe {
596            &(*(::std::ptr::null::<_opaque_pthread_t>())).__cleanup_stack as *const _ as usize
597        },
598        8usize,
599        concat!(
600            "Offset of field: ",
601            stringify!(_opaque_pthread_t),
602            "::",
603            stringify!(__cleanup_stack)
604        )
605    );
606    assert_eq!(
607        unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__opaque as *const _ as usize },
608        16usize,
609        concat!(
610            "Offset of field: ",
611            stringify!(_opaque_pthread_t),
612            "::",
613            stringify!(__opaque)
614        )
615    );
616}
617pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
618pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
619pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
620pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
621pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
622pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
623pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
624pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
625pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
626pub type __darwin_pthread_t = *mut _opaque_pthread_t;
627pub type u_int8_t = ::std::os::raw::c_uchar;
628pub type u_int16_t = ::std::os::raw::c_ushort;
629pub type u_int32_t = ::std::os::raw::c_uint;
630pub type u_int64_t = ::std::os::raw::c_ulonglong;
631pub type register_t = i64;
632pub type user_addr_t = u_int64_t;
633pub type user_size_t = u_int64_t;
634pub type user_ssize_t = i64;
635pub type user_long_t = i64;
636pub type user_ulong_t = u_int64_t;
637pub type user_time_t = i64;
638pub type user_off_t = i64;
639pub type syscall_arg_t = u_int64_t;
640pub type intmax_t = ::std::os::raw::c_long;
641pub type uintmax_t = ::std::os::raw::c_ulong;
642pub const INFINITE: u32 = 4294967295;
643pub const NDIlib_frame_type_e_NDIlib_frame_type_none: NDIlib_frame_type_e = 0;
644pub const NDIlib_frame_type_e_NDIlib_frame_type_video: NDIlib_frame_type_e = 1;
645pub const NDIlib_frame_type_e_NDIlib_frame_type_audio: NDIlib_frame_type_e = 2;
646pub const NDIlib_frame_type_e_NDIlib_frame_type_metadata: NDIlib_frame_type_e = 3;
647pub const NDIlib_frame_type_e_NDIlib_frame_type_error: NDIlib_frame_type_e = 4;
648pub const NDIlib_frame_type_e_NDIlib_frame_type_status_change: NDIlib_frame_type_e = 100;
649pub const NDIlib_frame_type_e_NDIlib_frame_type_max: NDIlib_frame_type_e = 2147483647;
650pub type NDIlib_frame_type_e = ::std::os::raw::c_uint;
651pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_UYVY: NDIlib_FourCC_video_type_e =
652    1498831189;
653pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_UYVY: NDIlib_FourCC_video_type_e =
654    1498831189;
655pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_UYVA: NDIlib_FourCC_video_type_e =
656    1096178005;
657pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_UYVA: NDIlib_FourCC_video_type_e =
658    1096178005;
659pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_P216: NDIlib_FourCC_video_type_e =
660    909193808;
661pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_P216: NDIlib_FourCC_video_type_e =
662    909193808;
663pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_PA16: NDIlib_FourCC_video_type_e =
664    909197648;
665pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_PA16: NDIlib_FourCC_video_type_e =
666    909197648;
667pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_YV12: NDIlib_FourCC_video_type_e =
668    842094169;
669pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_YV12: NDIlib_FourCC_video_type_e =
670    842094169;
671pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_I420: NDIlib_FourCC_video_type_e =
672    808596553;
673pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_I420: NDIlib_FourCC_video_type_e =
674    808596553;
675pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_NV12: NDIlib_FourCC_video_type_e =
676    842094158;
677pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_NV12: NDIlib_FourCC_video_type_e =
678    842094158;
679pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_BGRA: NDIlib_FourCC_video_type_e =
680    1095911234;
681pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_BGRA: NDIlib_FourCC_video_type_e =
682    1095911234;
683pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_BGRX: NDIlib_FourCC_video_type_e =
684    1481787202;
685pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_BGRX: NDIlib_FourCC_video_type_e =
686    1481787202;
687pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_RGBA: NDIlib_FourCC_video_type_e =
688    1094862674;
689pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_RGBA: NDIlib_FourCC_video_type_e =
690    1094862674;
691pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_RGBX: NDIlib_FourCC_video_type_e =
692    1480738642;
693pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_type_RGBX: NDIlib_FourCC_video_type_e =
694    1480738642;
695pub const NDIlib_FourCC_video_type_e_NDIlib_FourCC_video_type_max: NDIlib_FourCC_video_type_e =
696    2147483647;
697pub type NDIlib_FourCC_video_type_e = ::std::os::raw::c_uint;
698pub use self::NDIlib_FourCC_video_type_e as NDIlib_FourCC_type_e;
699pub const NDIlib_FourCC_audio_type_e_NDIlib_FourCC_audio_type_FLTP: NDIlib_FourCC_audio_type_e =
700    1884572742;
701pub const NDIlib_FourCC_audio_type_e_NDIlib_FourCC_type_FLTP: NDIlib_FourCC_audio_type_e =
702    1884572742;
703pub const NDIlib_FourCC_audio_type_e_NDIlib_FourCC_audio_type_max: NDIlib_FourCC_audio_type_e =
704    2147483647;
705pub type NDIlib_FourCC_audio_type_e = ::std::os::raw::c_uint;
706pub const NDIlib_frame_format_type_e_NDIlib_frame_format_type_progressive:
707    NDIlib_frame_format_type_e = 1;
708pub const NDIlib_frame_format_type_e_NDIlib_frame_format_type_interleaved:
709    NDIlib_frame_format_type_e = 0;
710pub const NDIlib_frame_format_type_e_NDIlib_frame_format_type_field_0: NDIlib_frame_format_type_e =
711    2;
712pub const NDIlib_frame_format_type_e_NDIlib_frame_format_type_field_1: NDIlib_frame_format_type_e =
713    3;
714pub const NDIlib_frame_format_type_e_NDIlib_frame_format_type_max: NDIlib_frame_format_type_e =
715    2147483647;
716pub type NDIlib_frame_format_type_e = ::std::os::raw::c_uint;
717pub const NDIlib_send_timecode_synthesize: i64 = 9223372036854775807;
718pub const NDIlib_recv_timestamp_undefined: i64 = 9223372036854775807;
719#[repr(C)]
720#[derive(Copy, Clone)]
721pub struct NDIlib_source_t {
722    pub p_ndi_name: *const ::std::os::raw::c_char,
723    pub __bindgen_anon_1: NDIlib_source_t__bindgen_ty_1,
724}
725#[repr(C)]
726#[derive(Copy, Clone)]
727pub union NDIlib_source_t__bindgen_ty_1 {
728    pub p_url_address: *const ::std::os::raw::c_char,
729    pub p_ip_address: *const ::std::os::raw::c_char,
730}
731#[test]
732fn bindgen_test_layout_NDIlib_source_t__bindgen_ty_1() {
733    assert_eq!(
734        ::std::mem::size_of::<NDIlib_source_t__bindgen_ty_1>(),
735        8usize,
736        concat!("Size of: ", stringify!(NDIlib_source_t__bindgen_ty_1))
737    );
738    assert_eq!(
739        ::std::mem::align_of::<NDIlib_source_t__bindgen_ty_1>(),
740        8usize,
741        concat!("Alignment of ", stringify!(NDIlib_source_t__bindgen_ty_1))
742    );
743    assert_eq!(
744        unsafe {
745            &(*(::std::ptr::null::<NDIlib_source_t__bindgen_ty_1>())).p_url_address as *const _
746                as usize
747        },
748        0usize,
749        concat!(
750            "Offset of field: ",
751            stringify!(NDIlib_source_t__bindgen_ty_1),
752            "::",
753            stringify!(p_url_address)
754        )
755    );
756    assert_eq!(
757        unsafe {
758            &(*(::std::ptr::null::<NDIlib_source_t__bindgen_ty_1>())).p_ip_address as *const _
759                as usize
760        },
761        0usize,
762        concat!(
763            "Offset of field: ",
764            stringify!(NDIlib_source_t__bindgen_ty_1),
765            "::",
766            stringify!(p_ip_address)
767        )
768    );
769}
770#[test]
771fn bindgen_test_layout_NDIlib_source_t() {
772    assert_eq!(
773        ::std::mem::size_of::<NDIlib_source_t>(),
774        16usize,
775        concat!("Size of: ", stringify!(NDIlib_source_t))
776    );
777    assert_eq!(
778        ::std::mem::align_of::<NDIlib_source_t>(),
779        8usize,
780        concat!("Alignment of ", stringify!(NDIlib_source_t))
781    );
782    assert_eq!(
783        unsafe { &(*(::std::ptr::null::<NDIlib_source_t>())).p_ndi_name as *const _ as usize },
784        0usize,
785        concat!(
786            "Offset of field: ",
787            stringify!(NDIlib_source_t),
788            "::",
789            stringify!(p_ndi_name)
790        )
791    );
792}
793#[repr(C)]
794#[derive(Copy, Clone)]
795pub struct NDIlib_video_frame_v2_t {
796    pub xres: ::std::os::raw::c_int,
797    pub yres: ::std::os::raw::c_int,
798    pub FourCC: NDIlib_FourCC_video_type_e,
799    pub frame_rate_N: ::std::os::raw::c_int,
800    pub frame_rate_D: ::std::os::raw::c_int,
801    pub picture_aspect_ratio: f32,
802    pub frame_format_type: NDIlib_frame_format_type_e,
803    pub timecode: i64,
804    pub p_data: *mut u8,
805    pub __bindgen_anon_1: NDIlib_video_frame_v2_t__bindgen_ty_1,
806    pub p_metadata: *const ::std::os::raw::c_char,
807    pub timestamp: i64,
808}
809#[repr(C)]
810#[derive(Copy, Clone)]
811pub union NDIlib_video_frame_v2_t__bindgen_ty_1 {
812    pub line_stride_in_bytes: ::std::os::raw::c_int,
813    pub data_size_in_bytes: ::std::os::raw::c_int,
814}
815#[test]
816fn bindgen_test_layout_NDIlib_video_frame_v2_t__bindgen_ty_1() {
817    assert_eq!(
818        ::std::mem::size_of::<NDIlib_video_frame_v2_t__bindgen_ty_1>(),
819        4usize,
820        concat!(
821            "Size of: ",
822            stringify!(NDIlib_video_frame_v2_t__bindgen_ty_1)
823        )
824    );
825    assert_eq!(
826        ::std::mem::align_of::<NDIlib_video_frame_v2_t__bindgen_ty_1>(),
827        4usize,
828        concat!(
829            "Alignment of ",
830            stringify!(NDIlib_video_frame_v2_t__bindgen_ty_1)
831        )
832    );
833    assert_eq!(
834        unsafe {
835            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t__bindgen_ty_1>())).line_stride_in_bytes
836                as *const _ as usize
837        },
838        0usize,
839        concat!(
840            "Offset of field: ",
841            stringify!(NDIlib_video_frame_v2_t__bindgen_ty_1),
842            "::",
843            stringify!(line_stride_in_bytes)
844        )
845    );
846    assert_eq!(
847        unsafe {
848            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t__bindgen_ty_1>())).data_size_in_bytes
849                as *const _ as usize
850        },
851        0usize,
852        concat!(
853            "Offset of field: ",
854            stringify!(NDIlib_video_frame_v2_t__bindgen_ty_1),
855            "::",
856            stringify!(data_size_in_bytes)
857        )
858    );
859}
860#[test]
861fn bindgen_test_layout_NDIlib_video_frame_v2_t() {
862    assert_eq!(
863        ::std::mem::size_of::<NDIlib_video_frame_v2_t>(),
864        72usize,
865        concat!("Size of: ", stringify!(NDIlib_video_frame_v2_t))
866    );
867    assert_eq!(
868        ::std::mem::align_of::<NDIlib_video_frame_v2_t>(),
869        8usize,
870        concat!("Alignment of ", stringify!(NDIlib_video_frame_v2_t))
871    );
872    assert_eq!(
873        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).xres as *const _ as usize },
874        0usize,
875        concat!(
876            "Offset of field: ",
877            stringify!(NDIlib_video_frame_v2_t),
878            "::",
879            stringify!(xres)
880        )
881    );
882    assert_eq!(
883        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).yres as *const _ as usize },
884        4usize,
885        concat!(
886            "Offset of field: ",
887            stringify!(NDIlib_video_frame_v2_t),
888            "::",
889            stringify!(yres)
890        )
891    );
892    assert_eq!(
893        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).FourCC as *const _ as usize },
894        8usize,
895        concat!(
896            "Offset of field: ",
897            stringify!(NDIlib_video_frame_v2_t),
898            "::",
899            stringify!(FourCC)
900        )
901    );
902    assert_eq!(
903        unsafe {
904            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).frame_rate_N as *const _ as usize
905        },
906        12usize,
907        concat!(
908            "Offset of field: ",
909            stringify!(NDIlib_video_frame_v2_t),
910            "::",
911            stringify!(frame_rate_N)
912        )
913    );
914    assert_eq!(
915        unsafe {
916            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).frame_rate_D as *const _ as usize
917        },
918        16usize,
919        concat!(
920            "Offset of field: ",
921            stringify!(NDIlib_video_frame_v2_t),
922            "::",
923            stringify!(frame_rate_D)
924        )
925    );
926    assert_eq!(
927        unsafe {
928            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).picture_aspect_ratio as *const _
929                as usize
930        },
931        20usize,
932        concat!(
933            "Offset of field: ",
934            stringify!(NDIlib_video_frame_v2_t),
935            "::",
936            stringify!(picture_aspect_ratio)
937        )
938    );
939    assert_eq!(
940        unsafe {
941            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).frame_format_type as *const _
942                as usize
943        },
944        24usize,
945        concat!(
946            "Offset of field: ",
947            stringify!(NDIlib_video_frame_v2_t),
948            "::",
949            stringify!(frame_format_type)
950        )
951    );
952    assert_eq!(
953        unsafe {
954            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).timecode as *const _ as usize
955        },
956        32usize,
957        concat!(
958            "Offset of field: ",
959            stringify!(NDIlib_video_frame_v2_t),
960            "::",
961            stringify!(timecode)
962        )
963    );
964    assert_eq!(
965        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).p_data as *const _ as usize },
966        40usize,
967        concat!(
968            "Offset of field: ",
969            stringify!(NDIlib_video_frame_v2_t),
970            "::",
971            stringify!(p_data)
972        )
973    );
974    assert_eq!(
975        unsafe {
976            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).p_metadata as *const _ as usize
977        },
978        56usize,
979        concat!(
980            "Offset of field: ",
981            stringify!(NDIlib_video_frame_v2_t),
982            "::",
983            stringify!(p_metadata)
984        )
985    );
986    assert_eq!(
987        unsafe {
988            &(*(::std::ptr::null::<NDIlib_video_frame_v2_t>())).timestamp as *const _ as usize
989        },
990        64usize,
991        concat!(
992            "Offset of field: ",
993            stringify!(NDIlib_video_frame_v2_t),
994            "::",
995            stringify!(timestamp)
996        )
997    );
998}
999#[repr(C)]
1000#[derive(Debug, Copy, Clone)]
1001pub struct NDIlib_audio_frame_v2_t {
1002    pub sample_rate: ::std::os::raw::c_int,
1003    pub no_channels: ::std::os::raw::c_int,
1004    pub no_samples: ::std::os::raw::c_int,
1005    pub timecode: i64,
1006    pub p_data: *mut f32,
1007    pub channel_stride_in_bytes: ::std::os::raw::c_int,
1008    pub p_metadata: *const ::std::os::raw::c_char,
1009    pub timestamp: i64,
1010}
1011#[test]
1012fn bindgen_test_layout_NDIlib_audio_frame_v2_t() {
1013    assert_eq!(
1014        ::std::mem::size_of::<NDIlib_audio_frame_v2_t>(),
1015        56usize,
1016        concat!("Size of: ", stringify!(NDIlib_audio_frame_v2_t))
1017    );
1018    assert_eq!(
1019        ::std::mem::align_of::<NDIlib_audio_frame_v2_t>(),
1020        8usize,
1021        concat!("Alignment of ", stringify!(NDIlib_audio_frame_v2_t))
1022    );
1023    assert_eq!(
1024        unsafe {
1025            &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).sample_rate as *const _ as usize
1026        },
1027        0usize,
1028        concat!(
1029            "Offset of field: ",
1030            stringify!(NDIlib_audio_frame_v2_t),
1031            "::",
1032            stringify!(sample_rate)
1033        )
1034    );
1035    assert_eq!(
1036        unsafe {
1037            &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).no_channels as *const _ as usize
1038        },
1039        4usize,
1040        concat!(
1041            "Offset of field: ",
1042            stringify!(NDIlib_audio_frame_v2_t),
1043            "::",
1044            stringify!(no_channels)
1045        )
1046    );
1047    assert_eq!(
1048        unsafe {
1049            &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).no_samples as *const _ as usize
1050        },
1051        8usize,
1052        concat!(
1053            "Offset of field: ",
1054            stringify!(NDIlib_audio_frame_v2_t),
1055            "::",
1056            stringify!(no_samples)
1057        )
1058    );
1059    assert_eq!(
1060        unsafe {
1061            &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).timecode as *const _ as usize
1062        },
1063        16usize,
1064        concat!(
1065            "Offset of field: ",
1066            stringify!(NDIlib_audio_frame_v2_t),
1067            "::",
1068            stringify!(timecode)
1069        )
1070    );
1071    assert_eq!(
1072        unsafe { &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).p_data as *const _ as usize },
1073        24usize,
1074        concat!(
1075            "Offset of field: ",
1076            stringify!(NDIlib_audio_frame_v2_t),
1077            "::",
1078            stringify!(p_data)
1079        )
1080    );
1081    assert_eq!(
1082        unsafe {
1083            &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).channel_stride_in_bytes as *const _
1084                as usize
1085        },
1086        32usize,
1087        concat!(
1088            "Offset of field: ",
1089            stringify!(NDIlib_audio_frame_v2_t),
1090            "::",
1091            stringify!(channel_stride_in_bytes)
1092        )
1093    );
1094    assert_eq!(
1095        unsafe {
1096            &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).p_metadata as *const _ as usize
1097        },
1098        40usize,
1099        concat!(
1100            "Offset of field: ",
1101            stringify!(NDIlib_audio_frame_v2_t),
1102            "::",
1103            stringify!(p_metadata)
1104        )
1105    );
1106    assert_eq!(
1107        unsafe {
1108            &(*(::std::ptr::null::<NDIlib_audio_frame_v2_t>())).timestamp as *const _ as usize
1109        },
1110        48usize,
1111        concat!(
1112            "Offset of field: ",
1113            stringify!(NDIlib_audio_frame_v2_t),
1114            "::",
1115            stringify!(timestamp)
1116        )
1117    );
1118}
1119#[repr(C)]
1120#[derive(Copy, Clone)]
1121pub struct NDIlib_audio_frame_v3_t {
1122    pub sample_rate: ::std::os::raw::c_int,
1123    pub no_channels: ::std::os::raw::c_int,
1124    pub no_samples: ::std::os::raw::c_int,
1125    pub timecode: i64,
1126    pub FourCC: NDIlib_FourCC_audio_type_e,
1127    pub p_data: *mut u8,
1128    pub __bindgen_anon_1: NDIlib_audio_frame_v3_t__bindgen_ty_1,
1129    pub p_metadata: *const ::std::os::raw::c_char,
1130    pub timestamp: i64,
1131}
1132#[repr(C)]
1133#[derive(Copy, Clone)]
1134pub union NDIlib_audio_frame_v3_t__bindgen_ty_1 {
1135    pub channel_stride_in_bytes: ::std::os::raw::c_int,
1136    pub data_size_in_bytes: ::std::os::raw::c_int,
1137}
1138#[test]
1139fn bindgen_test_layout_NDIlib_audio_frame_v3_t__bindgen_ty_1() {
1140    assert_eq!(
1141        ::std::mem::size_of::<NDIlib_audio_frame_v3_t__bindgen_ty_1>(),
1142        4usize,
1143        concat!(
1144            "Size of: ",
1145            stringify!(NDIlib_audio_frame_v3_t__bindgen_ty_1)
1146        )
1147    );
1148    assert_eq!(
1149        ::std::mem::align_of::<NDIlib_audio_frame_v3_t__bindgen_ty_1>(),
1150        4usize,
1151        concat!(
1152            "Alignment of ",
1153            stringify!(NDIlib_audio_frame_v3_t__bindgen_ty_1)
1154        )
1155    );
1156    assert_eq!(
1157        unsafe {
1158            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t__bindgen_ty_1>()))
1159                .channel_stride_in_bytes as *const _ as usize
1160        },
1161        0usize,
1162        concat!(
1163            "Offset of field: ",
1164            stringify!(NDIlib_audio_frame_v3_t__bindgen_ty_1),
1165            "::",
1166            stringify!(channel_stride_in_bytes)
1167        )
1168    );
1169    assert_eq!(
1170        unsafe {
1171            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t__bindgen_ty_1>())).data_size_in_bytes
1172                as *const _ as usize
1173        },
1174        0usize,
1175        concat!(
1176            "Offset of field: ",
1177            stringify!(NDIlib_audio_frame_v3_t__bindgen_ty_1),
1178            "::",
1179            stringify!(data_size_in_bytes)
1180        )
1181    );
1182}
1183#[test]
1184fn bindgen_test_layout_NDIlib_audio_frame_v3_t() {
1185    assert_eq!(
1186        ::std::mem::size_of::<NDIlib_audio_frame_v3_t>(),
1187        64usize,
1188        concat!("Size of: ", stringify!(NDIlib_audio_frame_v3_t))
1189    );
1190    assert_eq!(
1191        ::std::mem::align_of::<NDIlib_audio_frame_v3_t>(),
1192        8usize,
1193        concat!("Alignment of ", stringify!(NDIlib_audio_frame_v3_t))
1194    );
1195    assert_eq!(
1196        unsafe {
1197            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).sample_rate as *const _ as usize
1198        },
1199        0usize,
1200        concat!(
1201            "Offset of field: ",
1202            stringify!(NDIlib_audio_frame_v3_t),
1203            "::",
1204            stringify!(sample_rate)
1205        )
1206    );
1207    assert_eq!(
1208        unsafe {
1209            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).no_channels as *const _ as usize
1210        },
1211        4usize,
1212        concat!(
1213            "Offset of field: ",
1214            stringify!(NDIlib_audio_frame_v3_t),
1215            "::",
1216            stringify!(no_channels)
1217        )
1218    );
1219    assert_eq!(
1220        unsafe {
1221            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).no_samples as *const _ as usize
1222        },
1223        8usize,
1224        concat!(
1225            "Offset of field: ",
1226            stringify!(NDIlib_audio_frame_v3_t),
1227            "::",
1228            stringify!(no_samples)
1229        )
1230    );
1231    assert_eq!(
1232        unsafe {
1233            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).timecode as *const _ as usize
1234        },
1235        16usize,
1236        concat!(
1237            "Offset of field: ",
1238            stringify!(NDIlib_audio_frame_v3_t),
1239            "::",
1240            stringify!(timecode)
1241        )
1242    );
1243    assert_eq!(
1244        unsafe { &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).FourCC as *const _ as usize },
1245        24usize,
1246        concat!(
1247            "Offset of field: ",
1248            stringify!(NDIlib_audio_frame_v3_t),
1249            "::",
1250            stringify!(FourCC)
1251        )
1252    );
1253    assert_eq!(
1254        unsafe { &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).p_data as *const _ as usize },
1255        32usize,
1256        concat!(
1257            "Offset of field: ",
1258            stringify!(NDIlib_audio_frame_v3_t),
1259            "::",
1260            stringify!(p_data)
1261        )
1262    );
1263    assert_eq!(
1264        unsafe {
1265            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).p_metadata as *const _ as usize
1266        },
1267        48usize,
1268        concat!(
1269            "Offset of field: ",
1270            stringify!(NDIlib_audio_frame_v3_t),
1271            "::",
1272            stringify!(p_metadata)
1273        )
1274    );
1275    assert_eq!(
1276        unsafe {
1277            &(*(::std::ptr::null::<NDIlib_audio_frame_v3_t>())).timestamp as *const _ as usize
1278        },
1279        56usize,
1280        concat!(
1281            "Offset of field: ",
1282            stringify!(NDIlib_audio_frame_v3_t),
1283            "::",
1284            stringify!(timestamp)
1285        )
1286    );
1287}
1288#[repr(C)]
1289#[derive(Debug, Copy, Clone)]
1290pub struct NDIlib_metadata_frame_t {
1291    pub length: ::std::os::raw::c_int,
1292    pub timecode: i64,
1293    pub p_data: *mut ::std::os::raw::c_char,
1294}
1295#[test]
1296fn bindgen_test_layout_NDIlib_metadata_frame_t() {
1297    assert_eq!(
1298        ::std::mem::size_of::<NDIlib_metadata_frame_t>(),
1299        24usize,
1300        concat!("Size of: ", stringify!(NDIlib_metadata_frame_t))
1301    );
1302    assert_eq!(
1303        ::std::mem::align_of::<NDIlib_metadata_frame_t>(),
1304        8usize,
1305        concat!("Alignment of ", stringify!(NDIlib_metadata_frame_t))
1306    );
1307    assert_eq!(
1308        unsafe { &(*(::std::ptr::null::<NDIlib_metadata_frame_t>())).length as *const _ as usize },
1309        0usize,
1310        concat!(
1311            "Offset of field: ",
1312            stringify!(NDIlib_metadata_frame_t),
1313            "::",
1314            stringify!(length)
1315        )
1316    );
1317    assert_eq!(
1318        unsafe {
1319            &(*(::std::ptr::null::<NDIlib_metadata_frame_t>())).timecode as *const _ as usize
1320        },
1321        8usize,
1322        concat!(
1323            "Offset of field: ",
1324            stringify!(NDIlib_metadata_frame_t),
1325            "::",
1326            stringify!(timecode)
1327        )
1328    );
1329    assert_eq!(
1330        unsafe { &(*(::std::ptr::null::<NDIlib_metadata_frame_t>())).p_data as *const _ as usize },
1331        16usize,
1332        concat!(
1333            "Offset of field: ",
1334            stringify!(NDIlib_metadata_frame_t),
1335            "::",
1336            stringify!(p_data)
1337        )
1338    );
1339}
1340#[repr(C)]
1341#[derive(Debug, Copy, Clone)]
1342pub struct NDIlib_tally_t {
1343    pub on_program: bool,
1344    pub on_preview: bool,
1345}
1346#[test]
1347fn bindgen_test_layout_NDIlib_tally_t() {
1348    assert_eq!(
1349        ::std::mem::size_of::<NDIlib_tally_t>(),
1350        2usize,
1351        concat!("Size of: ", stringify!(NDIlib_tally_t))
1352    );
1353    assert_eq!(
1354        ::std::mem::align_of::<NDIlib_tally_t>(),
1355        1usize,
1356        concat!("Alignment of ", stringify!(NDIlib_tally_t))
1357    );
1358    assert_eq!(
1359        unsafe { &(*(::std::ptr::null::<NDIlib_tally_t>())).on_program as *const _ as usize },
1360        0usize,
1361        concat!(
1362            "Offset of field: ",
1363            stringify!(NDIlib_tally_t),
1364            "::",
1365            stringify!(on_program)
1366        )
1367    );
1368    assert_eq!(
1369        unsafe { &(*(::std::ptr::null::<NDIlib_tally_t>())).on_preview as *const _ as usize },
1370        1usize,
1371        concat!(
1372            "Offset of field: ",
1373            stringify!(NDIlib_tally_t),
1374            "::",
1375            stringify!(on_preview)
1376        )
1377    );
1378}
1379extern "C" {
1380    pub fn NDIlib_initialize() -> bool;
1381}
1382extern "C" {
1383    pub fn NDIlib_destroy();
1384}
1385extern "C" {
1386    pub fn NDIlib_version() -> *const ::std::os::raw::c_char;
1387}
1388extern "C" {
1389    pub fn NDIlib_is_supported_CPU() -> bool;
1390}
1391pub type NDIlib_find_instance_t = *mut ::std::os::raw::c_void;
1392#[repr(C)]
1393#[derive(Debug, Copy, Clone)]
1394pub struct NDIlib_find_create_t {
1395    pub show_local_sources: bool,
1396    pub p_groups: *const ::std::os::raw::c_char,
1397    pub p_extra_ips: *const ::std::os::raw::c_char,
1398}
1399#[test]
1400fn bindgen_test_layout_NDIlib_find_create_t() {
1401    assert_eq!(
1402        ::std::mem::size_of::<NDIlib_find_create_t>(),
1403        24usize,
1404        concat!("Size of: ", stringify!(NDIlib_find_create_t))
1405    );
1406    assert_eq!(
1407        ::std::mem::align_of::<NDIlib_find_create_t>(),
1408        8usize,
1409        concat!("Alignment of ", stringify!(NDIlib_find_create_t))
1410    );
1411    assert_eq!(
1412        unsafe {
1413            &(*(::std::ptr::null::<NDIlib_find_create_t>())).show_local_sources as *const _ as usize
1414        },
1415        0usize,
1416        concat!(
1417            "Offset of field: ",
1418            stringify!(NDIlib_find_create_t),
1419            "::",
1420            stringify!(show_local_sources)
1421        )
1422    );
1423    assert_eq!(
1424        unsafe { &(*(::std::ptr::null::<NDIlib_find_create_t>())).p_groups as *const _ as usize },
1425        8usize,
1426        concat!(
1427            "Offset of field: ",
1428            stringify!(NDIlib_find_create_t),
1429            "::",
1430            stringify!(p_groups)
1431        )
1432    );
1433    assert_eq!(
1434        unsafe {
1435            &(*(::std::ptr::null::<NDIlib_find_create_t>())).p_extra_ips as *const _ as usize
1436        },
1437        16usize,
1438        concat!(
1439            "Offset of field: ",
1440            stringify!(NDIlib_find_create_t),
1441            "::",
1442            stringify!(p_extra_ips)
1443        )
1444    );
1445}
1446extern "C" {
1447    pub fn NDIlib_find_create_v2(
1448        p_create_settings: *const NDIlib_find_create_t,
1449    ) -> NDIlib_find_instance_t;
1450}
1451extern "C" {
1452    pub fn NDIlib_find_destroy(p_instance: NDIlib_find_instance_t);
1453}
1454extern "C" {
1455    pub fn NDIlib_find_get_current_sources(
1456        p_instance: NDIlib_find_instance_t,
1457        p_no_sources: *mut u32,
1458    ) -> *const NDIlib_source_t;
1459}
1460extern "C" {
1461    pub fn NDIlib_find_wait_for_sources(
1462        p_instance: NDIlib_find_instance_t,
1463        timeout_in_ms: u32,
1464    ) -> bool;
1465}
1466pub type NDIlib_recv_instance_t = *mut ::std::os::raw::c_void;
1467pub const NDIlib_recv_bandwidth_e_NDIlib_recv_bandwidth_metadata_only: NDIlib_recv_bandwidth_e =
1468    -10;
1469pub const NDIlib_recv_bandwidth_e_NDIlib_recv_bandwidth_audio_only: NDIlib_recv_bandwidth_e = 10;
1470pub const NDIlib_recv_bandwidth_e_NDIlib_recv_bandwidth_lowest: NDIlib_recv_bandwidth_e = 0;
1471pub const NDIlib_recv_bandwidth_e_NDIlib_recv_bandwidth_highest: NDIlib_recv_bandwidth_e = 100;
1472pub const NDIlib_recv_bandwidth_e_NDIlib_recv_bandwidth_max: NDIlib_recv_bandwidth_e = 2147483647;
1473pub type NDIlib_recv_bandwidth_e = ::std::os::raw::c_int;
1474pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_BGRX_BGRA:
1475    NDIlib_recv_color_format_e = 0;
1476pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_UYVY_BGRA:
1477    NDIlib_recv_color_format_e = 1;
1478pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_RGBX_RGBA:
1479    NDIlib_recv_color_format_e = 2;
1480pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_UYVY_RGBA:
1481    NDIlib_recv_color_format_e = 3;
1482pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_fastest: NDIlib_recv_color_format_e =
1483    100;
1484pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_best: NDIlib_recv_color_format_e =
1485    101;
1486pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_e_BGRX_BGRA:
1487    NDIlib_recv_color_format_e = 0;
1488pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_e_UYVY_BGRA:
1489    NDIlib_recv_color_format_e = 1;
1490pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_e_RGBX_RGBA:
1491    NDIlib_recv_color_format_e = 2;
1492pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_e_UYVY_RGBA:
1493    NDIlib_recv_color_format_e = 3;
1494pub const NDIlib_recv_color_format_e_NDIlib_recv_color_format_max: NDIlib_recv_color_format_e =
1495    2147483647;
1496pub type NDIlib_recv_color_format_e = ::std::os::raw::c_uint;
1497#[repr(C)]
1498#[derive(Copy, Clone)]
1499pub struct NDIlib_recv_create_v3_t {
1500    pub source_to_connect_to: NDIlib_source_t,
1501    pub color_format: NDIlib_recv_color_format_e,
1502    pub bandwidth: NDIlib_recv_bandwidth_e,
1503    pub allow_video_fields: bool,
1504    pub p_ndi_recv_name: *const ::std::os::raw::c_char,
1505}
1506#[test]
1507fn bindgen_test_layout_NDIlib_recv_create_v3_t() {
1508    assert_eq!(
1509        ::std::mem::size_of::<NDIlib_recv_create_v3_t>(),
1510        40usize,
1511        concat!("Size of: ", stringify!(NDIlib_recv_create_v3_t))
1512    );
1513    assert_eq!(
1514        ::std::mem::align_of::<NDIlib_recv_create_v3_t>(),
1515        8usize,
1516        concat!("Alignment of ", stringify!(NDIlib_recv_create_v3_t))
1517    );
1518    assert_eq!(
1519        unsafe {
1520            &(*(::std::ptr::null::<NDIlib_recv_create_v3_t>())).source_to_connect_to as *const _
1521                as usize
1522        },
1523        0usize,
1524        concat!(
1525            "Offset of field: ",
1526            stringify!(NDIlib_recv_create_v3_t),
1527            "::",
1528            stringify!(source_to_connect_to)
1529        )
1530    );
1531    assert_eq!(
1532        unsafe {
1533            &(*(::std::ptr::null::<NDIlib_recv_create_v3_t>())).color_format as *const _ as usize
1534        },
1535        16usize,
1536        concat!(
1537            "Offset of field: ",
1538            stringify!(NDIlib_recv_create_v3_t),
1539            "::",
1540            stringify!(color_format)
1541        )
1542    );
1543    assert_eq!(
1544        unsafe {
1545            &(*(::std::ptr::null::<NDIlib_recv_create_v3_t>())).bandwidth as *const _ as usize
1546        },
1547        20usize,
1548        concat!(
1549            "Offset of field: ",
1550            stringify!(NDIlib_recv_create_v3_t),
1551            "::",
1552            stringify!(bandwidth)
1553        )
1554    );
1555    assert_eq!(
1556        unsafe {
1557            &(*(::std::ptr::null::<NDIlib_recv_create_v3_t>())).allow_video_fields as *const _
1558                as usize
1559        },
1560        24usize,
1561        concat!(
1562            "Offset of field: ",
1563            stringify!(NDIlib_recv_create_v3_t),
1564            "::",
1565            stringify!(allow_video_fields)
1566        )
1567    );
1568    assert_eq!(
1569        unsafe {
1570            &(*(::std::ptr::null::<NDIlib_recv_create_v3_t>())).p_ndi_recv_name as *const _ as usize
1571        },
1572        32usize,
1573        concat!(
1574            "Offset of field: ",
1575            stringify!(NDIlib_recv_create_v3_t),
1576            "::",
1577            stringify!(p_ndi_recv_name)
1578        )
1579    );
1580}
1581#[repr(C)]
1582#[derive(Debug, Copy, Clone)]
1583pub struct NDIlib_recv_performance_t {
1584    pub video_frames: i64,
1585    pub audio_frames: i64,
1586    pub metadata_frames: i64,
1587}
1588#[test]
1589fn bindgen_test_layout_NDIlib_recv_performance_t() {
1590    assert_eq!(
1591        ::std::mem::size_of::<NDIlib_recv_performance_t>(),
1592        24usize,
1593        concat!("Size of: ", stringify!(NDIlib_recv_performance_t))
1594    );
1595    assert_eq!(
1596        ::std::mem::align_of::<NDIlib_recv_performance_t>(),
1597        8usize,
1598        concat!("Alignment of ", stringify!(NDIlib_recv_performance_t))
1599    );
1600    assert_eq!(
1601        unsafe {
1602            &(*(::std::ptr::null::<NDIlib_recv_performance_t>())).video_frames as *const _ as usize
1603        },
1604        0usize,
1605        concat!(
1606            "Offset of field: ",
1607            stringify!(NDIlib_recv_performance_t),
1608            "::",
1609            stringify!(video_frames)
1610        )
1611    );
1612    assert_eq!(
1613        unsafe {
1614            &(*(::std::ptr::null::<NDIlib_recv_performance_t>())).audio_frames as *const _ as usize
1615        },
1616        8usize,
1617        concat!(
1618            "Offset of field: ",
1619            stringify!(NDIlib_recv_performance_t),
1620            "::",
1621            stringify!(audio_frames)
1622        )
1623    );
1624    assert_eq!(
1625        unsafe {
1626            &(*(::std::ptr::null::<NDIlib_recv_performance_t>())).metadata_frames as *const _
1627                as usize
1628        },
1629        16usize,
1630        concat!(
1631            "Offset of field: ",
1632            stringify!(NDIlib_recv_performance_t),
1633            "::",
1634            stringify!(metadata_frames)
1635        )
1636    );
1637}
1638#[repr(C)]
1639#[derive(Debug, Copy, Clone)]
1640pub struct NDIlib_recv_queue_t {
1641    pub video_frames: ::std::os::raw::c_int,
1642    pub audio_frames: ::std::os::raw::c_int,
1643    pub metadata_frames: ::std::os::raw::c_int,
1644}
1645#[test]
1646fn bindgen_test_layout_NDIlib_recv_queue_t() {
1647    assert_eq!(
1648        ::std::mem::size_of::<NDIlib_recv_queue_t>(),
1649        12usize,
1650        concat!("Size of: ", stringify!(NDIlib_recv_queue_t))
1651    );
1652    assert_eq!(
1653        ::std::mem::align_of::<NDIlib_recv_queue_t>(),
1654        4usize,
1655        concat!("Alignment of ", stringify!(NDIlib_recv_queue_t))
1656    );
1657    assert_eq!(
1658        unsafe {
1659            &(*(::std::ptr::null::<NDIlib_recv_queue_t>())).video_frames as *const _ as usize
1660        },
1661        0usize,
1662        concat!(
1663            "Offset of field: ",
1664            stringify!(NDIlib_recv_queue_t),
1665            "::",
1666            stringify!(video_frames)
1667        )
1668    );
1669    assert_eq!(
1670        unsafe {
1671            &(*(::std::ptr::null::<NDIlib_recv_queue_t>())).audio_frames as *const _ as usize
1672        },
1673        4usize,
1674        concat!(
1675            "Offset of field: ",
1676            stringify!(NDIlib_recv_queue_t),
1677            "::",
1678            stringify!(audio_frames)
1679        )
1680    );
1681    assert_eq!(
1682        unsafe {
1683            &(*(::std::ptr::null::<NDIlib_recv_queue_t>())).metadata_frames as *const _ as usize
1684        },
1685        8usize,
1686        concat!(
1687            "Offset of field: ",
1688            stringify!(NDIlib_recv_queue_t),
1689            "::",
1690            stringify!(metadata_frames)
1691        )
1692    );
1693}
1694extern "C" {
1695    pub fn NDIlib_recv_create_v3(
1696        p_create_settings: *const NDIlib_recv_create_v3_t,
1697    ) -> NDIlib_recv_instance_t;
1698}
1699extern "C" {
1700    pub fn NDIlib_recv_destroy(p_instance: NDIlib_recv_instance_t);
1701}
1702extern "C" {
1703    pub fn NDIlib_recv_connect(p_instance: NDIlib_recv_instance_t, p_src: *const NDIlib_source_t);
1704}
1705extern "C" {
1706    pub fn NDIlib_recv_capture_v2(
1707        p_instance: NDIlib_recv_instance_t,
1708        p_video_data: *mut NDIlib_video_frame_v2_t,
1709        p_audio_data: *mut NDIlib_audio_frame_v2_t,
1710        p_metadata: *mut NDIlib_metadata_frame_t,
1711        timeout_in_ms: u32,
1712    ) -> NDIlib_frame_type_e;
1713}
1714extern "C" {
1715    pub fn NDIlib_recv_capture_v3(
1716        p_instance: NDIlib_recv_instance_t,
1717        p_video_data: *mut NDIlib_video_frame_v2_t,
1718        p_audio_data: *mut NDIlib_audio_frame_v3_t,
1719        p_metadata: *mut NDIlib_metadata_frame_t,
1720        timeout_in_ms: u32,
1721    ) -> NDIlib_frame_type_e;
1722}
1723extern "C" {
1724    pub fn NDIlib_recv_free_video_v2(
1725        p_instance: NDIlib_recv_instance_t,
1726        p_video_data: *const NDIlib_video_frame_v2_t,
1727    );
1728}
1729extern "C" {
1730    pub fn NDIlib_recv_free_audio_v2(
1731        p_instance: NDIlib_recv_instance_t,
1732        p_audio_data: *const NDIlib_audio_frame_v2_t,
1733    );
1734}
1735extern "C" {
1736    pub fn NDIlib_recv_free_audio_v3(
1737        p_instance: NDIlib_recv_instance_t,
1738        p_audio_data: *const NDIlib_audio_frame_v3_t,
1739    );
1740}
1741extern "C" {
1742    pub fn NDIlib_recv_free_metadata(
1743        p_instance: NDIlib_recv_instance_t,
1744        p_metadata: *const NDIlib_metadata_frame_t,
1745    );
1746}
1747extern "C" {
1748    pub fn NDIlib_recv_free_string(
1749        p_instance: NDIlib_recv_instance_t,
1750        p_string: *const ::std::os::raw::c_char,
1751    );
1752}
1753extern "C" {
1754    pub fn NDIlib_recv_send_metadata(
1755        p_instance: NDIlib_recv_instance_t,
1756        p_metadata: *const NDIlib_metadata_frame_t,
1757    ) -> bool;
1758}
1759extern "C" {
1760    pub fn NDIlib_recv_set_tally(
1761        p_instance: NDIlib_recv_instance_t,
1762        p_tally: *const NDIlib_tally_t,
1763    ) -> bool;
1764}
1765extern "C" {
1766    pub fn NDIlib_recv_get_performance(
1767        p_instance: NDIlib_recv_instance_t,
1768        p_total: *mut NDIlib_recv_performance_t,
1769        p_dropped: *mut NDIlib_recv_performance_t,
1770    );
1771}
1772extern "C" {
1773    pub fn NDIlib_recv_get_queue(
1774        p_instance: NDIlib_recv_instance_t,
1775        p_total: *mut NDIlib_recv_queue_t,
1776    );
1777}
1778extern "C" {
1779    pub fn NDIlib_recv_clear_connection_metadata(p_instance: NDIlib_recv_instance_t);
1780}
1781extern "C" {
1782    pub fn NDIlib_recv_add_connection_metadata(
1783        p_instance: NDIlib_recv_instance_t,
1784        p_metadata: *const NDIlib_metadata_frame_t,
1785    );
1786}
1787extern "C" {
1788    pub fn NDIlib_recv_get_no_connections(
1789        p_instance: NDIlib_recv_instance_t,
1790    ) -> ::std::os::raw::c_int;
1791}
1792extern "C" {
1793    pub fn NDIlib_recv_get_web_control(
1794        p_instance: NDIlib_recv_instance_t,
1795    ) -> *const ::std::os::raw::c_char;
1796}
1797extern "C" {
1798    pub fn NDIlib_recv_ptz_is_supported(p_instance: NDIlib_recv_instance_t) -> bool;
1799}
1800extern "C" {
1801    pub fn NDIlib_recv_recording_is_supported(p_instance: NDIlib_recv_instance_t) -> bool;
1802}
1803extern "C" {
1804    pub fn NDIlib_recv_ptz_zoom(p_instance: NDIlib_recv_instance_t, zoom_value: f32) -> bool;
1805}
1806extern "C" {
1807    pub fn NDIlib_recv_ptz_zoom_speed(p_instance: NDIlib_recv_instance_t, zoom_speed: f32) -> bool;
1808}
1809extern "C" {
1810    pub fn NDIlib_recv_ptz_pan_tilt(
1811        p_instance: NDIlib_recv_instance_t,
1812        pan_value: f32,
1813        tilt_value: f32,
1814    ) -> bool;
1815}
1816extern "C" {
1817    pub fn NDIlib_recv_ptz_pan_tilt_speed(
1818        p_instance: NDIlib_recv_instance_t,
1819        pan_speed: f32,
1820        tilt_speed: f32,
1821    ) -> bool;
1822}
1823extern "C" {
1824    pub fn NDIlib_recv_ptz_store_preset(
1825        p_instance: NDIlib_recv_instance_t,
1826        preset_no: ::std::os::raw::c_int,
1827    ) -> bool;
1828}
1829extern "C" {
1830    pub fn NDIlib_recv_ptz_recall_preset(
1831        p_instance: NDIlib_recv_instance_t,
1832        preset_no: ::std::os::raw::c_int,
1833        speed: f32,
1834    ) -> bool;
1835}
1836extern "C" {
1837    pub fn NDIlib_recv_ptz_auto_focus(p_instance: NDIlib_recv_instance_t) -> bool;
1838}
1839extern "C" {
1840    pub fn NDIlib_recv_ptz_focus(p_instance: NDIlib_recv_instance_t, focus_value: f32) -> bool;
1841}
1842extern "C" {
1843    pub fn NDIlib_recv_ptz_focus_speed(
1844        p_instance: NDIlib_recv_instance_t,
1845        focus_speed: f32,
1846    ) -> bool;
1847}
1848extern "C" {
1849    pub fn NDIlib_recv_ptz_white_balance_auto(p_instance: NDIlib_recv_instance_t) -> bool;
1850}
1851extern "C" {
1852    pub fn NDIlib_recv_ptz_white_balance_indoor(p_instance: NDIlib_recv_instance_t) -> bool;
1853}
1854extern "C" {
1855    pub fn NDIlib_recv_ptz_white_balance_outdoor(p_instance: NDIlib_recv_instance_t) -> bool;
1856}
1857extern "C" {
1858    pub fn NDIlib_recv_ptz_white_balance_oneshot(p_instance: NDIlib_recv_instance_t) -> bool;
1859}
1860extern "C" {
1861    pub fn NDIlib_recv_ptz_white_balance_manual(
1862        p_instance: NDIlib_recv_instance_t,
1863        red: f32,
1864        blue: f32,
1865    ) -> bool;
1866}
1867extern "C" {
1868    pub fn NDIlib_recv_ptz_exposure_auto(p_instance: NDIlib_recv_instance_t) -> bool;
1869}
1870extern "C" {
1871    pub fn NDIlib_recv_ptz_exposure_manual(
1872        p_instance: NDIlib_recv_instance_t,
1873        exposure_level: f32,
1874    ) -> bool;
1875}
1876extern "C" {
1877    pub fn NDIlib_recv_ptz_exposure_manual_v2(
1878        p_instance: NDIlib_recv_instance_t,
1879        iris: f32,
1880        gain: f32,
1881        shutter_speed: f32,
1882    ) -> bool;
1883}
1884extern "C" {
1885    pub fn NDIlib_recv_recording_start(
1886        p_instance: NDIlib_recv_instance_t,
1887        p_filename_hint: *const ::std::os::raw::c_char,
1888    ) -> bool;
1889}
1890extern "C" {
1891    pub fn NDIlib_recv_recording_stop(p_instance: NDIlib_recv_instance_t) -> bool;
1892}
1893extern "C" {
1894    pub fn NDIlib_recv_recording_set_audio_level(
1895        p_instance: NDIlib_recv_instance_t,
1896        level_dB: f32,
1897    ) -> bool;
1898}
1899extern "C" {
1900    pub fn NDIlib_recv_recording_is_recording(p_instance: NDIlib_recv_instance_t) -> bool;
1901}
1902extern "C" {
1903    pub fn NDIlib_recv_recording_get_filename(
1904        p_instance: NDIlib_recv_instance_t,
1905    ) -> *const ::std::os::raw::c_char;
1906}
1907extern "C" {
1908    pub fn NDIlib_recv_recording_get_error(
1909        p_instance: NDIlib_recv_instance_t,
1910    ) -> *const ::std::os::raw::c_char;
1911}
1912#[repr(C)]
1913#[derive(Debug, Copy, Clone)]
1914pub struct NDIlib_recv_recording_time_t {
1915    pub no_frames: i64,
1916    pub start_time: i64,
1917    pub last_time: i64,
1918}
1919#[test]
1920fn bindgen_test_layout_NDIlib_recv_recording_time_t() {
1921    assert_eq!(
1922        ::std::mem::size_of::<NDIlib_recv_recording_time_t>(),
1923        24usize,
1924        concat!("Size of: ", stringify!(NDIlib_recv_recording_time_t))
1925    );
1926    assert_eq!(
1927        ::std::mem::align_of::<NDIlib_recv_recording_time_t>(),
1928        8usize,
1929        concat!("Alignment of ", stringify!(NDIlib_recv_recording_time_t))
1930    );
1931    assert_eq!(
1932        unsafe {
1933            &(*(::std::ptr::null::<NDIlib_recv_recording_time_t>())).no_frames as *const _ as usize
1934        },
1935        0usize,
1936        concat!(
1937            "Offset of field: ",
1938            stringify!(NDIlib_recv_recording_time_t),
1939            "::",
1940            stringify!(no_frames)
1941        )
1942    );
1943    assert_eq!(
1944        unsafe {
1945            &(*(::std::ptr::null::<NDIlib_recv_recording_time_t>())).start_time as *const _ as usize
1946        },
1947        8usize,
1948        concat!(
1949            "Offset of field: ",
1950            stringify!(NDIlib_recv_recording_time_t),
1951            "::",
1952            stringify!(start_time)
1953        )
1954    );
1955    assert_eq!(
1956        unsafe {
1957            &(*(::std::ptr::null::<NDIlib_recv_recording_time_t>())).last_time as *const _ as usize
1958        },
1959        16usize,
1960        concat!(
1961            "Offset of field: ",
1962            stringify!(NDIlib_recv_recording_time_t),
1963            "::",
1964            stringify!(last_time)
1965        )
1966    );
1967}
1968extern "C" {
1969    pub fn NDIlib_recv_recording_get_times(
1970        p_instance: NDIlib_recv_instance_t,
1971        p_times: *mut NDIlib_recv_recording_time_t,
1972    ) -> bool;
1973}
1974pub type NDIlib_send_instance_t = *mut ::std::os::raw::c_void;
1975#[repr(C)]
1976#[derive(Debug, Copy, Clone)]
1977pub struct NDIlib_send_create_t {
1978    pub p_ndi_name: *const ::std::os::raw::c_char,
1979    pub p_groups: *const ::std::os::raw::c_char,
1980    pub clock_video: bool,
1981    pub clock_audio: bool,
1982}
1983#[test]
1984fn bindgen_test_layout_NDIlib_send_create_t() {
1985    assert_eq!(
1986        ::std::mem::size_of::<NDIlib_send_create_t>(),
1987        24usize,
1988        concat!("Size of: ", stringify!(NDIlib_send_create_t))
1989    );
1990    assert_eq!(
1991        ::std::mem::align_of::<NDIlib_send_create_t>(),
1992        8usize,
1993        concat!("Alignment of ", stringify!(NDIlib_send_create_t))
1994    );
1995    assert_eq!(
1996        unsafe { &(*(::std::ptr::null::<NDIlib_send_create_t>())).p_ndi_name as *const _ as usize },
1997        0usize,
1998        concat!(
1999            "Offset of field: ",
2000            stringify!(NDIlib_send_create_t),
2001            "::",
2002            stringify!(p_ndi_name)
2003        )
2004    );
2005    assert_eq!(
2006        unsafe { &(*(::std::ptr::null::<NDIlib_send_create_t>())).p_groups as *const _ as usize },
2007        8usize,
2008        concat!(
2009            "Offset of field: ",
2010            stringify!(NDIlib_send_create_t),
2011            "::",
2012            stringify!(p_groups)
2013        )
2014    );
2015    assert_eq!(
2016        unsafe {
2017            &(*(::std::ptr::null::<NDIlib_send_create_t>())).clock_video as *const _ as usize
2018        },
2019        16usize,
2020        concat!(
2021            "Offset of field: ",
2022            stringify!(NDIlib_send_create_t),
2023            "::",
2024            stringify!(clock_video)
2025        )
2026    );
2027    assert_eq!(
2028        unsafe {
2029            &(*(::std::ptr::null::<NDIlib_send_create_t>())).clock_audio as *const _ as usize
2030        },
2031        17usize,
2032        concat!(
2033            "Offset of field: ",
2034            stringify!(NDIlib_send_create_t),
2035            "::",
2036            stringify!(clock_audio)
2037        )
2038    );
2039}
2040extern "C" {
2041    pub fn NDIlib_send_create(
2042        p_create_settings: *const NDIlib_send_create_t,
2043    ) -> NDIlib_send_instance_t;
2044}
2045extern "C" {
2046    pub fn NDIlib_send_destroy(p_instance: NDIlib_send_instance_t);
2047}
2048extern "C" {
2049    pub fn NDIlib_send_send_video_v2(
2050        p_instance: NDIlib_send_instance_t,
2051        p_video_data: *const NDIlib_video_frame_v2_t,
2052    );
2053}
2054extern "C" {
2055    pub fn NDIlib_send_send_video_async_v2(
2056        p_instance: NDIlib_send_instance_t,
2057        p_video_data: *const NDIlib_video_frame_v2_t,
2058    );
2059}
2060extern "C" {
2061    pub fn NDIlib_send_send_audio_v2(
2062        p_instance: NDIlib_send_instance_t,
2063        p_audio_data: *const NDIlib_audio_frame_v2_t,
2064    );
2065}
2066extern "C" {
2067    pub fn NDIlib_send_send_audio_v3(
2068        p_instance: NDIlib_send_instance_t,
2069        p_audio_data: *const NDIlib_audio_frame_v3_t,
2070    );
2071}
2072extern "C" {
2073    pub fn NDIlib_send_send_metadata(
2074        p_instance: NDIlib_send_instance_t,
2075        p_metadata: *const NDIlib_metadata_frame_t,
2076    );
2077}
2078extern "C" {
2079    pub fn NDIlib_send_capture(
2080        p_instance: NDIlib_send_instance_t,
2081        p_metadata: *mut NDIlib_metadata_frame_t,
2082        timeout_in_ms: u32,
2083    ) -> NDIlib_frame_type_e;
2084}
2085extern "C" {
2086    pub fn NDIlib_send_free_metadata(
2087        p_instance: NDIlib_send_instance_t,
2088        p_metadata: *const NDIlib_metadata_frame_t,
2089    );
2090}
2091extern "C" {
2092    pub fn NDIlib_send_get_tally(
2093        p_instance: NDIlib_send_instance_t,
2094        p_tally: *mut NDIlib_tally_t,
2095        timeout_in_ms: u32,
2096    ) -> bool;
2097}
2098extern "C" {
2099    pub fn NDIlib_send_get_no_connections(
2100        p_instance: NDIlib_send_instance_t,
2101        timeout_in_ms: u32,
2102    ) -> ::std::os::raw::c_int;
2103}
2104extern "C" {
2105    pub fn NDIlib_send_clear_connection_metadata(p_instance: NDIlib_send_instance_t);
2106}
2107extern "C" {
2108    pub fn NDIlib_send_add_connection_metadata(
2109        p_instance: NDIlib_send_instance_t,
2110        p_metadata: *const NDIlib_metadata_frame_t,
2111    );
2112}
2113extern "C" {
2114    pub fn NDIlib_send_set_failover(
2115        p_instance: NDIlib_send_instance_t,
2116        p_failover_source: *const NDIlib_source_t,
2117    );
2118}
2119extern "C" {
2120    pub fn NDIlib_send_get_source_name(
2121        p_instance: NDIlib_send_instance_t,
2122    ) -> *const NDIlib_source_t;
2123}
2124pub type NDIlib_routing_instance_t = *mut ::std::os::raw::c_void;
2125#[repr(C)]
2126#[derive(Debug, Copy, Clone)]
2127pub struct NDIlib_routing_create_t {
2128    pub p_ndi_name: *const ::std::os::raw::c_char,
2129    pub p_groups: *const ::std::os::raw::c_char,
2130}
2131#[test]
2132fn bindgen_test_layout_NDIlib_routing_create_t() {
2133    assert_eq!(
2134        ::std::mem::size_of::<NDIlib_routing_create_t>(),
2135        16usize,
2136        concat!("Size of: ", stringify!(NDIlib_routing_create_t))
2137    );
2138    assert_eq!(
2139        ::std::mem::align_of::<NDIlib_routing_create_t>(),
2140        8usize,
2141        concat!("Alignment of ", stringify!(NDIlib_routing_create_t))
2142    );
2143    assert_eq!(
2144        unsafe {
2145            &(*(::std::ptr::null::<NDIlib_routing_create_t>())).p_ndi_name as *const _ as usize
2146        },
2147        0usize,
2148        concat!(
2149            "Offset of field: ",
2150            stringify!(NDIlib_routing_create_t),
2151            "::",
2152            stringify!(p_ndi_name)
2153        )
2154    );
2155    assert_eq!(
2156        unsafe {
2157            &(*(::std::ptr::null::<NDIlib_routing_create_t>())).p_groups as *const _ as usize
2158        },
2159        8usize,
2160        concat!(
2161            "Offset of field: ",
2162            stringify!(NDIlib_routing_create_t),
2163            "::",
2164            stringify!(p_groups)
2165        )
2166    );
2167}
2168extern "C" {
2169    pub fn NDIlib_routing_create(
2170        p_create_settings: *const NDIlib_routing_create_t,
2171    ) -> NDIlib_routing_instance_t;
2172}
2173extern "C" {
2174    pub fn NDIlib_routing_destroy(p_instance: NDIlib_routing_instance_t);
2175}
2176extern "C" {
2177    pub fn NDIlib_routing_change(
2178        p_instance: NDIlib_routing_instance_t,
2179        p_source: *const NDIlib_source_t,
2180    ) -> bool;
2181}
2182extern "C" {
2183    pub fn NDIlib_routing_clear(p_instance: NDIlib_routing_instance_t) -> bool;
2184}
2185extern "C" {
2186    pub fn NDIlib_routing_get_no_connections(
2187        p_instance: NDIlib_routing_instance_t,
2188        timeout_in_ms: u32,
2189    ) -> ::std::os::raw::c_int;
2190}
2191extern "C" {
2192    pub fn NDIlib_routing_get_source_name(
2193        p_instance: NDIlib_routing_instance_t,
2194    ) -> *const NDIlib_source_t;
2195}
2196#[repr(C)]
2197#[derive(Debug, Copy, Clone)]
2198pub struct NDIlib_audio_frame_interleaved_16s_t {
2199    pub sample_rate: ::std::os::raw::c_int,
2200    pub no_channels: ::std::os::raw::c_int,
2201    pub no_samples: ::std::os::raw::c_int,
2202    pub timecode: i64,
2203    pub reference_level: ::std::os::raw::c_int,
2204    pub p_data: *mut i16,
2205}
2206#[test]
2207fn bindgen_test_layout_NDIlib_audio_frame_interleaved_16s_t() {
2208    assert_eq!(
2209        ::std::mem::size_of::<NDIlib_audio_frame_interleaved_16s_t>(),
2210        40usize,
2211        concat!(
2212            "Size of: ",
2213            stringify!(NDIlib_audio_frame_interleaved_16s_t)
2214        )
2215    );
2216    assert_eq!(
2217        ::std::mem::align_of::<NDIlib_audio_frame_interleaved_16s_t>(),
2218        8usize,
2219        concat!(
2220            "Alignment of ",
2221            stringify!(NDIlib_audio_frame_interleaved_16s_t)
2222        )
2223    );
2224    assert_eq!(
2225        unsafe {
2226            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_16s_t>())).sample_rate as *const _
2227                as usize
2228        },
2229        0usize,
2230        concat!(
2231            "Offset of field: ",
2232            stringify!(NDIlib_audio_frame_interleaved_16s_t),
2233            "::",
2234            stringify!(sample_rate)
2235        )
2236    );
2237    assert_eq!(
2238        unsafe {
2239            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_16s_t>())).no_channels as *const _
2240                as usize
2241        },
2242        4usize,
2243        concat!(
2244            "Offset of field: ",
2245            stringify!(NDIlib_audio_frame_interleaved_16s_t),
2246            "::",
2247            stringify!(no_channels)
2248        )
2249    );
2250    assert_eq!(
2251        unsafe {
2252            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_16s_t>())).no_samples as *const _
2253                as usize
2254        },
2255        8usize,
2256        concat!(
2257            "Offset of field: ",
2258            stringify!(NDIlib_audio_frame_interleaved_16s_t),
2259            "::",
2260            stringify!(no_samples)
2261        )
2262    );
2263    assert_eq!(
2264        unsafe {
2265            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_16s_t>())).timecode as *const _
2266                as usize
2267        },
2268        16usize,
2269        concat!(
2270            "Offset of field: ",
2271            stringify!(NDIlib_audio_frame_interleaved_16s_t),
2272            "::",
2273            stringify!(timecode)
2274        )
2275    );
2276    assert_eq!(
2277        unsafe {
2278            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_16s_t>())).reference_level
2279                as *const _ as usize
2280        },
2281        24usize,
2282        concat!(
2283            "Offset of field: ",
2284            stringify!(NDIlib_audio_frame_interleaved_16s_t),
2285            "::",
2286            stringify!(reference_level)
2287        )
2288    );
2289    assert_eq!(
2290        unsafe {
2291            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_16s_t>())).p_data as *const _
2292                as usize
2293        },
2294        32usize,
2295        concat!(
2296            "Offset of field: ",
2297            stringify!(NDIlib_audio_frame_interleaved_16s_t),
2298            "::",
2299            stringify!(p_data)
2300        )
2301    );
2302}
2303#[repr(C)]
2304#[derive(Debug, Copy, Clone)]
2305pub struct NDIlib_audio_frame_interleaved_32s_t {
2306    pub sample_rate: ::std::os::raw::c_int,
2307    pub no_channels: ::std::os::raw::c_int,
2308    pub no_samples: ::std::os::raw::c_int,
2309    pub timecode: i64,
2310    pub reference_level: ::std::os::raw::c_int,
2311    pub p_data: *mut i32,
2312}
2313#[test]
2314fn bindgen_test_layout_NDIlib_audio_frame_interleaved_32s_t() {
2315    assert_eq!(
2316        ::std::mem::size_of::<NDIlib_audio_frame_interleaved_32s_t>(),
2317        40usize,
2318        concat!(
2319            "Size of: ",
2320            stringify!(NDIlib_audio_frame_interleaved_32s_t)
2321        )
2322    );
2323    assert_eq!(
2324        ::std::mem::align_of::<NDIlib_audio_frame_interleaved_32s_t>(),
2325        8usize,
2326        concat!(
2327            "Alignment of ",
2328            stringify!(NDIlib_audio_frame_interleaved_32s_t)
2329        )
2330    );
2331    assert_eq!(
2332        unsafe {
2333            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32s_t>())).sample_rate as *const _
2334                as usize
2335        },
2336        0usize,
2337        concat!(
2338            "Offset of field: ",
2339            stringify!(NDIlib_audio_frame_interleaved_32s_t),
2340            "::",
2341            stringify!(sample_rate)
2342        )
2343    );
2344    assert_eq!(
2345        unsafe {
2346            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32s_t>())).no_channels as *const _
2347                as usize
2348        },
2349        4usize,
2350        concat!(
2351            "Offset of field: ",
2352            stringify!(NDIlib_audio_frame_interleaved_32s_t),
2353            "::",
2354            stringify!(no_channels)
2355        )
2356    );
2357    assert_eq!(
2358        unsafe {
2359            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32s_t>())).no_samples as *const _
2360                as usize
2361        },
2362        8usize,
2363        concat!(
2364            "Offset of field: ",
2365            stringify!(NDIlib_audio_frame_interleaved_32s_t),
2366            "::",
2367            stringify!(no_samples)
2368        )
2369    );
2370    assert_eq!(
2371        unsafe {
2372            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32s_t>())).timecode as *const _
2373                as usize
2374        },
2375        16usize,
2376        concat!(
2377            "Offset of field: ",
2378            stringify!(NDIlib_audio_frame_interleaved_32s_t),
2379            "::",
2380            stringify!(timecode)
2381        )
2382    );
2383    assert_eq!(
2384        unsafe {
2385            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32s_t>())).reference_level
2386                as *const _ as usize
2387        },
2388        24usize,
2389        concat!(
2390            "Offset of field: ",
2391            stringify!(NDIlib_audio_frame_interleaved_32s_t),
2392            "::",
2393            stringify!(reference_level)
2394        )
2395    );
2396    assert_eq!(
2397        unsafe {
2398            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32s_t>())).p_data as *const _
2399                as usize
2400        },
2401        32usize,
2402        concat!(
2403            "Offset of field: ",
2404            stringify!(NDIlib_audio_frame_interleaved_32s_t),
2405            "::",
2406            stringify!(p_data)
2407        )
2408    );
2409}
2410#[repr(C)]
2411#[derive(Debug, Copy, Clone)]
2412pub struct NDIlib_audio_frame_interleaved_32f_t {
2413    pub sample_rate: ::std::os::raw::c_int,
2414    pub no_channels: ::std::os::raw::c_int,
2415    pub no_samples: ::std::os::raw::c_int,
2416    pub timecode: i64,
2417    pub p_data: *mut f32,
2418}
2419#[test]
2420fn bindgen_test_layout_NDIlib_audio_frame_interleaved_32f_t() {
2421    assert_eq!(
2422        ::std::mem::size_of::<NDIlib_audio_frame_interleaved_32f_t>(),
2423        32usize,
2424        concat!(
2425            "Size of: ",
2426            stringify!(NDIlib_audio_frame_interleaved_32f_t)
2427        )
2428    );
2429    assert_eq!(
2430        ::std::mem::align_of::<NDIlib_audio_frame_interleaved_32f_t>(),
2431        8usize,
2432        concat!(
2433            "Alignment of ",
2434            stringify!(NDIlib_audio_frame_interleaved_32f_t)
2435        )
2436    );
2437    assert_eq!(
2438        unsafe {
2439            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32f_t>())).sample_rate as *const _
2440                as usize
2441        },
2442        0usize,
2443        concat!(
2444            "Offset of field: ",
2445            stringify!(NDIlib_audio_frame_interleaved_32f_t),
2446            "::",
2447            stringify!(sample_rate)
2448        )
2449    );
2450    assert_eq!(
2451        unsafe {
2452            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32f_t>())).no_channels as *const _
2453                as usize
2454        },
2455        4usize,
2456        concat!(
2457            "Offset of field: ",
2458            stringify!(NDIlib_audio_frame_interleaved_32f_t),
2459            "::",
2460            stringify!(no_channels)
2461        )
2462    );
2463    assert_eq!(
2464        unsafe {
2465            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32f_t>())).no_samples as *const _
2466                as usize
2467        },
2468        8usize,
2469        concat!(
2470            "Offset of field: ",
2471            stringify!(NDIlib_audio_frame_interleaved_32f_t),
2472            "::",
2473            stringify!(no_samples)
2474        )
2475    );
2476    assert_eq!(
2477        unsafe {
2478            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32f_t>())).timecode as *const _
2479                as usize
2480        },
2481        16usize,
2482        concat!(
2483            "Offset of field: ",
2484            stringify!(NDIlib_audio_frame_interleaved_32f_t),
2485            "::",
2486            stringify!(timecode)
2487        )
2488    );
2489    assert_eq!(
2490        unsafe {
2491            &(*(::std::ptr::null::<NDIlib_audio_frame_interleaved_32f_t>())).p_data as *const _
2492                as usize
2493        },
2494        24usize,
2495        concat!(
2496            "Offset of field: ",
2497            stringify!(NDIlib_audio_frame_interleaved_32f_t),
2498            "::",
2499            stringify!(p_data)
2500        )
2501    );
2502}
2503extern "C" {
2504    pub fn NDIlib_util_send_send_audio_interleaved_16s(
2505        p_instance: NDIlib_send_instance_t,
2506        p_audio_data: *const NDIlib_audio_frame_interleaved_16s_t,
2507    );
2508}
2509extern "C" {
2510    pub fn NDIlib_util_send_send_audio_interleaved_32s(
2511        p_instance: NDIlib_send_instance_t,
2512        p_audio_data: *const NDIlib_audio_frame_interleaved_32s_t,
2513    );
2514}
2515extern "C" {
2516    pub fn NDIlib_util_send_send_audio_interleaved_32f(
2517        p_instance: NDIlib_send_instance_t,
2518        p_audio_data: *const NDIlib_audio_frame_interleaved_32f_t,
2519    );
2520}
2521extern "C" {
2522    pub fn NDIlib_util_audio_to_interleaved_16s_v2(
2523        p_src: *const NDIlib_audio_frame_v2_t,
2524        p_dst: *mut NDIlib_audio_frame_interleaved_16s_t,
2525    );
2526}
2527extern "C" {
2528    pub fn NDIlib_util_audio_from_interleaved_16s_v2(
2529        p_src: *const NDIlib_audio_frame_interleaved_16s_t,
2530        p_dst: *mut NDIlib_audio_frame_v2_t,
2531    );
2532}
2533extern "C" {
2534    pub fn NDIlib_util_audio_to_interleaved_32s_v2(
2535        p_src: *const NDIlib_audio_frame_v2_t,
2536        p_dst: *mut NDIlib_audio_frame_interleaved_32s_t,
2537    );
2538}
2539extern "C" {
2540    pub fn NDIlib_util_audio_from_interleaved_32s_v2(
2541        p_src: *const NDIlib_audio_frame_interleaved_32s_t,
2542        p_dst: *mut NDIlib_audio_frame_v2_t,
2543    );
2544}
2545extern "C" {
2546    pub fn NDIlib_util_audio_to_interleaved_32f_v2(
2547        p_src: *const NDIlib_audio_frame_v2_t,
2548        p_dst: *mut NDIlib_audio_frame_interleaved_32f_t,
2549    );
2550}
2551extern "C" {
2552    pub fn NDIlib_util_audio_from_interleaved_32f_v2(
2553        p_src: *const NDIlib_audio_frame_interleaved_32f_t,
2554        p_dst: *mut NDIlib_audio_frame_v2_t,
2555    );
2556}
2557extern "C" {
2558    pub fn NDIlib_util_V210_to_P216(
2559        p_src_v210: *const NDIlib_video_frame_v2_t,
2560        p_dst_p216: *mut NDIlib_video_frame_v2_t,
2561    );
2562}
2563extern "C" {
2564    pub fn NDIlib_util_P216_to_V210(
2565        p_src_p216: *const NDIlib_video_frame_v2_t,
2566        p_dst_v210: *mut NDIlib_video_frame_v2_t,
2567    );
2568}
2569#[repr(C)]
2570#[derive(Debug, Copy, Clone)]
2571pub struct NDIlib_video_frame_t {
2572    pub xres: ::std::os::raw::c_int,
2573    pub yres: ::std::os::raw::c_int,
2574    pub FourCC: NDIlib_FourCC_video_type_e,
2575    pub frame_rate_N: ::std::os::raw::c_int,
2576    pub frame_rate_D: ::std::os::raw::c_int,
2577    pub picture_aspect_ratio: f32,
2578    pub frame_format_type: NDIlib_frame_format_type_e,
2579    pub timecode: i64,
2580    pub p_data: *mut u8,
2581    pub line_stride_in_bytes: ::std::os::raw::c_int,
2582}
2583#[test]
2584fn bindgen_test_layout_NDIlib_video_frame_t() {
2585    assert_eq!(
2586        ::std::mem::size_of::<NDIlib_video_frame_t>(),
2587        56usize,
2588        concat!("Size of: ", stringify!(NDIlib_video_frame_t))
2589    );
2590    assert_eq!(
2591        ::std::mem::align_of::<NDIlib_video_frame_t>(),
2592        8usize,
2593        concat!("Alignment of ", stringify!(NDIlib_video_frame_t))
2594    );
2595    assert_eq!(
2596        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_t>())).xres as *const _ as usize },
2597        0usize,
2598        concat!(
2599            "Offset of field: ",
2600            stringify!(NDIlib_video_frame_t),
2601            "::",
2602            stringify!(xres)
2603        )
2604    );
2605    assert_eq!(
2606        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_t>())).yres as *const _ as usize },
2607        4usize,
2608        concat!(
2609            "Offset of field: ",
2610            stringify!(NDIlib_video_frame_t),
2611            "::",
2612            stringify!(yres)
2613        )
2614    );
2615    assert_eq!(
2616        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_t>())).FourCC as *const _ as usize },
2617        8usize,
2618        concat!(
2619            "Offset of field: ",
2620            stringify!(NDIlib_video_frame_t),
2621            "::",
2622            stringify!(FourCC)
2623        )
2624    );
2625    assert_eq!(
2626        unsafe {
2627            &(*(::std::ptr::null::<NDIlib_video_frame_t>())).frame_rate_N as *const _ as usize
2628        },
2629        12usize,
2630        concat!(
2631            "Offset of field: ",
2632            stringify!(NDIlib_video_frame_t),
2633            "::",
2634            stringify!(frame_rate_N)
2635        )
2636    );
2637    assert_eq!(
2638        unsafe {
2639            &(*(::std::ptr::null::<NDIlib_video_frame_t>())).frame_rate_D as *const _ as usize
2640        },
2641        16usize,
2642        concat!(
2643            "Offset of field: ",
2644            stringify!(NDIlib_video_frame_t),
2645            "::",
2646            stringify!(frame_rate_D)
2647        )
2648    );
2649    assert_eq!(
2650        unsafe {
2651            &(*(::std::ptr::null::<NDIlib_video_frame_t>())).picture_aspect_ratio as *const _
2652                as usize
2653        },
2654        20usize,
2655        concat!(
2656            "Offset of field: ",
2657            stringify!(NDIlib_video_frame_t),
2658            "::",
2659            stringify!(picture_aspect_ratio)
2660        )
2661    );
2662    assert_eq!(
2663        unsafe {
2664            &(*(::std::ptr::null::<NDIlib_video_frame_t>())).frame_format_type as *const _ as usize
2665        },
2666        24usize,
2667        concat!(
2668            "Offset of field: ",
2669            stringify!(NDIlib_video_frame_t),
2670            "::",
2671            stringify!(frame_format_type)
2672        )
2673    );
2674    assert_eq!(
2675        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_t>())).timecode as *const _ as usize },
2676        32usize,
2677        concat!(
2678            "Offset of field: ",
2679            stringify!(NDIlib_video_frame_t),
2680            "::",
2681            stringify!(timecode)
2682        )
2683    );
2684    assert_eq!(
2685        unsafe { &(*(::std::ptr::null::<NDIlib_video_frame_t>())).p_data as *const _ as usize },
2686        40usize,
2687        concat!(
2688            "Offset of field: ",
2689            stringify!(NDIlib_video_frame_t),
2690            "::",
2691            stringify!(p_data)
2692        )
2693    );
2694    assert_eq!(
2695        unsafe {
2696            &(*(::std::ptr::null::<NDIlib_video_frame_t>())).line_stride_in_bytes as *const _
2697                as usize
2698        },
2699        48usize,
2700        concat!(
2701            "Offset of field: ",
2702            stringify!(NDIlib_video_frame_t),
2703            "::",
2704            stringify!(line_stride_in_bytes)
2705        )
2706    );
2707}
2708#[repr(C)]
2709#[derive(Debug, Copy, Clone)]
2710pub struct NDIlib_audio_frame_t {
2711    pub sample_rate: ::std::os::raw::c_int,
2712    pub no_channels: ::std::os::raw::c_int,
2713    pub no_samples: ::std::os::raw::c_int,
2714    pub timecode: i64,
2715    pub p_data: *mut f32,
2716    pub channel_stride_in_bytes: ::std::os::raw::c_int,
2717}
2718#[test]
2719fn bindgen_test_layout_NDIlib_audio_frame_t() {
2720    assert_eq!(
2721        ::std::mem::size_of::<NDIlib_audio_frame_t>(),
2722        40usize,
2723        concat!("Size of: ", stringify!(NDIlib_audio_frame_t))
2724    );
2725    assert_eq!(
2726        ::std::mem::align_of::<NDIlib_audio_frame_t>(),
2727        8usize,
2728        concat!("Alignment of ", stringify!(NDIlib_audio_frame_t))
2729    );
2730    assert_eq!(
2731        unsafe {
2732            &(*(::std::ptr::null::<NDIlib_audio_frame_t>())).sample_rate as *const _ as usize
2733        },
2734        0usize,
2735        concat!(
2736            "Offset of field: ",
2737            stringify!(NDIlib_audio_frame_t),
2738            "::",
2739            stringify!(sample_rate)
2740        )
2741    );
2742    assert_eq!(
2743        unsafe {
2744            &(*(::std::ptr::null::<NDIlib_audio_frame_t>())).no_channels as *const _ as usize
2745        },
2746        4usize,
2747        concat!(
2748            "Offset of field: ",
2749            stringify!(NDIlib_audio_frame_t),
2750            "::",
2751            stringify!(no_channels)
2752        )
2753    );
2754    assert_eq!(
2755        unsafe { &(*(::std::ptr::null::<NDIlib_audio_frame_t>())).no_samples as *const _ as usize },
2756        8usize,
2757        concat!(
2758            "Offset of field: ",
2759            stringify!(NDIlib_audio_frame_t),
2760            "::",
2761            stringify!(no_samples)
2762        )
2763    );
2764    assert_eq!(
2765        unsafe { &(*(::std::ptr::null::<NDIlib_audio_frame_t>())).timecode as *const _ as usize },
2766        16usize,
2767        concat!(
2768            "Offset of field: ",
2769            stringify!(NDIlib_audio_frame_t),
2770            "::",
2771            stringify!(timecode)
2772        )
2773    );
2774    assert_eq!(
2775        unsafe { &(*(::std::ptr::null::<NDIlib_audio_frame_t>())).p_data as *const _ as usize },
2776        24usize,
2777        concat!(
2778            "Offset of field: ",
2779            stringify!(NDIlib_audio_frame_t),
2780            "::",
2781            stringify!(p_data)
2782        )
2783    );
2784    assert_eq!(
2785        unsafe {
2786            &(*(::std::ptr::null::<NDIlib_audio_frame_t>())).channel_stride_in_bytes as *const _
2787                as usize
2788        },
2789        32usize,
2790        concat!(
2791            "Offset of field: ",
2792            stringify!(NDIlib_audio_frame_t),
2793            "::",
2794            stringify!(channel_stride_in_bytes)
2795        )
2796    );
2797}
2798extern "C" {
2799    pub fn NDIlib_find_create2(
2800        p_create_settings: *const NDIlib_find_create_t,
2801    ) -> NDIlib_find_instance_t;
2802}
2803extern "C" {
2804    pub fn NDIlib_find_create(
2805        p_create_settings: *const NDIlib_find_create_t,
2806    ) -> NDIlib_find_instance_t;
2807}
2808extern "C" {
2809    pub fn NDIlib_find_get_sources(
2810        p_instance: NDIlib_find_instance_t,
2811        p_no_sources: *mut u32,
2812        timeout_in_ms: u32,
2813    ) -> *const NDIlib_source_t;
2814}
2815#[repr(C)]
2816#[derive(Copy, Clone)]
2817pub struct NDIlib_recv_create_t {
2818    pub source_to_connect_to: NDIlib_source_t,
2819    pub color_format: NDIlib_recv_color_format_e,
2820    pub bandwidth: NDIlib_recv_bandwidth_e,
2821    pub allow_video_fields: bool,
2822}
2823#[test]
2824fn bindgen_test_layout_NDIlib_recv_create_t() {
2825    assert_eq!(
2826        ::std::mem::size_of::<NDIlib_recv_create_t>(),
2827        32usize,
2828        concat!("Size of: ", stringify!(NDIlib_recv_create_t))
2829    );
2830    assert_eq!(
2831        ::std::mem::align_of::<NDIlib_recv_create_t>(),
2832        8usize,
2833        concat!("Alignment of ", stringify!(NDIlib_recv_create_t))
2834    );
2835    assert_eq!(
2836        unsafe {
2837            &(*(::std::ptr::null::<NDIlib_recv_create_t>())).source_to_connect_to as *const _
2838                as usize
2839        },
2840        0usize,
2841        concat!(
2842            "Offset of field: ",
2843            stringify!(NDIlib_recv_create_t),
2844            "::",
2845            stringify!(source_to_connect_to)
2846        )
2847    );
2848    assert_eq!(
2849        unsafe {
2850            &(*(::std::ptr::null::<NDIlib_recv_create_t>())).color_format as *const _ as usize
2851        },
2852        16usize,
2853        concat!(
2854            "Offset of field: ",
2855            stringify!(NDIlib_recv_create_t),
2856            "::",
2857            stringify!(color_format)
2858        )
2859    );
2860    assert_eq!(
2861        unsafe { &(*(::std::ptr::null::<NDIlib_recv_create_t>())).bandwidth as *const _ as usize },
2862        20usize,
2863        concat!(
2864            "Offset of field: ",
2865            stringify!(NDIlib_recv_create_t),
2866            "::",
2867            stringify!(bandwidth)
2868        )
2869    );
2870    assert_eq!(
2871        unsafe {
2872            &(*(::std::ptr::null::<NDIlib_recv_create_t>())).allow_video_fields as *const _ as usize
2873        },
2874        24usize,
2875        concat!(
2876            "Offset of field: ",
2877            stringify!(NDIlib_recv_create_t),
2878            "::",
2879            stringify!(allow_video_fields)
2880        )
2881    );
2882}
2883extern "C" {
2884    pub fn NDIlib_recv_create_v2(
2885        p_create_settings: *const NDIlib_recv_create_t,
2886    ) -> NDIlib_recv_instance_t;
2887}
2888extern "C" {
2889    pub fn NDIlib_recv_create2(
2890        p_create_settings: *const NDIlib_recv_create_t,
2891    ) -> NDIlib_recv_instance_t;
2892}
2893extern "C" {
2894    pub fn NDIlib_recv_create(
2895        p_create_settings: *const NDIlib_recv_create_t,
2896    ) -> NDIlib_recv_instance_t;
2897}
2898extern "C" {
2899    pub fn NDIlib_recv_capture(
2900        p_instance: NDIlib_recv_instance_t,
2901        p_video_data: *mut NDIlib_video_frame_t,
2902        p_audio_data: *mut NDIlib_audio_frame_t,
2903        p_metadata: *mut NDIlib_metadata_frame_t,
2904        timeout_in_ms: u32,
2905    ) -> NDIlib_frame_type_e;
2906}
2907extern "C" {
2908    pub fn NDIlib_recv_free_video(
2909        p_instance: NDIlib_recv_instance_t,
2910        p_video_data: *const NDIlib_video_frame_t,
2911    );
2912}
2913extern "C" {
2914    pub fn NDIlib_recv_free_audio(
2915        p_instance: NDIlib_recv_instance_t,
2916        p_audio_data: *const NDIlib_audio_frame_t,
2917    );
2918}
2919extern "C" {
2920    pub fn NDIlib_send_send_video(
2921        p_instance: NDIlib_send_instance_t,
2922        p_video_data: *const NDIlib_video_frame_t,
2923    );
2924}
2925extern "C" {
2926    pub fn NDIlib_send_send_video_async(
2927        p_instance: NDIlib_send_instance_t,
2928        p_video_data: *const NDIlib_video_frame_t,
2929    );
2930}
2931extern "C" {
2932    pub fn NDIlib_send_send_audio(
2933        p_instance: NDIlib_send_instance_t,
2934        p_audio_data: *const NDIlib_audio_frame_t,
2935    );
2936}
2937extern "C" {
2938    pub fn NDIlib_util_audio_to_interleaved_16s(
2939        p_src: *const NDIlib_audio_frame_t,
2940        p_dst: *mut NDIlib_audio_frame_interleaved_16s_t,
2941    );
2942}
2943extern "C" {
2944    pub fn NDIlib_util_audio_from_interleaved_16s(
2945        p_src: *const NDIlib_audio_frame_interleaved_16s_t,
2946        p_dst: *mut NDIlib_audio_frame_t,
2947    );
2948}
2949extern "C" {
2950    pub fn NDIlib_util_audio_to_interleaved_32f(
2951        p_src: *const NDIlib_audio_frame_t,
2952        p_dst: *mut NDIlib_audio_frame_interleaved_32f_t,
2953    );
2954}
2955extern "C" {
2956    pub fn NDIlib_util_audio_from_interleaved_32f(
2957        p_src: *const NDIlib_audio_frame_interleaved_32f_t,
2958        p_dst: *mut NDIlib_audio_frame_t,
2959    );
2960}
2961pub type NDIlib_framesync_instance_t = *mut ::std::os::raw::c_void;
2962extern "C" {
2963    pub fn NDIlib_framesync_create(
2964        p_receiver: NDIlib_recv_instance_t,
2965    ) -> NDIlib_framesync_instance_t;
2966}
2967extern "C" {
2968    pub fn NDIlib_framesync_destroy(p_instance: NDIlib_framesync_instance_t);
2969}
2970extern "C" {
2971    pub fn NDIlib_framesync_capture_audio(
2972        p_instance: NDIlib_framesync_instance_t,
2973        p_audio_data: *mut NDIlib_audio_frame_v2_t,
2974        sample_rate: ::std::os::raw::c_int,
2975        no_channels: ::std::os::raw::c_int,
2976        no_samples: ::std::os::raw::c_int,
2977    );
2978}
2979extern "C" {
2980    pub fn NDIlib_framesync_capture_audio_v2(
2981        p_instance: NDIlib_framesync_instance_t,
2982        p_audio_data: *mut NDIlib_audio_frame_v3_t,
2983        sample_rate: ::std::os::raw::c_int,
2984        no_channels: ::std::os::raw::c_int,
2985        no_samples: ::std::os::raw::c_int,
2986    );
2987}
2988extern "C" {
2989    pub fn NDIlib_framesync_free_audio(
2990        p_instance: NDIlib_framesync_instance_t,
2991        p_audio_data: *mut NDIlib_audio_frame_v2_t,
2992    );
2993}
2994extern "C" {
2995    pub fn NDIlib_framesync_free_audio_v2(
2996        p_instance: NDIlib_framesync_instance_t,
2997        p_audio_data: *mut NDIlib_audio_frame_v3_t,
2998    );
2999}
3000extern "C" {
3001    pub fn NDIlib_framesync_audio_queue_depth(
3002        p_instance: NDIlib_framesync_instance_t,
3003    ) -> ::std::os::raw::c_int;
3004}
3005extern "C" {
3006    pub fn NDIlib_framesync_capture_video(
3007        p_instance: NDIlib_framesync_instance_t,
3008        p_video_data: *mut NDIlib_video_frame_v2_t,
3009        field_type: NDIlib_frame_format_type_e,
3010    );
3011}
3012extern "C" {
3013    pub fn NDIlib_framesync_free_video(
3014        p_instance: NDIlib_framesync_instance_t,
3015        p_video_data: *mut NDIlib_video_frame_v2_t,
3016    );
3017}
3018#[repr(C)]
3019#[derive(Copy, Clone)]
3020pub struct NDIlib_v5 {
3021    pub __bindgen_anon_1: NDIlib_v5__bindgen_ty_1,
3022    pub __bindgen_anon_2: NDIlib_v5__bindgen_ty_2,
3023    pub __bindgen_anon_3: NDIlib_v5__bindgen_ty_3,
3024    pub __bindgen_anon_4: NDIlib_v5__bindgen_ty_4,
3025    pub __bindgen_anon_5: NDIlib_v5__bindgen_ty_5,
3026    pub __bindgen_anon_6: NDIlib_v5__bindgen_ty_6,
3027    pub __bindgen_anon_7: NDIlib_v5__bindgen_ty_7,
3028    pub __bindgen_anon_8: NDIlib_v5__bindgen_ty_8,
3029    pub __bindgen_anon_9: NDIlib_v5__bindgen_ty_9,
3030    pub __bindgen_anon_10: NDIlib_v5__bindgen_ty_10,
3031    pub __bindgen_anon_11: NDIlib_v5__bindgen_ty_11,
3032    pub __bindgen_anon_12: NDIlib_v5__bindgen_ty_12,
3033    pub __bindgen_anon_13: NDIlib_v5__bindgen_ty_13,
3034    pub __bindgen_anon_14: NDIlib_v5__bindgen_ty_14,
3035    pub __bindgen_anon_15: NDIlib_v5__bindgen_ty_15,
3036    pub __bindgen_anon_16: NDIlib_v5__bindgen_ty_16,
3037    pub __bindgen_anon_17: NDIlib_v5__bindgen_ty_17,
3038    pub __bindgen_anon_18: NDIlib_v5__bindgen_ty_18,
3039    pub __bindgen_anon_19: NDIlib_v5__bindgen_ty_19,
3040    pub __bindgen_anon_20: NDIlib_v5__bindgen_ty_20,
3041    pub __bindgen_anon_21: NDIlib_v5__bindgen_ty_21,
3042    pub __bindgen_anon_22: NDIlib_v5__bindgen_ty_22,
3043    pub __bindgen_anon_23: NDIlib_v5__bindgen_ty_23,
3044    pub __bindgen_anon_24: NDIlib_v5__bindgen_ty_24,
3045    pub __bindgen_anon_25: NDIlib_v5__bindgen_ty_25,
3046    pub __bindgen_anon_26: NDIlib_v5__bindgen_ty_26,
3047    pub __bindgen_anon_27: NDIlib_v5__bindgen_ty_27,
3048    pub __bindgen_anon_28: NDIlib_v5__bindgen_ty_28,
3049    pub __bindgen_anon_29: NDIlib_v5__bindgen_ty_29,
3050    pub __bindgen_anon_30: NDIlib_v5__bindgen_ty_30,
3051    pub __bindgen_anon_31: NDIlib_v5__bindgen_ty_31,
3052    pub __bindgen_anon_32: NDIlib_v5__bindgen_ty_32,
3053    pub __bindgen_anon_33: NDIlib_v5__bindgen_ty_33,
3054    pub __bindgen_anon_34: NDIlib_v5__bindgen_ty_34,
3055    pub __bindgen_anon_35: NDIlib_v5__bindgen_ty_35,
3056    pub __bindgen_anon_36: NDIlib_v5__bindgen_ty_36,
3057    pub __bindgen_anon_37: NDIlib_v5__bindgen_ty_37,
3058    pub __bindgen_anon_38: NDIlib_v5__bindgen_ty_38,
3059    pub __bindgen_anon_39: NDIlib_v5__bindgen_ty_39,
3060    pub __bindgen_anon_40: NDIlib_v5__bindgen_ty_40,
3061    pub __bindgen_anon_41: NDIlib_v5__bindgen_ty_41,
3062    pub __bindgen_anon_42: NDIlib_v5__bindgen_ty_42,
3063    pub __bindgen_anon_43: NDIlib_v5__bindgen_ty_43,
3064    pub __bindgen_anon_44: NDIlib_v5__bindgen_ty_44,
3065    pub __bindgen_anon_45: NDIlib_v5__bindgen_ty_45,
3066    pub __bindgen_anon_46: NDIlib_v5__bindgen_ty_46,
3067    pub __bindgen_anon_47: NDIlib_v5__bindgen_ty_47,
3068    pub __bindgen_anon_48: NDIlib_v5__bindgen_ty_48,
3069    pub __bindgen_anon_49: NDIlib_v5__bindgen_ty_49,
3070    pub __bindgen_anon_50: NDIlib_v5__bindgen_ty_50,
3071    pub __bindgen_anon_51: NDIlib_v5__bindgen_ty_51,
3072    pub __bindgen_anon_52: NDIlib_v5__bindgen_ty_52,
3073    pub __bindgen_anon_53: NDIlib_v5__bindgen_ty_53,
3074    pub __bindgen_anon_54: NDIlib_v5__bindgen_ty_54,
3075    pub __bindgen_anon_55: NDIlib_v5__bindgen_ty_55,
3076    pub __bindgen_anon_56: NDIlib_v5__bindgen_ty_56,
3077    pub __bindgen_anon_57: NDIlib_v5__bindgen_ty_57,
3078    pub __bindgen_anon_58: NDIlib_v5__bindgen_ty_58,
3079    pub __bindgen_anon_59: NDIlib_v5__bindgen_ty_59,
3080    pub __bindgen_anon_60: NDIlib_v5__bindgen_ty_60,
3081    pub __bindgen_anon_61: NDIlib_v5__bindgen_ty_61,
3082    pub __bindgen_anon_62: NDIlib_v5__bindgen_ty_62,
3083    pub __bindgen_anon_63: NDIlib_v5__bindgen_ty_63,
3084    pub __bindgen_anon_64: NDIlib_v5__bindgen_ty_64,
3085    pub __bindgen_anon_65: NDIlib_v5__bindgen_ty_65,
3086    pub __bindgen_anon_66: NDIlib_v5__bindgen_ty_66,
3087    pub __bindgen_anon_67: NDIlib_v5__bindgen_ty_67,
3088    pub __bindgen_anon_68: NDIlib_v5__bindgen_ty_68,
3089    pub __bindgen_anon_69: NDIlib_v5__bindgen_ty_69,
3090    pub __bindgen_anon_70: NDIlib_v5__bindgen_ty_70,
3091    pub __bindgen_anon_71: NDIlib_v5__bindgen_ty_71,
3092    pub __bindgen_anon_72: NDIlib_v5__bindgen_ty_72,
3093    pub __bindgen_anon_73: NDIlib_v5__bindgen_ty_73,
3094    pub __bindgen_anon_74: NDIlib_v5__bindgen_ty_74,
3095    pub __bindgen_anon_75: NDIlib_v5__bindgen_ty_75,
3096    pub __bindgen_anon_76: NDIlib_v5__bindgen_ty_76,
3097    pub __bindgen_anon_77: NDIlib_v5__bindgen_ty_77,
3098    pub __bindgen_anon_78: NDIlib_v5__bindgen_ty_78,
3099    pub __bindgen_anon_79: NDIlib_v5__bindgen_ty_79,
3100    pub __bindgen_anon_80: NDIlib_v5__bindgen_ty_80,
3101    pub __bindgen_anon_81: NDIlib_v5__bindgen_ty_81,
3102    pub __bindgen_anon_82: NDIlib_v5__bindgen_ty_82,
3103    pub __bindgen_anon_83: NDIlib_v5__bindgen_ty_83,
3104    pub __bindgen_anon_84: NDIlib_v5__bindgen_ty_84,
3105    pub __bindgen_anon_85: NDIlib_v5__bindgen_ty_85,
3106    pub __bindgen_anon_86: NDIlib_v5__bindgen_ty_86,
3107    pub __bindgen_anon_87: NDIlib_v5__bindgen_ty_87,
3108    pub __bindgen_anon_88: NDIlib_v5__bindgen_ty_88,
3109    pub __bindgen_anon_89: NDIlib_v5__bindgen_ty_89,
3110    pub __bindgen_anon_90: NDIlib_v5__bindgen_ty_90,
3111    pub __bindgen_anon_91: NDIlib_v5__bindgen_ty_91,
3112    pub __bindgen_anon_92: NDIlib_v5__bindgen_ty_92,
3113    pub __bindgen_anon_93: NDIlib_v5__bindgen_ty_93,
3114    pub __bindgen_anon_94: NDIlib_v5__bindgen_ty_94,
3115    pub __bindgen_anon_95: NDIlib_v5__bindgen_ty_95,
3116    pub __bindgen_anon_96: NDIlib_v5__bindgen_ty_96,
3117    pub __bindgen_anon_97: NDIlib_v5__bindgen_ty_97,
3118    pub __bindgen_anon_98: NDIlib_v5__bindgen_ty_98,
3119    pub __bindgen_anon_99: NDIlib_v5__bindgen_ty_99,
3120    pub __bindgen_anon_100: NDIlib_v5__bindgen_ty_100,
3121    pub __bindgen_anon_101: NDIlib_v5__bindgen_ty_101,
3122    pub __bindgen_anon_102: NDIlib_v5__bindgen_ty_102,
3123    pub __bindgen_anon_103: NDIlib_v5__bindgen_ty_103,
3124    pub __bindgen_anon_104: NDIlib_v5__bindgen_ty_104,
3125    pub __bindgen_anon_105: NDIlib_v5__bindgen_ty_105,
3126    pub __bindgen_anon_106: NDIlib_v5__bindgen_ty_106,
3127    pub __bindgen_anon_107: NDIlib_v5__bindgen_ty_107,
3128}
3129#[repr(C)]
3130#[derive(Copy, Clone)]
3131pub union NDIlib_v5__bindgen_ty_1 {
3132    pub initialize: ::std::option::Option<unsafe extern "C" fn() -> bool>,
3133    pub NDIlib_initialize: ::std::option::Option<unsafe extern "C" fn() -> bool>,
3134}
3135#[test]
3136fn bindgen_test_layout_NDIlib_v5__bindgen_ty_1() {
3137    assert_eq!(
3138        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_1>(),
3139        8usize,
3140        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_1))
3141    );
3142    assert_eq!(
3143        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_1>(),
3144        8usize,
3145        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_1))
3146    );
3147    assert_eq!(
3148        unsafe {
3149            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_1>())).initialize as *const _ as usize
3150        },
3151        0usize,
3152        concat!(
3153            "Offset of field: ",
3154            stringify!(NDIlib_v5__bindgen_ty_1),
3155            "::",
3156            stringify!(initialize)
3157        )
3158    );
3159    assert_eq!(
3160        unsafe {
3161            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_1>())).NDIlib_initialize as *const _
3162                as usize
3163        },
3164        0usize,
3165        concat!(
3166            "Offset of field: ",
3167            stringify!(NDIlib_v5__bindgen_ty_1),
3168            "::",
3169            stringify!(NDIlib_initialize)
3170        )
3171    );
3172}
3173#[repr(C)]
3174#[derive(Copy, Clone)]
3175pub union NDIlib_v5__bindgen_ty_2 {
3176    pub destroy: ::std::option::Option<unsafe extern "C" fn()>,
3177    pub NDIlib_destroy: ::std::option::Option<unsafe extern "C" fn()>,
3178}
3179#[test]
3180fn bindgen_test_layout_NDIlib_v5__bindgen_ty_2() {
3181    assert_eq!(
3182        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_2>(),
3183        8usize,
3184        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_2))
3185    );
3186    assert_eq!(
3187        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_2>(),
3188        8usize,
3189        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_2))
3190    );
3191    assert_eq!(
3192        unsafe { &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_2>())).destroy as *const _ as usize },
3193        0usize,
3194        concat!(
3195            "Offset of field: ",
3196            stringify!(NDIlib_v5__bindgen_ty_2),
3197            "::",
3198            stringify!(destroy)
3199        )
3200    );
3201    assert_eq!(
3202        unsafe {
3203            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_2>())).NDIlib_destroy as *const _ as usize
3204        },
3205        0usize,
3206        concat!(
3207            "Offset of field: ",
3208            stringify!(NDIlib_v5__bindgen_ty_2),
3209            "::",
3210            stringify!(NDIlib_destroy)
3211        )
3212    );
3213}
3214#[repr(C)]
3215#[derive(Copy, Clone)]
3216pub union NDIlib_v5__bindgen_ty_3 {
3217    pub version: ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>,
3218    pub NDIlib_version:
3219        ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>,
3220}
3221#[test]
3222fn bindgen_test_layout_NDIlib_v5__bindgen_ty_3() {
3223    assert_eq!(
3224        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_3>(),
3225        8usize,
3226        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_3))
3227    );
3228    assert_eq!(
3229        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_3>(),
3230        8usize,
3231        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_3))
3232    );
3233    assert_eq!(
3234        unsafe { &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_3>())).version as *const _ as usize },
3235        0usize,
3236        concat!(
3237            "Offset of field: ",
3238            stringify!(NDIlib_v5__bindgen_ty_3),
3239            "::",
3240            stringify!(version)
3241        )
3242    );
3243    assert_eq!(
3244        unsafe {
3245            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_3>())).NDIlib_version as *const _ as usize
3246        },
3247        0usize,
3248        concat!(
3249            "Offset of field: ",
3250            stringify!(NDIlib_v5__bindgen_ty_3),
3251            "::",
3252            stringify!(NDIlib_version)
3253        )
3254    );
3255}
3256#[repr(C)]
3257#[derive(Copy, Clone)]
3258pub union NDIlib_v5__bindgen_ty_4 {
3259    pub is_supported_CPU: ::std::option::Option<unsafe extern "C" fn() -> bool>,
3260    pub NDIlib_is_supported_CPU: ::std::option::Option<unsafe extern "C" fn() -> bool>,
3261}
3262#[test]
3263fn bindgen_test_layout_NDIlib_v5__bindgen_ty_4() {
3264    assert_eq!(
3265        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_4>(),
3266        8usize,
3267        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_4))
3268    );
3269    assert_eq!(
3270        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_4>(),
3271        8usize,
3272        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_4))
3273    );
3274    assert_eq!(
3275        unsafe {
3276            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_4>())).is_supported_CPU as *const _
3277                as usize
3278        },
3279        0usize,
3280        concat!(
3281            "Offset of field: ",
3282            stringify!(NDIlib_v5__bindgen_ty_4),
3283            "::",
3284            stringify!(is_supported_CPU)
3285        )
3286    );
3287    assert_eq!(
3288        unsafe {
3289            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_4>())).NDIlib_is_supported_CPU as *const _
3290                as usize
3291        },
3292        0usize,
3293        concat!(
3294            "Offset of field: ",
3295            stringify!(NDIlib_v5__bindgen_ty_4),
3296            "::",
3297            stringify!(NDIlib_is_supported_CPU)
3298        )
3299    );
3300}
3301#[repr(C)]
3302#[derive(Copy, Clone)]
3303pub union NDIlib_v5__bindgen_ty_5 {
3304    pub find_create: ::std::option::Option<
3305        unsafe extern "C" fn(
3306            p_create_settings: *const NDIlib_find_create_t,
3307        ) -> NDIlib_find_instance_t,
3308    >,
3309    pub NDIlib_find_create: ::std::option::Option<
3310        unsafe extern "C" fn(
3311            p_create_settings: *const NDIlib_find_create_t,
3312        ) -> NDIlib_find_instance_t,
3313    >,
3314}
3315#[test]
3316fn bindgen_test_layout_NDIlib_v5__bindgen_ty_5() {
3317    assert_eq!(
3318        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_5>(),
3319        8usize,
3320        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_5))
3321    );
3322    assert_eq!(
3323        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_5>(),
3324        8usize,
3325        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_5))
3326    );
3327    assert_eq!(
3328        unsafe {
3329            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_5>())).find_create as *const _ as usize
3330        },
3331        0usize,
3332        concat!(
3333            "Offset of field: ",
3334            stringify!(NDIlib_v5__bindgen_ty_5),
3335            "::",
3336            stringify!(find_create)
3337        )
3338    );
3339    assert_eq!(
3340        unsafe {
3341            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_5>())).NDIlib_find_create as *const _
3342                as usize
3343        },
3344        0usize,
3345        concat!(
3346            "Offset of field: ",
3347            stringify!(NDIlib_v5__bindgen_ty_5),
3348            "::",
3349            stringify!(NDIlib_find_create)
3350        )
3351    );
3352}
3353#[repr(C)]
3354#[derive(Copy, Clone)]
3355pub union NDIlib_v5__bindgen_ty_6 {
3356    pub find_create_v2: ::std::option::Option<
3357        unsafe extern "C" fn(
3358            p_create_settings: *const NDIlib_find_create_t,
3359        ) -> NDIlib_find_instance_t,
3360    >,
3361    pub NDIlib_find_create_v2: ::std::option::Option<
3362        unsafe extern "C" fn(
3363            p_create_settings: *const NDIlib_find_create_t,
3364        ) -> NDIlib_find_instance_t,
3365    >,
3366}
3367#[test]
3368fn bindgen_test_layout_NDIlib_v5__bindgen_ty_6() {
3369    assert_eq!(
3370        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_6>(),
3371        8usize,
3372        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_6))
3373    );
3374    assert_eq!(
3375        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_6>(),
3376        8usize,
3377        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_6))
3378    );
3379    assert_eq!(
3380        unsafe {
3381            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_6>())).find_create_v2 as *const _ as usize
3382        },
3383        0usize,
3384        concat!(
3385            "Offset of field: ",
3386            stringify!(NDIlib_v5__bindgen_ty_6),
3387            "::",
3388            stringify!(find_create_v2)
3389        )
3390    );
3391    assert_eq!(
3392        unsafe {
3393            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_6>())).NDIlib_find_create_v2 as *const _
3394                as usize
3395        },
3396        0usize,
3397        concat!(
3398            "Offset of field: ",
3399            stringify!(NDIlib_v5__bindgen_ty_6),
3400            "::",
3401            stringify!(NDIlib_find_create_v2)
3402        )
3403    );
3404}
3405#[repr(C)]
3406#[derive(Copy, Clone)]
3407pub union NDIlib_v5__bindgen_ty_7 {
3408    pub find_destroy:
3409        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_find_instance_t)>,
3410    pub NDIlib_find_destroy:
3411        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_find_instance_t)>,
3412}
3413#[test]
3414fn bindgen_test_layout_NDIlib_v5__bindgen_ty_7() {
3415    assert_eq!(
3416        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_7>(),
3417        8usize,
3418        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_7))
3419    );
3420    assert_eq!(
3421        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_7>(),
3422        8usize,
3423        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_7))
3424    );
3425    assert_eq!(
3426        unsafe {
3427            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_7>())).find_destroy as *const _ as usize
3428        },
3429        0usize,
3430        concat!(
3431            "Offset of field: ",
3432            stringify!(NDIlib_v5__bindgen_ty_7),
3433            "::",
3434            stringify!(find_destroy)
3435        )
3436    );
3437    assert_eq!(
3438        unsafe {
3439            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_7>())).NDIlib_find_destroy as *const _
3440                as usize
3441        },
3442        0usize,
3443        concat!(
3444            "Offset of field: ",
3445            stringify!(NDIlib_v5__bindgen_ty_7),
3446            "::",
3447            stringify!(NDIlib_find_destroy)
3448        )
3449    );
3450}
3451#[repr(C)]
3452#[derive(Copy, Clone)]
3453pub union NDIlib_v5__bindgen_ty_8 {
3454    pub find_get_sources: ::std::option::Option<
3455        unsafe extern "C" fn(
3456            p_instance: NDIlib_find_instance_t,
3457            p_no_sources: *mut u32,
3458            timeout_in_ms: u32,
3459        ) -> *const NDIlib_source_t,
3460    >,
3461    pub NDIlib_find_get_sources: ::std::option::Option<
3462        unsafe extern "C" fn(
3463            p_instance: NDIlib_find_instance_t,
3464            p_no_sources: *mut u32,
3465            timeout_in_ms: u32,
3466        ) -> *const NDIlib_source_t,
3467    >,
3468}
3469#[test]
3470fn bindgen_test_layout_NDIlib_v5__bindgen_ty_8() {
3471    assert_eq!(
3472        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_8>(),
3473        8usize,
3474        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_8))
3475    );
3476    assert_eq!(
3477        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_8>(),
3478        8usize,
3479        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_8))
3480    );
3481    assert_eq!(
3482        unsafe {
3483            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_8>())).find_get_sources as *const _
3484                as usize
3485        },
3486        0usize,
3487        concat!(
3488            "Offset of field: ",
3489            stringify!(NDIlib_v5__bindgen_ty_8),
3490            "::",
3491            stringify!(find_get_sources)
3492        )
3493    );
3494    assert_eq!(
3495        unsafe {
3496            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_8>())).NDIlib_find_get_sources as *const _
3497                as usize
3498        },
3499        0usize,
3500        concat!(
3501            "Offset of field: ",
3502            stringify!(NDIlib_v5__bindgen_ty_8),
3503            "::",
3504            stringify!(NDIlib_find_get_sources)
3505        )
3506    );
3507}
3508#[repr(C)]
3509#[derive(Copy, Clone)]
3510pub union NDIlib_v5__bindgen_ty_9 {
3511    pub send_create: ::std::option::Option<
3512        unsafe extern "C" fn(
3513            p_create_settings: *const NDIlib_send_create_t,
3514        ) -> NDIlib_send_instance_t,
3515    >,
3516    pub NDIlib_send_create: ::std::option::Option<
3517        unsafe extern "C" fn(
3518            p_create_settings: *const NDIlib_send_create_t,
3519        ) -> NDIlib_send_instance_t,
3520    >,
3521}
3522#[test]
3523fn bindgen_test_layout_NDIlib_v5__bindgen_ty_9() {
3524    assert_eq!(
3525        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_9>(),
3526        8usize,
3527        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_9))
3528    );
3529    assert_eq!(
3530        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_9>(),
3531        8usize,
3532        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_9))
3533    );
3534    assert_eq!(
3535        unsafe {
3536            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_9>())).send_create as *const _ as usize
3537        },
3538        0usize,
3539        concat!(
3540            "Offset of field: ",
3541            stringify!(NDIlib_v5__bindgen_ty_9),
3542            "::",
3543            stringify!(send_create)
3544        )
3545    );
3546    assert_eq!(
3547        unsafe {
3548            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_9>())).NDIlib_send_create as *const _
3549                as usize
3550        },
3551        0usize,
3552        concat!(
3553            "Offset of field: ",
3554            stringify!(NDIlib_v5__bindgen_ty_9),
3555            "::",
3556            stringify!(NDIlib_send_create)
3557        )
3558    );
3559}
3560#[repr(C)]
3561#[derive(Copy, Clone)]
3562pub union NDIlib_v5__bindgen_ty_10 {
3563    pub send_destroy:
3564        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_send_instance_t)>,
3565    pub NDIlib_send_destroy:
3566        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_send_instance_t)>,
3567}
3568#[test]
3569fn bindgen_test_layout_NDIlib_v5__bindgen_ty_10() {
3570    assert_eq!(
3571        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_10>(),
3572        8usize,
3573        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_10))
3574    );
3575    assert_eq!(
3576        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_10>(),
3577        8usize,
3578        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_10))
3579    );
3580    assert_eq!(
3581        unsafe {
3582            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_10>())).send_destroy as *const _ as usize
3583        },
3584        0usize,
3585        concat!(
3586            "Offset of field: ",
3587            stringify!(NDIlib_v5__bindgen_ty_10),
3588            "::",
3589            stringify!(send_destroy)
3590        )
3591    );
3592    assert_eq!(
3593        unsafe {
3594            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_10>())).NDIlib_send_destroy as *const _
3595                as usize
3596        },
3597        0usize,
3598        concat!(
3599            "Offset of field: ",
3600            stringify!(NDIlib_v5__bindgen_ty_10),
3601            "::",
3602            stringify!(NDIlib_send_destroy)
3603        )
3604    );
3605}
3606#[repr(C)]
3607#[derive(Copy, Clone)]
3608pub union NDIlib_v5__bindgen_ty_11 {
3609    pub send_send_video: ::std::option::Option<
3610        unsafe extern "C" fn(
3611            p_instance: NDIlib_send_instance_t,
3612            p_video_data: *const NDIlib_video_frame_t,
3613        ),
3614    >,
3615    pub NDIlib_send_send_video: ::std::option::Option<
3616        unsafe extern "C" fn(
3617            p_instance: NDIlib_send_instance_t,
3618            p_video_data: *const NDIlib_video_frame_t,
3619        ),
3620    >,
3621}
3622#[test]
3623fn bindgen_test_layout_NDIlib_v5__bindgen_ty_11() {
3624    assert_eq!(
3625        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_11>(),
3626        8usize,
3627        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_11))
3628    );
3629    assert_eq!(
3630        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_11>(),
3631        8usize,
3632        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_11))
3633    );
3634    assert_eq!(
3635        unsafe {
3636            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_11>())).send_send_video as *const _
3637                as usize
3638        },
3639        0usize,
3640        concat!(
3641            "Offset of field: ",
3642            stringify!(NDIlib_v5__bindgen_ty_11),
3643            "::",
3644            stringify!(send_send_video)
3645        )
3646    );
3647    assert_eq!(
3648        unsafe {
3649            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_11>())).NDIlib_send_send_video as *const _
3650                as usize
3651        },
3652        0usize,
3653        concat!(
3654            "Offset of field: ",
3655            stringify!(NDIlib_v5__bindgen_ty_11),
3656            "::",
3657            stringify!(NDIlib_send_send_video)
3658        )
3659    );
3660}
3661#[repr(C)]
3662#[derive(Copy, Clone)]
3663pub union NDIlib_v5__bindgen_ty_12 {
3664    pub send_send_video_async: ::std::option::Option<
3665        unsafe extern "C" fn(
3666            p_instance: NDIlib_send_instance_t,
3667            p_video_data: *const NDIlib_video_frame_t,
3668        ),
3669    >,
3670    pub NDIlib_send_send_video_async: ::std::option::Option<
3671        unsafe extern "C" fn(
3672            p_instance: NDIlib_send_instance_t,
3673            p_video_data: *const NDIlib_video_frame_t,
3674        ),
3675    >,
3676}
3677#[test]
3678fn bindgen_test_layout_NDIlib_v5__bindgen_ty_12() {
3679    assert_eq!(
3680        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_12>(),
3681        8usize,
3682        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_12))
3683    );
3684    assert_eq!(
3685        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_12>(),
3686        8usize,
3687        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_12))
3688    );
3689    assert_eq!(
3690        unsafe {
3691            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_12>())).send_send_video_async as *const _
3692                as usize
3693        },
3694        0usize,
3695        concat!(
3696            "Offset of field: ",
3697            stringify!(NDIlib_v5__bindgen_ty_12),
3698            "::",
3699            stringify!(send_send_video_async)
3700        )
3701    );
3702    assert_eq!(
3703        unsafe {
3704            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_12>())).NDIlib_send_send_video_async
3705                as *const _ as usize
3706        },
3707        0usize,
3708        concat!(
3709            "Offset of field: ",
3710            stringify!(NDIlib_v5__bindgen_ty_12),
3711            "::",
3712            stringify!(NDIlib_send_send_video_async)
3713        )
3714    );
3715}
3716#[repr(C)]
3717#[derive(Copy, Clone)]
3718pub union NDIlib_v5__bindgen_ty_13 {
3719    pub send_send_audio: ::std::option::Option<
3720        unsafe extern "C" fn(
3721            p_instance: NDIlib_send_instance_t,
3722            p_audio_data: *const NDIlib_audio_frame_t,
3723        ),
3724    >,
3725    pub NDIlib_send_send_audio: ::std::option::Option<
3726        unsafe extern "C" fn(
3727            p_instance: NDIlib_send_instance_t,
3728            p_audio_data: *const NDIlib_audio_frame_t,
3729        ),
3730    >,
3731}
3732#[test]
3733fn bindgen_test_layout_NDIlib_v5__bindgen_ty_13() {
3734    assert_eq!(
3735        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_13>(),
3736        8usize,
3737        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_13))
3738    );
3739    assert_eq!(
3740        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_13>(),
3741        8usize,
3742        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_13))
3743    );
3744    assert_eq!(
3745        unsafe {
3746            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_13>())).send_send_audio as *const _
3747                as usize
3748        },
3749        0usize,
3750        concat!(
3751            "Offset of field: ",
3752            stringify!(NDIlib_v5__bindgen_ty_13),
3753            "::",
3754            stringify!(send_send_audio)
3755        )
3756    );
3757    assert_eq!(
3758        unsafe {
3759            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_13>())).NDIlib_send_send_audio as *const _
3760                as usize
3761        },
3762        0usize,
3763        concat!(
3764            "Offset of field: ",
3765            stringify!(NDIlib_v5__bindgen_ty_13),
3766            "::",
3767            stringify!(NDIlib_send_send_audio)
3768        )
3769    );
3770}
3771#[repr(C)]
3772#[derive(Copy, Clone)]
3773pub union NDIlib_v5__bindgen_ty_14 {
3774    pub send_send_metadata: ::std::option::Option<
3775        unsafe extern "C" fn(
3776            p_instance: NDIlib_send_instance_t,
3777            p_metadata: *const NDIlib_metadata_frame_t,
3778        ),
3779    >,
3780    pub NDIlib_send_send_metadata: ::std::option::Option<
3781        unsafe extern "C" fn(
3782            p_instance: NDIlib_send_instance_t,
3783            p_metadata: *const NDIlib_metadata_frame_t,
3784        ),
3785    >,
3786}
3787#[test]
3788fn bindgen_test_layout_NDIlib_v5__bindgen_ty_14() {
3789    assert_eq!(
3790        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_14>(),
3791        8usize,
3792        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_14))
3793    );
3794    assert_eq!(
3795        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_14>(),
3796        8usize,
3797        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_14))
3798    );
3799    assert_eq!(
3800        unsafe {
3801            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_14>())).send_send_metadata as *const _
3802                as usize
3803        },
3804        0usize,
3805        concat!(
3806            "Offset of field: ",
3807            stringify!(NDIlib_v5__bindgen_ty_14),
3808            "::",
3809            stringify!(send_send_metadata)
3810        )
3811    );
3812    assert_eq!(
3813        unsafe {
3814            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_14>())).NDIlib_send_send_metadata
3815                as *const _ as usize
3816        },
3817        0usize,
3818        concat!(
3819            "Offset of field: ",
3820            stringify!(NDIlib_v5__bindgen_ty_14),
3821            "::",
3822            stringify!(NDIlib_send_send_metadata)
3823        )
3824    );
3825}
3826#[repr(C)]
3827#[derive(Copy, Clone)]
3828pub union NDIlib_v5__bindgen_ty_15 {
3829    pub send_capture: ::std::option::Option<
3830        unsafe extern "C" fn(
3831            p_instance: NDIlib_send_instance_t,
3832            p_metadata: *mut NDIlib_metadata_frame_t,
3833            timeout_in_ms: u32,
3834        ) -> NDIlib_frame_type_e,
3835    >,
3836    pub NDIlib_send_capture: ::std::option::Option<
3837        unsafe extern "C" fn(
3838            p_instance: NDIlib_send_instance_t,
3839            p_metadata: *mut NDIlib_metadata_frame_t,
3840            timeout_in_ms: u32,
3841        ) -> NDIlib_frame_type_e,
3842    >,
3843}
3844#[test]
3845fn bindgen_test_layout_NDIlib_v5__bindgen_ty_15() {
3846    assert_eq!(
3847        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_15>(),
3848        8usize,
3849        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_15))
3850    );
3851    assert_eq!(
3852        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_15>(),
3853        8usize,
3854        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_15))
3855    );
3856    assert_eq!(
3857        unsafe {
3858            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_15>())).send_capture as *const _ as usize
3859        },
3860        0usize,
3861        concat!(
3862            "Offset of field: ",
3863            stringify!(NDIlib_v5__bindgen_ty_15),
3864            "::",
3865            stringify!(send_capture)
3866        )
3867    );
3868    assert_eq!(
3869        unsafe {
3870            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_15>())).NDIlib_send_capture as *const _
3871                as usize
3872        },
3873        0usize,
3874        concat!(
3875            "Offset of field: ",
3876            stringify!(NDIlib_v5__bindgen_ty_15),
3877            "::",
3878            stringify!(NDIlib_send_capture)
3879        )
3880    );
3881}
3882#[repr(C)]
3883#[derive(Copy, Clone)]
3884pub union NDIlib_v5__bindgen_ty_16 {
3885    pub send_free_metadata: ::std::option::Option<
3886        unsafe extern "C" fn(
3887            p_instance: NDIlib_send_instance_t,
3888            p_metadata: *const NDIlib_metadata_frame_t,
3889        ),
3890    >,
3891    pub NDIlib_send_free_metadata: ::std::option::Option<
3892        unsafe extern "C" fn(
3893            p_instance: NDIlib_send_instance_t,
3894            p_metadata: *const NDIlib_metadata_frame_t,
3895        ),
3896    >,
3897}
3898#[test]
3899fn bindgen_test_layout_NDIlib_v5__bindgen_ty_16() {
3900    assert_eq!(
3901        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_16>(),
3902        8usize,
3903        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_16))
3904    );
3905    assert_eq!(
3906        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_16>(),
3907        8usize,
3908        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_16))
3909    );
3910    assert_eq!(
3911        unsafe {
3912            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_16>())).send_free_metadata as *const _
3913                as usize
3914        },
3915        0usize,
3916        concat!(
3917            "Offset of field: ",
3918            stringify!(NDIlib_v5__bindgen_ty_16),
3919            "::",
3920            stringify!(send_free_metadata)
3921        )
3922    );
3923    assert_eq!(
3924        unsafe {
3925            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_16>())).NDIlib_send_free_metadata
3926                as *const _ as usize
3927        },
3928        0usize,
3929        concat!(
3930            "Offset of field: ",
3931            stringify!(NDIlib_v5__bindgen_ty_16),
3932            "::",
3933            stringify!(NDIlib_send_free_metadata)
3934        )
3935    );
3936}
3937#[repr(C)]
3938#[derive(Copy, Clone)]
3939pub union NDIlib_v5__bindgen_ty_17 {
3940    pub send_get_tally: ::std::option::Option<
3941        unsafe extern "C" fn(
3942            p_instance: NDIlib_send_instance_t,
3943            p_tally: *mut NDIlib_tally_t,
3944            timeout_in_ms: u32,
3945        ) -> bool,
3946    >,
3947    pub NDIlib_send_get_tally: ::std::option::Option<
3948        unsafe extern "C" fn(
3949            p_instance: NDIlib_send_instance_t,
3950            p_tally: *mut NDIlib_tally_t,
3951            timeout_in_ms: u32,
3952        ) -> bool,
3953    >,
3954}
3955#[test]
3956fn bindgen_test_layout_NDIlib_v5__bindgen_ty_17() {
3957    assert_eq!(
3958        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_17>(),
3959        8usize,
3960        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_17))
3961    );
3962    assert_eq!(
3963        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_17>(),
3964        8usize,
3965        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_17))
3966    );
3967    assert_eq!(
3968        unsafe {
3969            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_17>())).send_get_tally as *const _ as usize
3970        },
3971        0usize,
3972        concat!(
3973            "Offset of field: ",
3974            stringify!(NDIlib_v5__bindgen_ty_17),
3975            "::",
3976            stringify!(send_get_tally)
3977        )
3978    );
3979    assert_eq!(
3980        unsafe {
3981            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_17>())).NDIlib_send_get_tally as *const _
3982                as usize
3983        },
3984        0usize,
3985        concat!(
3986            "Offset of field: ",
3987            stringify!(NDIlib_v5__bindgen_ty_17),
3988            "::",
3989            stringify!(NDIlib_send_get_tally)
3990        )
3991    );
3992}
3993#[repr(C)]
3994#[derive(Copy, Clone)]
3995pub union NDIlib_v5__bindgen_ty_18 {
3996    pub send_get_no_connections: ::std::option::Option<
3997        unsafe extern "C" fn(
3998            p_instance: NDIlib_send_instance_t,
3999            timeout_in_ms: u32,
4000        ) -> ::std::os::raw::c_int,
4001    >,
4002    pub NDIlib_send_get_no_connections: ::std::option::Option<
4003        unsafe extern "C" fn(
4004            p_instance: NDIlib_send_instance_t,
4005            timeout_in_ms: u32,
4006        ) -> ::std::os::raw::c_int,
4007    >,
4008}
4009#[test]
4010fn bindgen_test_layout_NDIlib_v5__bindgen_ty_18() {
4011    assert_eq!(
4012        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_18>(),
4013        8usize,
4014        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_18))
4015    );
4016    assert_eq!(
4017        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_18>(),
4018        8usize,
4019        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_18))
4020    );
4021    assert_eq!(
4022        unsafe {
4023            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_18>())).send_get_no_connections as *const _
4024                as usize
4025        },
4026        0usize,
4027        concat!(
4028            "Offset of field: ",
4029            stringify!(NDIlib_v5__bindgen_ty_18),
4030            "::",
4031            stringify!(send_get_no_connections)
4032        )
4033    );
4034    assert_eq!(
4035        unsafe {
4036            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_18>())).NDIlib_send_get_no_connections
4037                as *const _ as usize
4038        },
4039        0usize,
4040        concat!(
4041            "Offset of field: ",
4042            stringify!(NDIlib_v5__bindgen_ty_18),
4043            "::",
4044            stringify!(NDIlib_send_get_no_connections)
4045        )
4046    );
4047}
4048#[repr(C)]
4049#[derive(Copy, Clone)]
4050pub union NDIlib_v5__bindgen_ty_19 {
4051    pub send_clear_connection_metadata:
4052        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_send_instance_t)>,
4053    pub NDIlib_send_clear_connection_metadata:
4054        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_send_instance_t)>,
4055}
4056#[test]
4057fn bindgen_test_layout_NDIlib_v5__bindgen_ty_19() {
4058    assert_eq!(
4059        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_19>(),
4060        8usize,
4061        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_19))
4062    );
4063    assert_eq!(
4064        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_19>(),
4065        8usize,
4066        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_19))
4067    );
4068    assert_eq!(
4069        unsafe {
4070            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_19>())).send_clear_connection_metadata
4071                as *const _ as usize
4072        },
4073        0usize,
4074        concat!(
4075            "Offset of field: ",
4076            stringify!(NDIlib_v5__bindgen_ty_19),
4077            "::",
4078            stringify!(send_clear_connection_metadata)
4079        )
4080    );
4081    assert_eq!(
4082        unsafe {
4083            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_19>()))
4084                .NDIlib_send_clear_connection_metadata as *const _ as usize
4085        },
4086        0usize,
4087        concat!(
4088            "Offset of field: ",
4089            stringify!(NDIlib_v5__bindgen_ty_19),
4090            "::",
4091            stringify!(NDIlib_send_clear_connection_metadata)
4092        )
4093    );
4094}
4095#[repr(C)]
4096#[derive(Copy, Clone)]
4097pub union NDIlib_v5__bindgen_ty_20 {
4098    pub send_add_connection_metadata: ::std::option::Option<
4099        unsafe extern "C" fn(
4100            p_instance: NDIlib_send_instance_t,
4101            p_metadata: *const NDIlib_metadata_frame_t,
4102        ),
4103    >,
4104    pub NDIlib_send_add_connection_metadata: ::std::option::Option<
4105        unsafe extern "C" fn(
4106            p_instance: NDIlib_send_instance_t,
4107            p_metadata: *const NDIlib_metadata_frame_t,
4108        ),
4109    >,
4110}
4111#[test]
4112fn bindgen_test_layout_NDIlib_v5__bindgen_ty_20() {
4113    assert_eq!(
4114        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_20>(),
4115        8usize,
4116        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_20))
4117    );
4118    assert_eq!(
4119        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_20>(),
4120        8usize,
4121        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_20))
4122    );
4123    assert_eq!(
4124        unsafe {
4125            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_20>())).send_add_connection_metadata
4126                as *const _ as usize
4127        },
4128        0usize,
4129        concat!(
4130            "Offset of field: ",
4131            stringify!(NDIlib_v5__bindgen_ty_20),
4132            "::",
4133            stringify!(send_add_connection_metadata)
4134        )
4135    );
4136    assert_eq!(
4137        unsafe {
4138            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_20>())).NDIlib_send_add_connection_metadata
4139                as *const _ as usize
4140        },
4141        0usize,
4142        concat!(
4143            "Offset of field: ",
4144            stringify!(NDIlib_v5__bindgen_ty_20),
4145            "::",
4146            stringify!(NDIlib_send_add_connection_metadata)
4147        )
4148    );
4149}
4150#[repr(C)]
4151#[derive(Copy, Clone)]
4152pub union NDIlib_v5__bindgen_ty_21 {
4153    pub send_set_failover: ::std::option::Option<
4154        unsafe extern "C" fn(
4155            p_instance: NDIlib_send_instance_t,
4156            p_failover_source: *const NDIlib_source_t,
4157        ),
4158    >,
4159    pub NDIlib_send_set_failover: ::std::option::Option<
4160        unsafe extern "C" fn(
4161            p_instance: NDIlib_send_instance_t,
4162            p_failover_source: *const NDIlib_source_t,
4163        ),
4164    >,
4165}
4166#[test]
4167fn bindgen_test_layout_NDIlib_v5__bindgen_ty_21() {
4168    assert_eq!(
4169        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_21>(),
4170        8usize,
4171        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_21))
4172    );
4173    assert_eq!(
4174        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_21>(),
4175        8usize,
4176        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_21))
4177    );
4178    assert_eq!(
4179        unsafe {
4180            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_21>())).send_set_failover as *const _
4181                as usize
4182        },
4183        0usize,
4184        concat!(
4185            "Offset of field: ",
4186            stringify!(NDIlib_v5__bindgen_ty_21),
4187            "::",
4188            stringify!(send_set_failover)
4189        )
4190    );
4191    assert_eq!(
4192        unsafe {
4193            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_21>())).NDIlib_send_set_failover
4194                as *const _ as usize
4195        },
4196        0usize,
4197        concat!(
4198            "Offset of field: ",
4199            stringify!(NDIlib_v5__bindgen_ty_21),
4200            "::",
4201            stringify!(NDIlib_send_set_failover)
4202        )
4203    );
4204}
4205#[repr(C)]
4206#[derive(Copy, Clone)]
4207pub union NDIlib_v5__bindgen_ty_22 {
4208    pub recv_create_v2: ::std::option::Option<
4209        unsafe extern "C" fn(
4210            p_create_settings: *const NDIlib_recv_create_t,
4211        ) -> NDIlib_recv_instance_t,
4212    >,
4213    pub NDIlib_recv_create_v2: ::std::option::Option<
4214        unsafe extern "C" fn(
4215            p_create_settings: *const NDIlib_recv_create_t,
4216        ) -> NDIlib_recv_instance_t,
4217    >,
4218}
4219#[test]
4220fn bindgen_test_layout_NDIlib_v5__bindgen_ty_22() {
4221    assert_eq!(
4222        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_22>(),
4223        8usize,
4224        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_22))
4225    );
4226    assert_eq!(
4227        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_22>(),
4228        8usize,
4229        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_22))
4230    );
4231    assert_eq!(
4232        unsafe {
4233            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_22>())).recv_create_v2 as *const _ as usize
4234        },
4235        0usize,
4236        concat!(
4237            "Offset of field: ",
4238            stringify!(NDIlib_v5__bindgen_ty_22),
4239            "::",
4240            stringify!(recv_create_v2)
4241        )
4242    );
4243    assert_eq!(
4244        unsafe {
4245            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_22>())).NDIlib_recv_create_v2 as *const _
4246                as usize
4247        },
4248        0usize,
4249        concat!(
4250            "Offset of field: ",
4251            stringify!(NDIlib_v5__bindgen_ty_22),
4252            "::",
4253            stringify!(NDIlib_recv_create_v2)
4254        )
4255    );
4256}
4257#[repr(C)]
4258#[derive(Copy, Clone)]
4259pub union NDIlib_v5__bindgen_ty_23 {
4260    pub recv_create: ::std::option::Option<
4261        unsafe extern "C" fn(
4262            p_create_settings: *const NDIlib_recv_create_t,
4263        ) -> NDIlib_recv_instance_t,
4264    >,
4265    pub NDIlib_recv_create: ::std::option::Option<
4266        unsafe extern "C" fn(
4267            p_create_settings: *const NDIlib_recv_create_t,
4268        ) -> NDIlib_recv_instance_t,
4269    >,
4270}
4271#[test]
4272fn bindgen_test_layout_NDIlib_v5__bindgen_ty_23() {
4273    assert_eq!(
4274        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_23>(),
4275        8usize,
4276        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_23))
4277    );
4278    assert_eq!(
4279        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_23>(),
4280        8usize,
4281        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_23))
4282    );
4283    assert_eq!(
4284        unsafe {
4285            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_23>())).recv_create as *const _ as usize
4286        },
4287        0usize,
4288        concat!(
4289            "Offset of field: ",
4290            stringify!(NDIlib_v5__bindgen_ty_23),
4291            "::",
4292            stringify!(recv_create)
4293        )
4294    );
4295    assert_eq!(
4296        unsafe {
4297            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_23>())).NDIlib_recv_create as *const _
4298                as usize
4299        },
4300        0usize,
4301        concat!(
4302            "Offset of field: ",
4303            stringify!(NDIlib_v5__bindgen_ty_23),
4304            "::",
4305            stringify!(NDIlib_recv_create)
4306        )
4307    );
4308}
4309#[repr(C)]
4310#[derive(Copy, Clone)]
4311pub union NDIlib_v5__bindgen_ty_24 {
4312    pub recv_destroy:
4313        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t)>,
4314    pub NDIlib_recv_destroy:
4315        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t)>,
4316}
4317#[test]
4318fn bindgen_test_layout_NDIlib_v5__bindgen_ty_24() {
4319    assert_eq!(
4320        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_24>(),
4321        8usize,
4322        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_24))
4323    );
4324    assert_eq!(
4325        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_24>(),
4326        8usize,
4327        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_24))
4328    );
4329    assert_eq!(
4330        unsafe {
4331            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_24>())).recv_destroy as *const _ as usize
4332        },
4333        0usize,
4334        concat!(
4335            "Offset of field: ",
4336            stringify!(NDIlib_v5__bindgen_ty_24),
4337            "::",
4338            stringify!(recv_destroy)
4339        )
4340    );
4341    assert_eq!(
4342        unsafe {
4343            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_24>())).NDIlib_recv_destroy as *const _
4344                as usize
4345        },
4346        0usize,
4347        concat!(
4348            "Offset of field: ",
4349            stringify!(NDIlib_v5__bindgen_ty_24),
4350            "::",
4351            stringify!(NDIlib_recv_destroy)
4352        )
4353    );
4354}
4355#[repr(C)]
4356#[derive(Copy, Clone)]
4357pub union NDIlib_v5__bindgen_ty_25 {
4358    pub recv_capture: ::std::option::Option<
4359        unsafe extern "C" fn(
4360            p_instance: NDIlib_recv_instance_t,
4361            p_video_data: *mut NDIlib_video_frame_t,
4362            p_audio_data: *mut NDIlib_audio_frame_t,
4363            p_metadata: *mut NDIlib_metadata_frame_t,
4364            timeout_in_ms: u32,
4365        ) -> NDIlib_frame_type_e,
4366    >,
4367    pub NDIlib_recv_capture: ::std::option::Option<
4368        unsafe extern "C" fn(
4369            p_instance: NDIlib_recv_instance_t,
4370            p_video_data: *mut NDIlib_video_frame_t,
4371            p_audio_data: *mut NDIlib_audio_frame_t,
4372            p_metadata: *mut NDIlib_metadata_frame_t,
4373            timeout_in_ms: u32,
4374        ) -> NDIlib_frame_type_e,
4375    >,
4376}
4377#[test]
4378fn bindgen_test_layout_NDIlib_v5__bindgen_ty_25() {
4379    assert_eq!(
4380        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_25>(),
4381        8usize,
4382        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_25))
4383    );
4384    assert_eq!(
4385        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_25>(),
4386        8usize,
4387        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_25))
4388    );
4389    assert_eq!(
4390        unsafe {
4391            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_25>())).recv_capture as *const _ as usize
4392        },
4393        0usize,
4394        concat!(
4395            "Offset of field: ",
4396            stringify!(NDIlib_v5__bindgen_ty_25),
4397            "::",
4398            stringify!(recv_capture)
4399        )
4400    );
4401    assert_eq!(
4402        unsafe {
4403            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_25>())).NDIlib_recv_capture as *const _
4404                as usize
4405        },
4406        0usize,
4407        concat!(
4408            "Offset of field: ",
4409            stringify!(NDIlib_v5__bindgen_ty_25),
4410            "::",
4411            stringify!(NDIlib_recv_capture)
4412        )
4413    );
4414}
4415#[repr(C)]
4416#[derive(Copy, Clone)]
4417pub union NDIlib_v5__bindgen_ty_26 {
4418    pub recv_free_video: ::std::option::Option<
4419        unsafe extern "C" fn(
4420            p_instance: NDIlib_recv_instance_t,
4421            p_video_data: *const NDIlib_video_frame_t,
4422        ),
4423    >,
4424    pub NDIlib_recv_free_video: ::std::option::Option<
4425        unsafe extern "C" fn(
4426            p_instance: NDIlib_recv_instance_t,
4427            p_video_data: *const NDIlib_video_frame_t,
4428        ),
4429    >,
4430}
4431#[test]
4432fn bindgen_test_layout_NDIlib_v5__bindgen_ty_26() {
4433    assert_eq!(
4434        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_26>(),
4435        8usize,
4436        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_26))
4437    );
4438    assert_eq!(
4439        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_26>(),
4440        8usize,
4441        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_26))
4442    );
4443    assert_eq!(
4444        unsafe {
4445            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_26>())).recv_free_video as *const _
4446                as usize
4447        },
4448        0usize,
4449        concat!(
4450            "Offset of field: ",
4451            stringify!(NDIlib_v5__bindgen_ty_26),
4452            "::",
4453            stringify!(recv_free_video)
4454        )
4455    );
4456    assert_eq!(
4457        unsafe {
4458            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_26>())).NDIlib_recv_free_video as *const _
4459                as usize
4460        },
4461        0usize,
4462        concat!(
4463            "Offset of field: ",
4464            stringify!(NDIlib_v5__bindgen_ty_26),
4465            "::",
4466            stringify!(NDIlib_recv_free_video)
4467        )
4468    );
4469}
4470#[repr(C)]
4471#[derive(Copy, Clone)]
4472pub union NDIlib_v5__bindgen_ty_27 {
4473    pub recv_free_audio: ::std::option::Option<
4474        unsafe extern "C" fn(
4475            p_instance: NDIlib_recv_instance_t,
4476            p_audio_data: *const NDIlib_audio_frame_t,
4477        ),
4478    >,
4479    pub NDIlib_recv_free_audio: ::std::option::Option<
4480        unsafe extern "C" fn(
4481            p_instance: NDIlib_recv_instance_t,
4482            p_audio_data: *const NDIlib_audio_frame_t,
4483        ),
4484    >,
4485}
4486#[test]
4487fn bindgen_test_layout_NDIlib_v5__bindgen_ty_27() {
4488    assert_eq!(
4489        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_27>(),
4490        8usize,
4491        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_27))
4492    );
4493    assert_eq!(
4494        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_27>(),
4495        8usize,
4496        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_27))
4497    );
4498    assert_eq!(
4499        unsafe {
4500            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_27>())).recv_free_audio as *const _
4501                as usize
4502        },
4503        0usize,
4504        concat!(
4505            "Offset of field: ",
4506            stringify!(NDIlib_v5__bindgen_ty_27),
4507            "::",
4508            stringify!(recv_free_audio)
4509        )
4510    );
4511    assert_eq!(
4512        unsafe {
4513            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_27>())).NDIlib_recv_free_audio as *const _
4514                as usize
4515        },
4516        0usize,
4517        concat!(
4518            "Offset of field: ",
4519            stringify!(NDIlib_v5__bindgen_ty_27),
4520            "::",
4521            stringify!(NDIlib_recv_free_audio)
4522        )
4523    );
4524}
4525#[repr(C)]
4526#[derive(Copy, Clone)]
4527pub union NDIlib_v5__bindgen_ty_28 {
4528    pub recv_free_metadata: ::std::option::Option<
4529        unsafe extern "C" fn(
4530            p_instance: NDIlib_recv_instance_t,
4531            p_metadata: *const NDIlib_metadata_frame_t,
4532        ),
4533    >,
4534    pub NDIlib_recv_free_metadata: ::std::option::Option<
4535        unsafe extern "C" fn(
4536            p_instance: NDIlib_recv_instance_t,
4537            p_metadata: *const NDIlib_metadata_frame_t,
4538        ),
4539    >,
4540}
4541#[test]
4542fn bindgen_test_layout_NDIlib_v5__bindgen_ty_28() {
4543    assert_eq!(
4544        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_28>(),
4545        8usize,
4546        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_28))
4547    );
4548    assert_eq!(
4549        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_28>(),
4550        8usize,
4551        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_28))
4552    );
4553    assert_eq!(
4554        unsafe {
4555            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_28>())).recv_free_metadata as *const _
4556                as usize
4557        },
4558        0usize,
4559        concat!(
4560            "Offset of field: ",
4561            stringify!(NDIlib_v5__bindgen_ty_28),
4562            "::",
4563            stringify!(recv_free_metadata)
4564        )
4565    );
4566    assert_eq!(
4567        unsafe {
4568            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_28>())).NDIlib_recv_free_metadata
4569                as *const _ as usize
4570        },
4571        0usize,
4572        concat!(
4573            "Offset of field: ",
4574            stringify!(NDIlib_v5__bindgen_ty_28),
4575            "::",
4576            stringify!(NDIlib_recv_free_metadata)
4577        )
4578    );
4579}
4580#[repr(C)]
4581#[derive(Copy, Clone)]
4582pub union NDIlib_v5__bindgen_ty_29 {
4583    pub recv_send_metadata: ::std::option::Option<
4584        unsafe extern "C" fn(
4585            p_instance: NDIlib_recv_instance_t,
4586            p_metadata: *const NDIlib_metadata_frame_t,
4587        ) -> bool,
4588    >,
4589    pub NDIlib_recv_send_metadata: ::std::option::Option<
4590        unsafe extern "C" fn(
4591            p_instance: NDIlib_recv_instance_t,
4592            p_metadata: *const NDIlib_metadata_frame_t,
4593        ) -> bool,
4594    >,
4595}
4596#[test]
4597fn bindgen_test_layout_NDIlib_v5__bindgen_ty_29() {
4598    assert_eq!(
4599        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_29>(),
4600        8usize,
4601        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_29))
4602    );
4603    assert_eq!(
4604        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_29>(),
4605        8usize,
4606        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_29))
4607    );
4608    assert_eq!(
4609        unsafe {
4610            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_29>())).recv_send_metadata as *const _
4611                as usize
4612        },
4613        0usize,
4614        concat!(
4615            "Offset of field: ",
4616            stringify!(NDIlib_v5__bindgen_ty_29),
4617            "::",
4618            stringify!(recv_send_metadata)
4619        )
4620    );
4621    assert_eq!(
4622        unsafe {
4623            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_29>())).NDIlib_recv_send_metadata
4624                as *const _ as usize
4625        },
4626        0usize,
4627        concat!(
4628            "Offset of field: ",
4629            stringify!(NDIlib_v5__bindgen_ty_29),
4630            "::",
4631            stringify!(NDIlib_recv_send_metadata)
4632        )
4633    );
4634}
4635#[repr(C)]
4636#[derive(Copy, Clone)]
4637pub union NDIlib_v5__bindgen_ty_30 {
4638    pub recv_set_tally: ::std::option::Option<
4639        unsafe extern "C" fn(
4640            p_instance: NDIlib_recv_instance_t,
4641            p_tally: *const NDIlib_tally_t,
4642        ) -> bool,
4643    >,
4644    pub NDIlib_recv_set_tally: ::std::option::Option<
4645        unsafe extern "C" fn(
4646            p_instance: NDIlib_recv_instance_t,
4647            p_tally: *const NDIlib_tally_t,
4648        ) -> bool,
4649    >,
4650}
4651#[test]
4652fn bindgen_test_layout_NDIlib_v5__bindgen_ty_30() {
4653    assert_eq!(
4654        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_30>(),
4655        8usize,
4656        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_30))
4657    );
4658    assert_eq!(
4659        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_30>(),
4660        8usize,
4661        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_30))
4662    );
4663    assert_eq!(
4664        unsafe {
4665            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_30>())).recv_set_tally as *const _ as usize
4666        },
4667        0usize,
4668        concat!(
4669            "Offset of field: ",
4670            stringify!(NDIlib_v5__bindgen_ty_30),
4671            "::",
4672            stringify!(recv_set_tally)
4673        )
4674    );
4675    assert_eq!(
4676        unsafe {
4677            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_30>())).NDIlib_recv_set_tally as *const _
4678                as usize
4679        },
4680        0usize,
4681        concat!(
4682            "Offset of field: ",
4683            stringify!(NDIlib_v5__bindgen_ty_30),
4684            "::",
4685            stringify!(NDIlib_recv_set_tally)
4686        )
4687    );
4688}
4689#[repr(C)]
4690#[derive(Copy, Clone)]
4691pub union NDIlib_v5__bindgen_ty_31 {
4692    pub recv_get_performance: ::std::option::Option<
4693        unsafe extern "C" fn(
4694            p_instance: NDIlib_recv_instance_t,
4695            p_total: *mut NDIlib_recv_performance_t,
4696            p_dropped: *mut NDIlib_recv_performance_t,
4697        ),
4698    >,
4699    pub NDIlib_recv_get_performance: ::std::option::Option<
4700        unsafe extern "C" fn(
4701            p_instance: NDIlib_recv_instance_t,
4702            p_total: *mut NDIlib_recv_performance_t,
4703            p_dropped: *mut NDIlib_recv_performance_t,
4704        ),
4705    >,
4706}
4707#[test]
4708fn bindgen_test_layout_NDIlib_v5__bindgen_ty_31() {
4709    assert_eq!(
4710        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_31>(),
4711        8usize,
4712        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_31))
4713    );
4714    assert_eq!(
4715        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_31>(),
4716        8usize,
4717        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_31))
4718    );
4719    assert_eq!(
4720        unsafe {
4721            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_31>())).recv_get_performance as *const _
4722                as usize
4723        },
4724        0usize,
4725        concat!(
4726            "Offset of field: ",
4727            stringify!(NDIlib_v5__bindgen_ty_31),
4728            "::",
4729            stringify!(recv_get_performance)
4730        )
4731    );
4732    assert_eq!(
4733        unsafe {
4734            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_31>())).NDIlib_recv_get_performance
4735                as *const _ as usize
4736        },
4737        0usize,
4738        concat!(
4739            "Offset of field: ",
4740            stringify!(NDIlib_v5__bindgen_ty_31),
4741            "::",
4742            stringify!(NDIlib_recv_get_performance)
4743        )
4744    );
4745}
4746#[repr(C)]
4747#[derive(Copy, Clone)]
4748pub union NDIlib_v5__bindgen_ty_32 {
4749    pub recv_get_queue: ::std::option::Option<
4750        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, p_total: *mut NDIlib_recv_queue_t),
4751    >,
4752    pub NDIlib_recv_get_queue: ::std::option::Option<
4753        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, p_total: *mut NDIlib_recv_queue_t),
4754    >,
4755}
4756#[test]
4757fn bindgen_test_layout_NDIlib_v5__bindgen_ty_32() {
4758    assert_eq!(
4759        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_32>(),
4760        8usize,
4761        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_32))
4762    );
4763    assert_eq!(
4764        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_32>(),
4765        8usize,
4766        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_32))
4767    );
4768    assert_eq!(
4769        unsafe {
4770            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_32>())).recv_get_queue as *const _ as usize
4771        },
4772        0usize,
4773        concat!(
4774            "Offset of field: ",
4775            stringify!(NDIlib_v5__bindgen_ty_32),
4776            "::",
4777            stringify!(recv_get_queue)
4778        )
4779    );
4780    assert_eq!(
4781        unsafe {
4782            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_32>())).NDIlib_recv_get_queue as *const _
4783                as usize
4784        },
4785        0usize,
4786        concat!(
4787            "Offset of field: ",
4788            stringify!(NDIlib_v5__bindgen_ty_32),
4789            "::",
4790            stringify!(NDIlib_recv_get_queue)
4791        )
4792    );
4793}
4794#[repr(C)]
4795#[derive(Copy, Clone)]
4796pub union NDIlib_v5__bindgen_ty_33 {
4797    pub recv_clear_connection_metadata:
4798        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t)>,
4799    pub NDIlib_recv_clear_connection_metadata:
4800        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t)>,
4801}
4802#[test]
4803fn bindgen_test_layout_NDIlib_v5__bindgen_ty_33() {
4804    assert_eq!(
4805        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_33>(),
4806        8usize,
4807        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_33))
4808    );
4809    assert_eq!(
4810        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_33>(),
4811        8usize,
4812        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_33))
4813    );
4814    assert_eq!(
4815        unsafe {
4816            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_33>())).recv_clear_connection_metadata
4817                as *const _ as usize
4818        },
4819        0usize,
4820        concat!(
4821            "Offset of field: ",
4822            stringify!(NDIlib_v5__bindgen_ty_33),
4823            "::",
4824            stringify!(recv_clear_connection_metadata)
4825        )
4826    );
4827    assert_eq!(
4828        unsafe {
4829            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_33>()))
4830                .NDIlib_recv_clear_connection_metadata as *const _ as usize
4831        },
4832        0usize,
4833        concat!(
4834            "Offset of field: ",
4835            stringify!(NDIlib_v5__bindgen_ty_33),
4836            "::",
4837            stringify!(NDIlib_recv_clear_connection_metadata)
4838        )
4839    );
4840}
4841#[repr(C)]
4842#[derive(Copy, Clone)]
4843pub union NDIlib_v5__bindgen_ty_34 {
4844    pub recv_add_connection_metadata: ::std::option::Option<
4845        unsafe extern "C" fn(
4846            p_instance: NDIlib_recv_instance_t,
4847            p_metadata: *const NDIlib_metadata_frame_t,
4848        ),
4849    >,
4850    pub NDIlib_recv_add_connection_metadata: ::std::option::Option<
4851        unsafe extern "C" fn(
4852            p_instance: NDIlib_recv_instance_t,
4853            p_metadata: *const NDIlib_metadata_frame_t,
4854        ),
4855    >,
4856}
4857#[test]
4858fn bindgen_test_layout_NDIlib_v5__bindgen_ty_34() {
4859    assert_eq!(
4860        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_34>(),
4861        8usize,
4862        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_34))
4863    );
4864    assert_eq!(
4865        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_34>(),
4866        8usize,
4867        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_34))
4868    );
4869    assert_eq!(
4870        unsafe {
4871            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_34>())).recv_add_connection_metadata
4872                as *const _ as usize
4873        },
4874        0usize,
4875        concat!(
4876            "Offset of field: ",
4877            stringify!(NDIlib_v5__bindgen_ty_34),
4878            "::",
4879            stringify!(recv_add_connection_metadata)
4880        )
4881    );
4882    assert_eq!(
4883        unsafe {
4884            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_34>())).NDIlib_recv_add_connection_metadata
4885                as *const _ as usize
4886        },
4887        0usize,
4888        concat!(
4889            "Offset of field: ",
4890            stringify!(NDIlib_v5__bindgen_ty_34),
4891            "::",
4892            stringify!(NDIlib_recv_add_connection_metadata)
4893        )
4894    );
4895}
4896#[repr(C)]
4897#[derive(Copy, Clone)]
4898pub union NDIlib_v5__bindgen_ty_35 {
4899    pub recv_get_no_connections: ::std::option::Option<
4900        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> ::std::os::raw::c_int,
4901    >,
4902    pub NDIlib_recv_get_no_connections: ::std::option::Option<
4903        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> ::std::os::raw::c_int,
4904    >,
4905}
4906#[test]
4907fn bindgen_test_layout_NDIlib_v5__bindgen_ty_35() {
4908    assert_eq!(
4909        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_35>(),
4910        8usize,
4911        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_35))
4912    );
4913    assert_eq!(
4914        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_35>(),
4915        8usize,
4916        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_35))
4917    );
4918    assert_eq!(
4919        unsafe {
4920            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_35>())).recv_get_no_connections as *const _
4921                as usize
4922        },
4923        0usize,
4924        concat!(
4925            "Offset of field: ",
4926            stringify!(NDIlib_v5__bindgen_ty_35),
4927            "::",
4928            stringify!(recv_get_no_connections)
4929        )
4930    );
4931    assert_eq!(
4932        unsafe {
4933            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_35>())).NDIlib_recv_get_no_connections
4934                as *const _ as usize
4935        },
4936        0usize,
4937        concat!(
4938            "Offset of field: ",
4939            stringify!(NDIlib_v5__bindgen_ty_35),
4940            "::",
4941            stringify!(NDIlib_recv_get_no_connections)
4942        )
4943    );
4944}
4945#[repr(C)]
4946#[derive(Copy, Clone)]
4947pub union NDIlib_v5__bindgen_ty_36 {
4948    pub routing_create: ::std::option::Option<
4949        unsafe extern "C" fn(
4950            p_create_settings: *const NDIlib_routing_create_t,
4951        ) -> NDIlib_routing_instance_t,
4952    >,
4953    pub NDIlib_routing_create: ::std::option::Option<
4954        unsafe extern "C" fn(
4955            p_create_settings: *const NDIlib_routing_create_t,
4956        ) -> NDIlib_routing_instance_t,
4957    >,
4958}
4959#[test]
4960fn bindgen_test_layout_NDIlib_v5__bindgen_ty_36() {
4961    assert_eq!(
4962        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_36>(),
4963        8usize,
4964        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_36))
4965    );
4966    assert_eq!(
4967        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_36>(),
4968        8usize,
4969        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_36))
4970    );
4971    assert_eq!(
4972        unsafe {
4973            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_36>())).routing_create as *const _ as usize
4974        },
4975        0usize,
4976        concat!(
4977            "Offset of field: ",
4978            stringify!(NDIlib_v5__bindgen_ty_36),
4979            "::",
4980            stringify!(routing_create)
4981        )
4982    );
4983    assert_eq!(
4984        unsafe {
4985            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_36>())).NDIlib_routing_create as *const _
4986                as usize
4987        },
4988        0usize,
4989        concat!(
4990            "Offset of field: ",
4991            stringify!(NDIlib_v5__bindgen_ty_36),
4992            "::",
4993            stringify!(NDIlib_routing_create)
4994        )
4995    );
4996}
4997#[repr(C)]
4998#[derive(Copy, Clone)]
4999pub union NDIlib_v5__bindgen_ty_37 {
5000    pub routing_destroy:
5001        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_routing_instance_t)>,
5002    pub NDIlib_routing_destroy:
5003        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_routing_instance_t)>,
5004}
5005#[test]
5006fn bindgen_test_layout_NDIlib_v5__bindgen_ty_37() {
5007    assert_eq!(
5008        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_37>(),
5009        8usize,
5010        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_37))
5011    );
5012    assert_eq!(
5013        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_37>(),
5014        8usize,
5015        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_37))
5016    );
5017    assert_eq!(
5018        unsafe {
5019            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_37>())).routing_destroy as *const _
5020                as usize
5021        },
5022        0usize,
5023        concat!(
5024            "Offset of field: ",
5025            stringify!(NDIlib_v5__bindgen_ty_37),
5026            "::",
5027            stringify!(routing_destroy)
5028        )
5029    );
5030    assert_eq!(
5031        unsafe {
5032            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_37>())).NDIlib_routing_destroy as *const _
5033                as usize
5034        },
5035        0usize,
5036        concat!(
5037            "Offset of field: ",
5038            stringify!(NDIlib_v5__bindgen_ty_37),
5039            "::",
5040            stringify!(NDIlib_routing_destroy)
5041        )
5042    );
5043}
5044#[repr(C)]
5045#[derive(Copy, Clone)]
5046pub union NDIlib_v5__bindgen_ty_38 {
5047    pub routing_change: ::std::option::Option<
5048        unsafe extern "C" fn(
5049            p_instance: NDIlib_routing_instance_t,
5050            p_source: *const NDIlib_source_t,
5051        ) -> bool,
5052    >,
5053    pub NDIlib_routing_change: ::std::option::Option<
5054        unsafe extern "C" fn(
5055            p_instance: NDIlib_routing_instance_t,
5056            p_source: *const NDIlib_source_t,
5057        ) -> bool,
5058    >,
5059}
5060#[test]
5061fn bindgen_test_layout_NDIlib_v5__bindgen_ty_38() {
5062    assert_eq!(
5063        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_38>(),
5064        8usize,
5065        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_38))
5066    );
5067    assert_eq!(
5068        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_38>(),
5069        8usize,
5070        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_38))
5071    );
5072    assert_eq!(
5073        unsafe {
5074            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_38>())).routing_change as *const _ as usize
5075        },
5076        0usize,
5077        concat!(
5078            "Offset of field: ",
5079            stringify!(NDIlib_v5__bindgen_ty_38),
5080            "::",
5081            stringify!(routing_change)
5082        )
5083    );
5084    assert_eq!(
5085        unsafe {
5086            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_38>())).NDIlib_routing_change as *const _
5087                as usize
5088        },
5089        0usize,
5090        concat!(
5091            "Offset of field: ",
5092            stringify!(NDIlib_v5__bindgen_ty_38),
5093            "::",
5094            stringify!(NDIlib_routing_change)
5095        )
5096    );
5097}
5098#[repr(C)]
5099#[derive(Copy, Clone)]
5100pub union NDIlib_v5__bindgen_ty_39 {
5101    pub routing_clear:
5102        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_routing_instance_t) -> bool>,
5103    pub NDIlib_routing_clear:
5104        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_routing_instance_t) -> bool>,
5105}
5106#[test]
5107fn bindgen_test_layout_NDIlib_v5__bindgen_ty_39() {
5108    assert_eq!(
5109        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_39>(),
5110        8usize,
5111        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_39))
5112    );
5113    assert_eq!(
5114        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_39>(),
5115        8usize,
5116        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_39))
5117    );
5118    assert_eq!(
5119        unsafe {
5120            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_39>())).routing_clear as *const _ as usize
5121        },
5122        0usize,
5123        concat!(
5124            "Offset of field: ",
5125            stringify!(NDIlib_v5__bindgen_ty_39),
5126            "::",
5127            stringify!(routing_clear)
5128        )
5129    );
5130    assert_eq!(
5131        unsafe {
5132            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_39>())).NDIlib_routing_clear as *const _
5133                as usize
5134        },
5135        0usize,
5136        concat!(
5137            "Offset of field: ",
5138            stringify!(NDIlib_v5__bindgen_ty_39),
5139            "::",
5140            stringify!(NDIlib_routing_clear)
5141        )
5142    );
5143}
5144#[repr(C)]
5145#[derive(Copy, Clone)]
5146pub union NDIlib_v5__bindgen_ty_40 {
5147    pub util_send_send_audio_interleaved_16s: ::std::option::Option<
5148        unsafe extern "C" fn(
5149            p_instance: NDIlib_send_instance_t,
5150            p_audio_data: *const NDIlib_audio_frame_interleaved_16s_t,
5151        ),
5152    >,
5153    pub NDIlib_util_send_send_audio_interleaved_16s: ::std::option::Option<
5154        unsafe extern "C" fn(
5155            p_instance: NDIlib_send_instance_t,
5156            p_audio_data: *const NDIlib_audio_frame_interleaved_16s_t,
5157        ),
5158    >,
5159}
5160#[test]
5161fn bindgen_test_layout_NDIlib_v5__bindgen_ty_40() {
5162    assert_eq!(
5163        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_40>(),
5164        8usize,
5165        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_40))
5166    );
5167    assert_eq!(
5168        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_40>(),
5169        8usize,
5170        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_40))
5171    );
5172    assert_eq!(
5173        unsafe {
5174            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_40>()))
5175                .util_send_send_audio_interleaved_16s as *const _ as usize
5176        },
5177        0usize,
5178        concat!(
5179            "Offset of field: ",
5180            stringify!(NDIlib_v5__bindgen_ty_40),
5181            "::",
5182            stringify!(util_send_send_audio_interleaved_16s)
5183        )
5184    );
5185    assert_eq!(
5186        unsafe {
5187            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_40>()))
5188                .NDIlib_util_send_send_audio_interleaved_16s as *const _ as usize
5189        },
5190        0usize,
5191        concat!(
5192            "Offset of field: ",
5193            stringify!(NDIlib_v5__bindgen_ty_40),
5194            "::",
5195            stringify!(NDIlib_util_send_send_audio_interleaved_16s)
5196        )
5197    );
5198}
5199#[repr(C)]
5200#[derive(Copy, Clone)]
5201pub union NDIlib_v5__bindgen_ty_41 {
5202    pub util_audio_to_interleaved_16s: ::std::option::Option<
5203        unsafe extern "C" fn(
5204            p_src: *const NDIlib_audio_frame_t,
5205            p_dst: *mut NDIlib_audio_frame_interleaved_16s_t,
5206        ),
5207    >,
5208    pub NDIlib_util_audio_to_interleaved_16s: ::std::option::Option<
5209        unsafe extern "C" fn(
5210            p_src: *const NDIlib_audio_frame_t,
5211            p_dst: *mut NDIlib_audio_frame_interleaved_16s_t,
5212        ),
5213    >,
5214}
5215#[test]
5216fn bindgen_test_layout_NDIlib_v5__bindgen_ty_41() {
5217    assert_eq!(
5218        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_41>(),
5219        8usize,
5220        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_41))
5221    );
5222    assert_eq!(
5223        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_41>(),
5224        8usize,
5225        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_41))
5226    );
5227    assert_eq!(
5228        unsafe {
5229            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_41>())).util_audio_to_interleaved_16s
5230                as *const _ as usize
5231        },
5232        0usize,
5233        concat!(
5234            "Offset of field: ",
5235            stringify!(NDIlib_v5__bindgen_ty_41),
5236            "::",
5237            stringify!(util_audio_to_interleaved_16s)
5238        )
5239    );
5240    assert_eq!(
5241        unsafe {
5242            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_41>()))
5243                .NDIlib_util_audio_to_interleaved_16s as *const _ as usize
5244        },
5245        0usize,
5246        concat!(
5247            "Offset of field: ",
5248            stringify!(NDIlib_v5__bindgen_ty_41),
5249            "::",
5250            stringify!(NDIlib_util_audio_to_interleaved_16s)
5251        )
5252    );
5253}
5254#[repr(C)]
5255#[derive(Copy, Clone)]
5256pub union NDIlib_v5__bindgen_ty_42 {
5257    pub util_audio_from_interleaved_16s: ::std::option::Option<
5258        unsafe extern "C" fn(
5259            p_src: *const NDIlib_audio_frame_interleaved_16s_t,
5260            p_dst: *mut NDIlib_audio_frame_t,
5261        ),
5262    >,
5263    pub NDIlib_util_audio_from_interleaved_16s: ::std::option::Option<
5264        unsafe extern "C" fn(
5265            p_src: *const NDIlib_audio_frame_interleaved_16s_t,
5266            p_dst: *mut NDIlib_audio_frame_t,
5267        ),
5268    >,
5269}
5270#[test]
5271fn bindgen_test_layout_NDIlib_v5__bindgen_ty_42() {
5272    assert_eq!(
5273        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_42>(),
5274        8usize,
5275        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_42))
5276    );
5277    assert_eq!(
5278        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_42>(),
5279        8usize,
5280        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_42))
5281    );
5282    assert_eq!(
5283        unsafe {
5284            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_42>())).util_audio_from_interleaved_16s
5285                as *const _ as usize
5286        },
5287        0usize,
5288        concat!(
5289            "Offset of field: ",
5290            stringify!(NDIlib_v5__bindgen_ty_42),
5291            "::",
5292            stringify!(util_audio_from_interleaved_16s)
5293        )
5294    );
5295    assert_eq!(
5296        unsafe {
5297            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_42>()))
5298                .NDIlib_util_audio_from_interleaved_16s as *const _ as usize
5299        },
5300        0usize,
5301        concat!(
5302            "Offset of field: ",
5303            stringify!(NDIlib_v5__bindgen_ty_42),
5304            "::",
5305            stringify!(NDIlib_util_audio_from_interleaved_16s)
5306        )
5307    );
5308}
5309#[repr(C)]
5310#[derive(Copy, Clone)]
5311pub union NDIlib_v5__bindgen_ty_43 {
5312    pub find_wait_for_sources: ::std::option::Option<
5313        unsafe extern "C" fn(p_instance: NDIlib_find_instance_t, timeout_in_ms: u32) -> bool,
5314    >,
5315    pub NDIlib_find_wait_for_sources: ::std::option::Option<
5316        unsafe extern "C" fn(p_instance: NDIlib_find_instance_t, timeout_in_ms: u32) -> bool,
5317    >,
5318}
5319#[test]
5320fn bindgen_test_layout_NDIlib_v5__bindgen_ty_43() {
5321    assert_eq!(
5322        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_43>(),
5323        8usize,
5324        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_43))
5325    );
5326    assert_eq!(
5327        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_43>(),
5328        8usize,
5329        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_43))
5330    );
5331    assert_eq!(
5332        unsafe {
5333            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_43>())).find_wait_for_sources as *const _
5334                as usize
5335        },
5336        0usize,
5337        concat!(
5338            "Offset of field: ",
5339            stringify!(NDIlib_v5__bindgen_ty_43),
5340            "::",
5341            stringify!(find_wait_for_sources)
5342        )
5343    );
5344    assert_eq!(
5345        unsafe {
5346            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_43>())).NDIlib_find_wait_for_sources
5347                as *const _ as usize
5348        },
5349        0usize,
5350        concat!(
5351            "Offset of field: ",
5352            stringify!(NDIlib_v5__bindgen_ty_43),
5353            "::",
5354            stringify!(NDIlib_find_wait_for_sources)
5355        )
5356    );
5357}
5358#[repr(C)]
5359#[derive(Copy, Clone)]
5360pub union NDIlib_v5__bindgen_ty_44 {
5361    pub find_get_current_sources: ::std::option::Option<
5362        unsafe extern "C" fn(
5363            p_instance: NDIlib_find_instance_t,
5364            p_no_sources: *mut u32,
5365        ) -> *const NDIlib_source_t,
5366    >,
5367    pub NDIlib_find_get_current_sources: ::std::option::Option<
5368        unsafe extern "C" fn(
5369            p_instance: NDIlib_find_instance_t,
5370            p_no_sources: *mut u32,
5371        ) -> *const NDIlib_source_t,
5372    >,
5373}
5374#[test]
5375fn bindgen_test_layout_NDIlib_v5__bindgen_ty_44() {
5376    assert_eq!(
5377        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_44>(),
5378        8usize,
5379        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_44))
5380    );
5381    assert_eq!(
5382        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_44>(),
5383        8usize,
5384        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_44))
5385    );
5386    assert_eq!(
5387        unsafe {
5388            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_44>())).find_get_current_sources
5389                as *const _ as usize
5390        },
5391        0usize,
5392        concat!(
5393            "Offset of field: ",
5394            stringify!(NDIlib_v5__bindgen_ty_44),
5395            "::",
5396            stringify!(find_get_current_sources)
5397        )
5398    );
5399    assert_eq!(
5400        unsafe {
5401            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_44>())).NDIlib_find_get_current_sources
5402                as *const _ as usize
5403        },
5404        0usize,
5405        concat!(
5406            "Offset of field: ",
5407            stringify!(NDIlib_v5__bindgen_ty_44),
5408            "::",
5409            stringify!(NDIlib_find_get_current_sources)
5410        )
5411    );
5412}
5413#[repr(C)]
5414#[derive(Copy, Clone)]
5415pub union NDIlib_v5__bindgen_ty_45 {
5416    pub util_audio_to_interleaved_32f: ::std::option::Option<
5417        unsafe extern "C" fn(
5418            p_src: *const NDIlib_audio_frame_t,
5419            p_dst: *mut NDIlib_audio_frame_interleaved_32f_t,
5420        ),
5421    >,
5422    pub NDIlib_util_audio_to_interleaved_32f: ::std::option::Option<
5423        unsafe extern "C" fn(
5424            p_src: *const NDIlib_audio_frame_t,
5425            p_dst: *mut NDIlib_audio_frame_interleaved_32f_t,
5426        ),
5427    >,
5428}
5429#[test]
5430fn bindgen_test_layout_NDIlib_v5__bindgen_ty_45() {
5431    assert_eq!(
5432        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_45>(),
5433        8usize,
5434        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_45))
5435    );
5436    assert_eq!(
5437        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_45>(),
5438        8usize,
5439        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_45))
5440    );
5441    assert_eq!(
5442        unsafe {
5443            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_45>())).util_audio_to_interleaved_32f
5444                as *const _ as usize
5445        },
5446        0usize,
5447        concat!(
5448            "Offset of field: ",
5449            stringify!(NDIlib_v5__bindgen_ty_45),
5450            "::",
5451            stringify!(util_audio_to_interleaved_32f)
5452        )
5453    );
5454    assert_eq!(
5455        unsafe {
5456            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_45>()))
5457                .NDIlib_util_audio_to_interleaved_32f as *const _ as usize
5458        },
5459        0usize,
5460        concat!(
5461            "Offset of field: ",
5462            stringify!(NDIlib_v5__bindgen_ty_45),
5463            "::",
5464            stringify!(NDIlib_util_audio_to_interleaved_32f)
5465        )
5466    );
5467}
5468#[repr(C)]
5469#[derive(Copy, Clone)]
5470pub union NDIlib_v5__bindgen_ty_46 {
5471    pub util_audio_from_interleaved_32f: ::std::option::Option<
5472        unsafe extern "C" fn(
5473            p_src: *const NDIlib_audio_frame_interleaved_32f_t,
5474            p_dst: *mut NDIlib_audio_frame_t,
5475        ),
5476    >,
5477    pub NDIlib_util_audio_from_interleaved_32f: ::std::option::Option<
5478        unsafe extern "C" fn(
5479            p_src: *const NDIlib_audio_frame_interleaved_32f_t,
5480            p_dst: *mut NDIlib_audio_frame_t,
5481        ),
5482    >,
5483}
5484#[test]
5485fn bindgen_test_layout_NDIlib_v5__bindgen_ty_46() {
5486    assert_eq!(
5487        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_46>(),
5488        8usize,
5489        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_46))
5490    );
5491    assert_eq!(
5492        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_46>(),
5493        8usize,
5494        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_46))
5495    );
5496    assert_eq!(
5497        unsafe {
5498            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_46>())).util_audio_from_interleaved_32f
5499                as *const _ as usize
5500        },
5501        0usize,
5502        concat!(
5503            "Offset of field: ",
5504            stringify!(NDIlib_v5__bindgen_ty_46),
5505            "::",
5506            stringify!(util_audio_from_interleaved_32f)
5507        )
5508    );
5509    assert_eq!(
5510        unsafe {
5511            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_46>()))
5512                .NDIlib_util_audio_from_interleaved_32f as *const _ as usize
5513        },
5514        0usize,
5515        concat!(
5516            "Offset of field: ",
5517            stringify!(NDIlib_v5__bindgen_ty_46),
5518            "::",
5519            stringify!(NDIlib_util_audio_from_interleaved_32f)
5520        )
5521    );
5522}
5523#[repr(C)]
5524#[derive(Copy, Clone)]
5525pub union NDIlib_v5__bindgen_ty_47 {
5526    pub util_send_send_audio_interleaved_32f: ::std::option::Option<
5527        unsafe extern "C" fn(
5528            p_instance: NDIlib_send_instance_t,
5529            p_audio_data: *const NDIlib_audio_frame_interleaved_32f_t,
5530        ),
5531    >,
5532    pub NDIlib_util_send_send_audio_interleaved_32f: ::std::option::Option<
5533        unsafe extern "C" fn(
5534            p_instance: NDIlib_send_instance_t,
5535            p_audio_data: *const NDIlib_audio_frame_interleaved_32f_t,
5536        ),
5537    >,
5538}
5539#[test]
5540fn bindgen_test_layout_NDIlib_v5__bindgen_ty_47() {
5541    assert_eq!(
5542        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_47>(),
5543        8usize,
5544        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_47))
5545    );
5546    assert_eq!(
5547        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_47>(),
5548        8usize,
5549        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_47))
5550    );
5551    assert_eq!(
5552        unsafe {
5553            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_47>()))
5554                .util_send_send_audio_interleaved_32f as *const _ as usize
5555        },
5556        0usize,
5557        concat!(
5558            "Offset of field: ",
5559            stringify!(NDIlib_v5__bindgen_ty_47),
5560            "::",
5561            stringify!(util_send_send_audio_interleaved_32f)
5562        )
5563    );
5564    assert_eq!(
5565        unsafe {
5566            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_47>()))
5567                .NDIlib_util_send_send_audio_interleaved_32f as *const _ as usize
5568        },
5569        0usize,
5570        concat!(
5571            "Offset of field: ",
5572            stringify!(NDIlib_v5__bindgen_ty_47),
5573            "::",
5574            stringify!(NDIlib_util_send_send_audio_interleaved_32f)
5575        )
5576    );
5577}
5578#[repr(C)]
5579#[derive(Copy, Clone)]
5580pub union NDIlib_v5__bindgen_ty_48 {
5581    pub recv_free_video_v2: ::std::option::Option<
5582        unsafe extern "C" fn(
5583            p_instance: NDIlib_recv_instance_t,
5584            p_video_data: *const NDIlib_video_frame_v2_t,
5585        ),
5586    >,
5587    pub NDIlib_recv_free_video_v2: ::std::option::Option<
5588        unsafe extern "C" fn(
5589            p_instance: NDIlib_recv_instance_t,
5590            p_video_data: *const NDIlib_video_frame_v2_t,
5591        ),
5592    >,
5593}
5594#[test]
5595fn bindgen_test_layout_NDIlib_v5__bindgen_ty_48() {
5596    assert_eq!(
5597        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_48>(),
5598        8usize,
5599        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_48))
5600    );
5601    assert_eq!(
5602        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_48>(),
5603        8usize,
5604        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_48))
5605    );
5606    assert_eq!(
5607        unsafe {
5608            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_48>())).recv_free_video_v2 as *const _
5609                as usize
5610        },
5611        0usize,
5612        concat!(
5613            "Offset of field: ",
5614            stringify!(NDIlib_v5__bindgen_ty_48),
5615            "::",
5616            stringify!(recv_free_video_v2)
5617        )
5618    );
5619    assert_eq!(
5620        unsafe {
5621            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_48>())).NDIlib_recv_free_video_v2
5622                as *const _ as usize
5623        },
5624        0usize,
5625        concat!(
5626            "Offset of field: ",
5627            stringify!(NDIlib_v5__bindgen_ty_48),
5628            "::",
5629            stringify!(NDIlib_recv_free_video_v2)
5630        )
5631    );
5632}
5633#[repr(C)]
5634#[derive(Copy, Clone)]
5635pub union NDIlib_v5__bindgen_ty_49 {
5636    pub recv_free_audio_v2: ::std::option::Option<
5637        unsafe extern "C" fn(
5638            p_instance: NDIlib_recv_instance_t,
5639            p_audio_data: *const NDIlib_audio_frame_v2_t,
5640        ),
5641    >,
5642    pub NDIlib_recv_free_audio_v2: ::std::option::Option<
5643        unsafe extern "C" fn(
5644            p_instance: NDIlib_recv_instance_t,
5645            p_audio_data: *const NDIlib_audio_frame_v2_t,
5646        ),
5647    >,
5648}
5649#[test]
5650fn bindgen_test_layout_NDIlib_v5__bindgen_ty_49() {
5651    assert_eq!(
5652        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_49>(),
5653        8usize,
5654        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_49))
5655    );
5656    assert_eq!(
5657        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_49>(),
5658        8usize,
5659        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_49))
5660    );
5661    assert_eq!(
5662        unsafe {
5663            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_49>())).recv_free_audio_v2 as *const _
5664                as usize
5665        },
5666        0usize,
5667        concat!(
5668            "Offset of field: ",
5669            stringify!(NDIlib_v5__bindgen_ty_49),
5670            "::",
5671            stringify!(recv_free_audio_v2)
5672        )
5673    );
5674    assert_eq!(
5675        unsafe {
5676            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_49>())).NDIlib_recv_free_audio_v2
5677                as *const _ as usize
5678        },
5679        0usize,
5680        concat!(
5681            "Offset of field: ",
5682            stringify!(NDIlib_v5__bindgen_ty_49),
5683            "::",
5684            stringify!(NDIlib_recv_free_audio_v2)
5685        )
5686    );
5687}
5688#[repr(C)]
5689#[derive(Copy, Clone)]
5690pub union NDIlib_v5__bindgen_ty_50 {
5691    pub recv_capture_v2: ::std::option::Option<
5692        unsafe extern "C" fn(
5693            p_instance: NDIlib_recv_instance_t,
5694            p_video_data: *mut NDIlib_video_frame_v2_t,
5695            p_audio_data: *mut NDIlib_audio_frame_v2_t,
5696            p_metadata: *mut NDIlib_metadata_frame_t,
5697            timeout_in_ms: u32,
5698        ) -> NDIlib_frame_type_e,
5699    >,
5700    pub NDIlib_recv_capture_v2: ::std::option::Option<
5701        unsafe extern "C" fn(
5702            p_instance: NDIlib_recv_instance_t,
5703            p_video_data: *mut NDIlib_video_frame_v2_t,
5704            p_audio_data: *mut NDIlib_audio_frame_v2_t,
5705            p_metadata: *mut NDIlib_metadata_frame_t,
5706            timeout_in_ms: u32,
5707        ) -> NDIlib_frame_type_e,
5708    >,
5709}
5710#[test]
5711fn bindgen_test_layout_NDIlib_v5__bindgen_ty_50() {
5712    assert_eq!(
5713        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_50>(),
5714        8usize,
5715        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_50))
5716    );
5717    assert_eq!(
5718        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_50>(),
5719        8usize,
5720        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_50))
5721    );
5722    assert_eq!(
5723        unsafe {
5724            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_50>())).recv_capture_v2 as *const _
5725                as usize
5726        },
5727        0usize,
5728        concat!(
5729            "Offset of field: ",
5730            stringify!(NDIlib_v5__bindgen_ty_50),
5731            "::",
5732            stringify!(recv_capture_v2)
5733        )
5734    );
5735    assert_eq!(
5736        unsafe {
5737            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_50>())).NDIlib_recv_capture_v2 as *const _
5738                as usize
5739        },
5740        0usize,
5741        concat!(
5742            "Offset of field: ",
5743            stringify!(NDIlib_v5__bindgen_ty_50),
5744            "::",
5745            stringify!(NDIlib_recv_capture_v2)
5746        )
5747    );
5748}
5749#[repr(C)]
5750#[derive(Copy, Clone)]
5751pub union NDIlib_v5__bindgen_ty_51 {
5752    pub send_send_video_v2: ::std::option::Option<
5753        unsafe extern "C" fn(
5754            p_instance: NDIlib_send_instance_t,
5755            p_video_data: *const NDIlib_video_frame_v2_t,
5756        ),
5757    >,
5758    pub NDIlib_send_send_video_v2: ::std::option::Option<
5759        unsafe extern "C" fn(
5760            p_instance: NDIlib_send_instance_t,
5761            p_video_data: *const NDIlib_video_frame_v2_t,
5762        ),
5763    >,
5764}
5765#[test]
5766fn bindgen_test_layout_NDIlib_v5__bindgen_ty_51() {
5767    assert_eq!(
5768        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_51>(),
5769        8usize,
5770        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_51))
5771    );
5772    assert_eq!(
5773        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_51>(),
5774        8usize,
5775        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_51))
5776    );
5777    assert_eq!(
5778        unsafe {
5779            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_51>())).send_send_video_v2 as *const _
5780                as usize
5781        },
5782        0usize,
5783        concat!(
5784            "Offset of field: ",
5785            stringify!(NDIlib_v5__bindgen_ty_51),
5786            "::",
5787            stringify!(send_send_video_v2)
5788        )
5789    );
5790    assert_eq!(
5791        unsafe {
5792            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_51>())).NDIlib_send_send_video_v2
5793                as *const _ as usize
5794        },
5795        0usize,
5796        concat!(
5797            "Offset of field: ",
5798            stringify!(NDIlib_v5__bindgen_ty_51),
5799            "::",
5800            stringify!(NDIlib_send_send_video_v2)
5801        )
5802    );
5803}
5804#[repr(C)]
5805#[derive(Copy, Clone)]
5806pub union NDIlib_v5__bindgen_ty_52 {
5807    pub send_send_video_async_v2: ::std::option::Option<
5808        unsafe extern "C" fn(
5809            p_instance: NDIlib_send_instance_t,
5810            p_video_data: *const NDIlib_video_frame_v2_t,
5811        ),
5812    >,
5813    pub NDIlib_send_send_video_async_v2: ::std::option::Option<
5814        unsafe extern "C" fn(
5815            p_instance: NDIlib_send_instance_t,
5816            p_video_data: *const NDIlib_video_frame_v2_t,
5817        ),
5818    >,
5819}
5820#[test]
5821fn bindgen_test_layout_NDIlib_v5__bindgen_ty_52() {
5822    assert_eq!(
5823        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_52>(),
5824        8usize,
5825        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_52))
5826    );
5827    assert_eq!(
5828        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_52>(),
5829        8usize,
5830        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_52))
5831    );
5832    assert_eq!(
5833        unsafe {
5834            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_52>())).send_send_video_async_v2
5835                as *const _ as usize
5836        },
5837        0usize,
5838        concat!(
5839            "Offset of field: ",
5840            stringify!(NDIlib_v5__bindgen_ty_52),
5841            "::",
5842            stringify!(send_send_video_async_v2)
5843        )
5844    );
5845    assert_eq!(
5846        unsafe {
5847            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_52>())).NDIlib_send_send_video_async_v2
5848                as *const _ as usize
5849        },
5850        0usize,
5851        concat!(
5852            "Offset of field: ",
5853            stringify!(NDIlib_v5__bindgen_ty_52),
5854            "::",
5855            stringify!(NDIlib_send_send_video_async_v2)
5856        )
5857    );
5858}
5859#[repr(C)]
5860#[derive(Copy, Clone)]
5861pub union NDIlib_v5__bindgen_ty_53 {
5862    pub send_send_audio_v2: ::std::option::Option<
5863        unsafe extern "C" fn(
5864            p_instance: NDIlib_send_instance_t,
5865            p_audio_data: *const NDIlib_audio_frame_v2_t,
5866        ),
5867    >,
5868    pub NDIlib_send_send_audio_v2: ::std::option::Option<
5869        unsafe extern "C" fn(
5870            p_instance: NDIlib_send_instance_t,
5871            p_audio_data: *const NDIlib_audio_frame_v2_t,
5872        ),
5873    >,
5874}
5875#[test]
5876fn bindgen_test_layout_NDIlib_v5__bindgen_ty_53() {
5877    assert_eq!(
5878        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_53>(),
5879        8usize,
5880        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_53))
5881    );
5882    assert_eq!(
5883        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_53>(),
5884        8usize,
5885        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_53))
5886    );
5887    assert_eq!(
5888        unsafe {
5889            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_53>())).send_send_audio_v2 as *const _
5890                as usize
5891        },
5892        0usize,
5893        concat!(
5894            "Offset of field: ",
5895            stringify!(NDIlib_v5__bindgen_ty_53),
5896            "::",
5897            stringify!(send_send_audio_v2)
5898        )
5899    );
5900    assert_eq!(
5901        unsafe {
5902            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_53>())).NDIlib_send_send_audio_v2
5903                as *const _ as usize
5904        },
5905        0usize,
5906        concat!(
5907            "Offset of field: ",
5908            stringify!(NDIlib_v5__bindgen_ty_53),
5909            "::",
5910            stringify!(NDIlib_send_send_audio_v2)
5911        )
5912    );
5913}
5914#[repr(C)]
5915#[derive(Copy, Clone)]
5916pub union NDIlib_v5__bindgen_ty_54 {
5917    pub util_audio_to_interleaved_16s_v2: ::std::option::Option<
5918        unsafe extern "C" fn(
5919            p_src: *const NDIlib_audio_frame_v2_t,
5920            p_dst: *mut NDIlib_audio_frame_interleaved_16s_t,
5921        ),
5922    >,
5923    pub NDIlib_util_audio_to_interleaved_16s_v2: ::std::option::Option<
5924        unsafe extern "C" fn(
5925            p_src: *const NDIlib_audio_frame_v2_t,
5926            p_dst: *mut NDIlib_audio_frame_interleaved_16s_t,
5927        ),
5928    >,
5929}
5930#[test]
5931fn bindgen_test_layout_NDIlib_v5__bindgen_ty_54() {
5932    assert_eq!(
5933        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_54>(),
5934        8usize,
5935        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_54))
5936    );
5937    assert_eq!(
5938        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_54>(),
5939        8usize,
5940        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_54))
5941    );
5942    assert_eq!(
5943        unsafe {
5944            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_54>())).util_audio_to_interleaved_16s_v2
5945                as *const _ as usize
5946        },
5947        0usize,
5948        concat!(
5949            "Offset of field: ",
5950            stringify!(NDIlib_v5__bindgen_ty_54),
5951            "::",
5952            stringify!(util_audio_to_interleaved_16s_v2)
5953        )
5954    );
5955    assert_eq!(
5956        unsafe {
5957            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_54>()))
5958                .NDIlib_util_audio_to_interleaved_16s_v2 as *const _ as usize
5959        },
5960        0usize,
5961        concat!(
5962            "Offset of field: ",
5963            stringify!(NDIlib_v5__bindgen_ty_54),
5964            "::",
5965            stringify!(NDIlib_util_audio_to_interleaved_16s_v2)
5966        )
5967    );
5968}
5969#[repr(C)]
5970#[derive(Copy, Clone)]
5971pub union NDIlib_v5__bindgen_ty_55 {
5972    pub util_audio_from_interleaved_16s_v2: ::std::option::Option<
5973        unsafe extern "C" fn(
5974            p_src: *const NDIlib_audio_frame_interleaved_16s_t,
5975            p_dst: *mut NDIlib_audio_frame_v2_t,
5976        ),
5977    >,
5978    pub NDIlib_util_audio_from_interleaved_16s_v2: ::std::option::Option<
5979        unsafe extern "C" fn(
5980            p_src: *const NDIlib_audio_frame_interleaved_16s_t,
5981            p_dst: *mut NDIlib_audio_frame_v2_t,
5982        ),
5983    >,
5984}
5985#[test]
5986fn bindgen_test_layout_NDIlib_v5__bindgen_ty_55() {
5987    assert_eq!(
5988        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_55>(),
5989        8usize,
5990        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_55))
5991    );
5992    assert_eq!(
5993        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_55>(),
5994        8usize,
5995        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_55))
5996    );
5997    assert_eq!(
5998        unsafe {
5999            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_55>())).util_audio_from_interleaved_16s_v2
6000                as *const _ as usize
6001        },
6002        0usize,
6003        concat!(
6004            "Offset of field: ",
6005            stringify!(NDIlib_v5__bindgen_ty_55),
6006            "::",
6007            stringify!(util_audio_from_interleaved_16s_v2)
6008        )
6009    );
6010    assert_eq!(
6011        unsafe {
6012            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_55>()))
6013                .NDIlib_util_audio_from_interleaved_16s_v2 as *const _ as usize
6014        },
6015        0usize,
6016        concat!(
6017            "Offset of field: ",
6018            stringify!(NDIlib_v5__bindgen_ty_55),
6019            "::",
6020            stringify!(NDIlib_util_audio_from_interleaved_16s_v2)
6021        )
6022    );
6023}
6024#[repr(C)]
6025#[derive(Copy, Clone)]
6026pub union NDIlib_v5__bindgen_ty_56 {
6027    pub util_audio_to_interleaved_32f_v2: ::std::option::Option<
6028        unsafe extern "C" fn(
6029            p_src: *const NDIlib_audio_frame_v2_t,
6030            p_dst: *mut NDIlib_audio_frame_interleaved_32f_t,
6031        ),
6032    >,
6033    pub NDIlib_util_audio_to_interleaved_32f_v2: ::std::option::Option<
6034        unsafe extern "C" fn(
6035            p_src: *const NDIlib_audio_frame_v2_t,
6036            p_dst: *mut NDIlib_audio_frame_interleaved_32f_t,
6037        ),
6038    >,
6039}
6040#[test]
6041fn bindgen_test_layout_NDIlib_v5__bindgen_ty_56() {
6042    assert_eq!(
6043        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_56>(),
6044        8usize,
6045        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_56))
6046    );
6047    assert_eq!(
6048        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_56>(),
6049        8usize,
6050        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_56))
6051    );
6052    assert_eq!(
6053        unsafe {
6054            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_56>())).util_audio_to_interleaved_32f_v2
6055                as *const _ as usize
6056        },
6057        0usize,
6058        concat!(
6059            "Offset of field: ",
6060            stringify!(NDIlib_v5__bindgen_ty_56),
6061            "::",
6062            stringify!(util_audio_to_interleaved_32f_v2)
6063        )
6064    );
6065    assert_eq!(
6066        unsafe {
6067            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_56>()))
6068                .NDIlib_util_audio_to_interleaved_32f_v2 as *const _ as usize
6069        },
6070        0usize,
6071        concat!(
6072            "Offset of field: ",
6073            stringify!(NDIlib_v5__bindgen_ty_56),
6074            "::",
6075            stringify!(NDIlib_util_audio_to_interleaved_32f_v2)
6076        )
6077    );
6078}
6079#[repr(C)]
6080#[derive(Copy, Clone)]
6081pub union NDIlib_v5__bindgen_ty_57 {
6082    pub util_audio_from_interleaved_32f_v2: ::std::option::Option<
6083        unsafe extern "C" fn(
6084            p_src: *const NDIlib_audio_frame_interleaved_32f_t,
6085            p_dst: *mut NDIlib_audio_frame_v2_t,
6086        ),
6087    >,
6088    pub NDIlib_util_audio_from_interleaved_32f_v2: ::std::option::Option<
6089        unsafe extern "C" fn(
6090            p_src: *const NDIlib_audio_frame_interleaved_32f_t,
6091            p_dst: *mut NDIlib_audio_frame_v2_t,
6092        ),
6093    >,
6094}
6095#[test]
6096fn bindgen_test_layout_NDIlib_v5__bindgen_ty_57() {
6097    assert_eq!(
6098        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_57>(),
6099        8usize,
6100        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_57))
6101    );
6102    assert_eq!(
6103        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_57>(),
6104        8usize,
6105        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_57))
6106    );
6107    assert_eq!(
6108        unsafe {
6109            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_57>())).util_audio_from_interleaved_32f_v2
6110                as *const _ as usize
6111        },
6112        0usize,
6113        concat!(
6114            "Offset of field: ",
6115            stringify!(NDIlib_v5__bindgen_ty_57),
6116            "::",
6117            stringify!(util_audio_from_interleaved_32f_v2)
6118        )
6119    );
6120    assert_eq!(
6121        unsafe {
6122            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_57>()))
6123                .NDIlib_util_audio_from_interleaved_32f_v2 as *const _ as usize
6124        },
6125        0usize,
6126        concat!(
6127            "Offset of field: ",
6128            stringify!(NDIlib_v5__bindgen_ty_57),
6129            "::",
6130            stringify!(NDIlib_util_audio_from_interleaved_32f_v2)
6131        )
6132    );
6133}
6134#[repr(C)]
6135#[derive(Copy, Clone)]
6136pub union NDIlib_v5__bindgen_ty_58 {
6137    pub recv_free_string: ::std::option::Option<
6138        unsafe extern "C" fn(
6139            p_instance: NDIlib_recv_instance_t,
6140            p_string: *const ::std::os::raw::c_char,
6141        ),
6142    >,
6143    pub NDIlib_recv_free_string: ::std::option::Option<
6144        unsafe extern "C" fn(
6145            p_instance: NDIlib_recv_instance_t,
6146            p_string: *const ::std::os::raw::c_char,
6147        ),
6148    >,
6149}
6150#[test]
6151fn bindgen_test_layout_NDIlib_v5__bindgen_ty_58() {
6152    assert_eq!(
6153        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_58>(),
6154        8usize,
6155        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_58))
6156    );
6157    assert_eq!(
6158        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_58>(),
6159        8usize,
6160        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_58))
6161    );
6162    assert_eq!(
6163        unsafe {
6164            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_58>())).recv_free_string as *const _
6165                as usize
6166        },
6167        0usize,
6168        concat!(
6169            "Offset of field: ",
6170            stringify!(NDIlib_v5__bindgen_ty_58),
6171            "::",
6172            stringify!(recv_free_string)
6173        )
6174    );
6175    assert_eq!(
6176        unsafe {
6177            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_58>())).NDIlib_recv_free_string as *const _
6178                as usize
6179        },
6180        0usize,
6181        concat!(
6182            "Offset of field: ",
6183            stringify!(NDIlib_v5__bindgen_ty_58),
6184            "::",
6185            stringify!(NDIlib_recv_free_string)
6186        )
6187    );
6188}
6189#[repr(C)]
6190#[derive(Copy, Clone)]
6191pub union NDIlib_v5__bindgen_ty_59 {
6192    pub recv_ptz_is_supported:
6193        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6194    pub NDIlib_recv_ptz_is_supported:
6195        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6196}
6197#[test]
6198fn bindgen_test_layout_NDIlib_v5__bindgen_ty_59() {
6199    assert_eq!(
6200        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_59>(),
6201        8usize,
6202        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_59))
6203    );
6204    assert_eq!(
6205        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_59>(),
6206        8usize,
6207        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_59))
6208    );
6209    assert_eq!(
6210        unsafe {
6211            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_59>())).recv_ptz_is_supported as *const _
6212                as usize
6213        },
6214        0usize,
6215        concat!(
6216            "Offset of field: ",
6217            stringify!(NDIlib_v5__bindgen_ty_59),
6218            "::",
6219            stringify!(recv_ptz_is_supported)
6220        )
6221    );
6222    assert_eq!(
6223        unsafe {
6224            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_59>())).NDIlib_recv_ptz_is_supported
6225                as *const _ as usize
6226        },
6227        0usize,
6228        concat!(
6229            "Offset of field: ",
6230            stringify!(NDIlib_v5__bindgen_ty_59),
6231            "::",
6232            stringify!(NDIlib_recv_ptz_is_supported)
6233        )
6234    );
6235}
6236#[repr(C)]
6237#[derive(Copy, Clone)]
6238pub union NDIlib_v5__bindgen_ty_60 {
6239    pub recv_recording_is_supported:
6240        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6241    pub NDIlib_recv_recording_is_supported:
6242        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6243}
6244#[test]
6245fn bindgen_test_layout_NDIlib_v5__bindgen_ty_60() {
6246    assert_eq!(
6247        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_60>(),
6248        8usize,
6249        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_60))
6250    );
6251    assert_eq!(
6252        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_60>(),
6253        8usize,
6254        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_60))
6255    );
6256    assert_eq!(
6257        unsafe {
6258            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_60>())).recv_recording_is_supported
6259                as *const _ as usize
6260        },
6261        0usize,
6262        concat!(
6263            "Offset of field: ",
6264            stringify!(NDIlib_v5__bindgen_ty_60),
6265            "::",
6266            stringify!(recv_recording_is_supported)
6267        )
6268    );
6269    assert_eq!(
6270        unsafe {
6271            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_60>())).NDIlib_recv_recording_is_supported
6272                as *const _ as usize
6273        },
6274        0usize,
6275        concat!(
6276            "Offset of field: ",
6277            stringify!(NDIlib_v5__bindgen_ty_60),
6278            "::",
6279            stringify!(NDIlib_recv_recording_is_supported)
6280        )
6281    );
6282}
6283#[repr(C)]
6284#[derive(Copy, Clone)]
6285pub union NDIlib_v5__bindgen_ty_61 {
6286    pub recv_get_web_control: ::std::option::Option<
6287        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> *const ::std::os::raw::c_char,
6288    >,
6289    pub NDIlib_recv_get_web_control: ::std::option::Option<
6290        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> *const ::std::os::raw::c_char,
6291    >,
6292}
6293#[test]
6294fn bindgen_test_layout_NDIlib_v5__bindgen_ty_61() {
6295    assert_eq!(
6296        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_61>(),
6297        8usize,
6298        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_61))
6299    );
6300    assert_eq!(
6301        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_61>(),
6302        8usize,
6303        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_61))
6304    );
6305    assert_eq!(
6306        unsafe {
6307            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_61>())).recv_get_web_control as *const _
6308                as usize
6309        },
6310        0usize,
6311        concat!(
6312            "Offset of field: ",
6313            stringify!(NDIlib_v5__bindgen_ty_61),
6314            "::",
6315            stringify!(recv_get_web_control)
6316        )
6317    );
6318    assert_eq!(
6319        unsafe {
6320            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_61>())).NDIlib_recv_get_web_control
6321                as *const _ as usize
6322        },
6323        0usize,
6324        concat!(
6325            "Offset of field: ",
6326            stringify!(NDIlib_v5__bindgen_ty_61),
6327            "::",
6328            stringify!(NDIlib_recv_get_web_control)
6329        )
6330    );
6331}
6332#[repr(C)]
6333#[derive(Copy, Clone)]
6334pub union NDIlib_v5__bindgen_ty_62 {
6335    pub recv_ptz_zoom: ::std::option::Option<
6336        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, zoom_value: f32) -> bool,
6337    >,
6338    pub NDIlib_recv_ptz_zoom: ::std::option::Option<
6339        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, zoom_value: f32) -> bool,
6340    >,
6341}
6342#[test]
6343fn bindgen_test_layout_NDIlib_v5__bindgen_ty_62() {
6344    assert_eq!(
6345        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_62>(),
6346        8usize,
6347        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_62))
6348    );
6349    assert_eq!(
6350        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_62>(),
6351        8usize,
6352        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_62))
6353    );
6354    assert_eq!(
6355        unsafe {
6356            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_62>())).recv_ptz_zoom as *const _ as usize
6357        },
6358        0usize,
6359        concat!(
6360            "Offset of field: ",
6361            stringify!(NDIlib_v5__bindgen_ty_62),
6362            "::",
6363            stringify!(recv_ptz_zoom)
6364        )
6365    );
6366    assert_eq!(
6367        unsafe {
6368            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_62>())).NDIlib_recv_ptz_zoom as *const _
6369                as usize
6370        },
6371        0usize,
6372        concat!(
6373            "Offset of field: ",
6374            stringify!(NDIlib_v5__bindgen_ty_62),
6375            "::",
6376            stringify!(NDIlib_recv_ptz_zoom)
6377        )
6378    );
6379}
6380#[repr(C)]
6381#[derive(Copy, Clone)]
6382pub union NDIlib_v5__bindgen_ty_63 {
6383    pub recv_ptz_zoom_speed: ::std::option::Option<
6384        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, zoom_speed: f32) -> bool,
6385    >,
6386    pub NDIlib_recv_ptz_zoom_speed: ::std::option::Option<
6387        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, zoom_speed: f32) -> bool,
6388    >,
6389}
6390#[test]
6391fn bindgen_test_layout_NDIlib_v5__bindgen_ty_63() {
6392    assert_eq!(
6393        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_63>(),
6394        8usize,
6395        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_63))
6396    );
6397    assert_eq!(
6398        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_63>(),
6399        8usize,
6400        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_63))
6401    );
6402    assert_eq!(
6403        unsafe {
6404            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_63>())).recv_ptz_zoom_speed as *const _
6405                as usize
6406        },
6407        0usize,
6408        concat!(
6409            "Offset of field: ",
6410            stringify!(NDIlib_v5__bindgen_ty_63),
6411            "::",
6412            stringify!(recv_ptz_zoom_speed)
6413        )
6414    );
6415    assert_eq!(
6416        unsafe {
6417            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_63>())).NDIlib_recv_ptz_zoom_speed
6418                as *const _ as usize
6419        },
6420        0usize,
6421        concat!(
6422            "Offset of field: ",
6423            stringify!(NDIlib_v5__bindgen_ty_63),
6424            "::",
6425            stringify!(NDIlib_recv_ptz_zoom_speed)
6426        )
6427    );
6428}
6429#[repr(C)]
6430#[derive(Copy, Clone)]
6431pub union NDIlib_v5__bindgen_ty_64 {
6432    pub recv_ptz_pan_tilt: ::std::option::Option<
6433        unsafe extern "C" fn(
6434            p_instance: NDIlib_recv_instance_t,
6435            pan_value: f32,
6436            tilt_value: f32,
6437        ) -> bool,
6438    >,
6439    pub NDIlib_recv_ptz_pan_tilt: ::std::option::Option<
6440        unsafe extern "C" fn(
6441            p_instance: NDIlib_recv_instance_t,
6442            pan_value: f32,
6443            tilt_value: f32,
6444        ) -> bool,
6445    >,
6446}
6447#[test]
6448fn bindgen_test_layout_NDIlib_v5__bindgen_ty_64() {
6449    assert_eq!(
6450        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_64>(),
6451        8usize,
6452        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_64))
6453    );
6454    assert_eq!(
6455        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_64>(),
6456        8usize,
6457        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_64))
6458    );
6459    assert_eq!(
6460        unsafe {
6461            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_64>())).recv_ptz_pan_tilt as *const _
6462                as usize
6463        },
6464        0usize,
6465        concat!(
6466            "Offset of field: ",
6467            stringify!(NDIlib_v5__bindgen_ty_64),
6468            "::",
6469            stringify!(recv_ptz_pan_tilt)
6470        )
6471    );
6472    assert_eq!(
6473        unsafe {
6474            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_64>())).NDIlib_recv_ptz_pan_tilt
6475                as *const _ as usize
6476        },
6477        0usize,
6478        concat!(
6479            "Offset of field: ",
6480            stringify!(NDIlib_v5__bindgen_ty_64),
6481            "::",
6482            stringify!(NDIlib_recv_ptz_pan_tilt)
6483        )
6484    );
6485}
6486#[repr(C)]
6487#[derive(Copy, Clone)]
6488pub union NDIlib_v5__bindgen_ty_65 {
6489    pub recv_ptz_pan_tilt_speed: ::std::option::Option<
6490        unsafe extern "C" fn(
6491            p_instance: NDIlib_recv_instance_t,
6492            pan_speed: f32,
6493            tilt_speed: f32,
6494        ) -> bool,
6495    >,
6496    pub NDIlib_recv_ptz_pan_tilt_speed: ::std::option::Option<
6497        unsafe extern "C" fn(
6498            p_instance: NDIlib_recv_instance_t,
6499            pan_speed: f32,
6500            tilt_speed: f32,
6501        ) -> bool,
6502    >,
6503}
6504#[test]
6505fn bindgen_test_layout_NDIlib_v5__bindgen_ty_65() {
6506    assert_eq!(
6507        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_65>(),
6508        8usize,
6509        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_65))
6510    );
6511    assert_eq!(
6512        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_65>(),
6513        8usize,
6514        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_65))
6515    );
6516    assert_eq!(
6517        unsafe {
6518            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_65>())).recv_ptz_pan_tilt_speed as *const _
6519                as usize
6520        },
6521        0usize,
6522        concat!(
6523            "Offset of field: ",
6524            stringify!(NDIlib_v5__bindgen_ty_65),
6525            "::",
6526            stringify!(recv_ptz_pan_tilt_speed)
6527        )
6528    );
6529    assert_eq!(
6530        unsafe {
6531            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_65>())).NDIlib_recv_ptz_pan_tilt_speed
6532                as *const _ as usize
6533        },
6534        0usize,
6535        concat!(
6536            "Offset of field: ",
6537            stringify!(NDIlib_v5__bindgen_ty_65),
6538            "::",
6539            stringify!(NDIlib_recv_ptz_pan_tilt_speed)
6540        )
6541    );
6542}
6543#[repr(C)]
6544#[derive(Copy, Clone)]
6545pub union NDIlib_v5__bindgen_ty_66 {
6546    pub recv_ptz_store_preset: ::std::option::Option<
6547        unsafe extern "C" fn(
6548            p_instance: NDIlib_recv_instance_t,
6549            preset_no: ::std::os::raw::c_int,
6550        ) -> bool,
6551    >,
6552    pub NDIlib_recv_ptz_store_preset: ::std::option::Option<
6553        unsafe extern "C" fn(
6554            p_instance: NDIlib_recv_instance_t,
6555            preset_no: ::std::os::raw::c_int,
6556        ) -> bool,
6557    >,
6558}
6559#[test]
6560fn bindgen_test_layout_NDIlib_v5__bindgen_ty_66() {
6561    assert_eq!(
6562        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_66>(),
6563        8usize,
6564        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_66))
6565    );
6566    assert_eq!(
6567        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_66>(),
6568        8usize,
6569        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_66))
6570    );
6571    assert_eq!(
6572        unsafe {
6573            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_66>())).recv_ptz_store_preset as *const _
6574                as usize
6575        },
6576        0usize,
6577        concat!(
6578            "Offset of field: ",
6579            stringify!(NDIlib_v5__bindgen_ty_66),
6580            "::",
6581            stringify!(recv_ptz_store_preset)
6582        )
6583    );
6584    assert_eq!(
6585        unsafe {
6586            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_66>())).NDIlib_recv_ptz_store_preset
6587                as *const _ as usize
6588        },
6589        0usize,
6590        concat!(
6591            "Offset of field: ",
6592            stringify!(NDIlib_v5__bindgen_ty_66),
6593            "::",
6594            stringify!(NDIlib_recv_ptz_store_preset)
6595        )
6596    );
6597}
6598#[repr(C)]
6599#[derive(Copy, Clone)]
6600pub union NDIlib_v5__bindgen_ty_67 {
6601    pub recv_ptz_recall_preset: ::std::option::Option<
6602        unsafe extern "C" fn(
6603            p_instance: NDIlib_recv_instance_t,
6604            preset_no: ::std::os::raw::c_int,
6605            speed: f32,
6606        ) -> bool,
6607    >,
6608    pub NDIlib_recv_ptz_recall_preset: ::std::option::Option<
6609        unsafe extern "C" fn(
6610            p_instance: NDIlib_recv_instance_t,
6611            preset_no: ::std::os::raw::c_int,
6612            speed: f32,
6613        ) -> bool,
6614    >,
6615}
6616#[test]
6617fn bindgen_test_layout_NDIlib_v5__bindgen_ty_67() {
6618    assert_eq!(
6619        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_67>(),
6620        8usize,
6621        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_67))
6622    );
6623    assert_eq!(
6624        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_67>(),
6625        8usize,
6626        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_67))
6627    );
6628    assert_eq!(
6629        unsafe {
6630            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_67>())).recv_ptz_recall_preset as *const _
6631                as usize
6632        },
6633        0usize,
6634        concat!(
6635            "Offset of field: ",
6636            stringify!(NDIlib_v5__bindgen_ty_67),
6637            "::",
6638            stringify!(recv_ptz_recall_preset)
6639        )
6640    );
6641    assert_eq!(
6642        unsafe {
6643            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_67>())).NDIlib_recv_ptz_recall_preset
6644                as *const _ as usize
6645        },
6646        0usize,
6647        concat!(
6648            "Offset of field: ",
6649            stringify!(NDIlib_v5__bindgen_ty_67),
6650            "::",
6651            stringify!(NDIlib_recv_ptz_recall_preset)
6652        )
6653    );
6654}
6655#[repr(C)]
6656#[derive(Copy, Clone)]
6657pub union NDIlib_v5__bindgen_ty_68 {
6658    pub recv_ptz_auto_focus:
6659        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6660    pub NDIlib_recv_ptz_auto_focus:
6661        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6662}
6663#[test]
6664fn bindgen_test_layout_NDIlib_v5__bindgen_ty_68() {
6665    assert_eq!(
6666        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_68>(),
6667        8usize,
6668        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_68))
6669    );
6670    assert_eq!(
6671        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_68>(),
6672        8usize,
6673        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_68))
6674    );
6675    assert_eq!(
6676        unsafe {
6677            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_68>())).recv_ptz_auto_focus as *const _
6678                as usize
6679        },
6680        0usize,
6681        concat!(
6682            "Offset of field: ",
6683            stringify!(NDIlib_v5__bindgen_ty_68),
6684            "::",
6685            stringify!(recv_ptz_auto_focus)
6686        )
6687    );
6688    assert_eq!(
6689        unsafe {
6690            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_68>())).NDIlib_recv_ptz_auto_focus
6691                as *const _ as usize
6692        },
6693        0usize,
6694        concat!(
6695            "Offset of field: ",
6696            stringify!(NDIlib_v5__bindgen_ty_68),
6697            "::",
6698            stringify!(NDIlib_recv_ptz_auto_focus)
6699        )
6700    );
6701}
6702#[repr(C)]
6703#[derive(Copy, Clone)]
6704pub union NDIlib_v5__bindgen_ty_69 {
6705    pub recv_ptz_focus: ::std::option::Option<
6706        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, focus_value: f32) -> bool,
6707    >,
6708    pub NDIlib_recv_ptz_focus: ::std::option::Option<
6709        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, focus_value: f32) -> bool,
6710    >,
6711}
6712#[test]
6713fn bindgen_test_layout_NDIlib_v5__bindgen_ty_69() {
6714    assert_eq!(
6715        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_69>(),
6716        8usize,
6717        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_69))
6718    );
6719    assert_eq!(
6720        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_69>(),
6721        8usize,
6722        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_69))
6723    );
6724    assert_eq!(
6725        unsafe {
6726            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_69>())).recv_ptz_focus as *const _ as usize
6727        },
6728        0usize,
6729        concat!(
6730            "Offset of field: ",
6731            stringify!(NDIlib_v5__bindgen_ty_69),
6732            "::",
6733            stringify!(recv_ptz_focus)
6734        )
6735    );
6736    assert_eq!(
6737        unsafe {
6738            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_69>())).NDIlib_recv_ptz_focus as *const _
6739                as usize
6740        },
6741        0usize,
6742        concat!(
6743            "Offset of field: ",
6744            stringify!(NDIlib_v5__bindgen_ty_69),
6745            "::",
6746            stringify!(NDIlib_recv_ptz_focus)
6747        )
6748    );
6749}
6750#[repr(C)]
6751#[derive(Copy, Clone)]
6752pub union NDIlib_v5__bindgen_ty_70 {
6753    pub recv_ptz_focus_speed: ::std::option::Option<
6754        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, focus_speed: f32) -> bool,
6755    >,
6756    pub NDIlib_recv_ptz_focus_speed: ::std::option::Option<
6757        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, focus_speed: f32) -> bool,
6758    >,
6759}
6760#[test]
6761fn bindgen_test_layout_NDIlib_v5__bindgen_ty_70() {
6762    assert_eq!(
6763        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_70>(),
6764        8usize,
6765        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_70))
6766    );
6767    assert_eq!(
6768        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_70>(),
6769        8usize,
6770        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_70))
6771    );
6772    assert_eq!(
6773        unsafe {
6774            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_70>())).recv_ptz_focus_speed as *const _
6775                as usize
6776        },
6777        0usize,
6778        concat!(
6779            "Offset of field: ",
6780            stringify!(NDIlib_v5__bindgen_ty_70),
6781            "::",
6782            stringify!(recv_ptz_focus_speed)
6783        )
6784    );
6785    assert_eq!(
6786        unsafe {
6787            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_70>())).NDIlib_recv_ptz_focus_speed
6788                as *const _ as usize
6789        },
6790        0usize,
6791        concat!(
6792            "Offset of field: ",
6793            stringify!(NDIlib_v5__bindgen_ty_70),
6794            "::",
6795            stringify!(NDIlib_recv_ptz_focus_speed)
6796        )
6797    );
6798}
6799#[repr(C)]
6800#[derive(Copy, Clone)]
6801pub union NDIlib_v5__bindgen_ty_71 {
6802    pub recv_ptz_white_balance_auto:
6803        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6804    pub NDIlib_recv_ptz_white_balance_auto:
6805        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6806}
6807#[test]
6808fn bindgen_test_layout_NDIlib_v5__bindgen_ty_71() {
6809    assert_eq!(
6810        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_71>(),
6811        8usize,
6812        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_71))
6813    );
6814    assert_eq!(
6815        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_71>(),
6816        8usize,
6817        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_71))
6818    );
6819    assert_eq!(
6820        unsafe {
6821            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_71>())).recv_ptz_white_balance_auto
6822                as *const _ as usize
6823        },
6824        0usize,
6825        concat!(
6826            "Offset of field: ",
6827            stringify!(NDIlib_v5__bindgen_ty_71),
6828            "::",
6829            stringify!(recv_ptz_white_balance_auto)
6830        )
6831    );
6832    assert_eq!(
6833        unsafe {
6834            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_71>())).NDIlib_recv_ptz_white_balance_auto
6835                as *const _ as usize
6836        },
6837        0usize,
6838        concat!(
6839            "Offset of field: ",
6840            stringify!(NDIlib_v5__bindgen_ty_71),
6841            "::",
6842            stringify!(NDIlib_recv_ptz_white_balance_auto)
6843        )
6844    );
6845}
6846#[repr(C)]
6847#[derive(Copy, Clone)]
6848pub union NDIlib_v5__bindgen_ty_72 {
6849    pub recv_ptz_white_balance_indoor:
6850        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6851    pub NDIlib_recv_ptz_white_balance_indoor:
6852        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6853}
6854#[test]
6855fn bindgen_test_layout_NDIlib_v5__bindgen_ty_72() {
6856    assert_eq!(
6857        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_72>(),
6858        8usize,
6859        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_72))
6860    );
6861    assert_eq!(
6862        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_72>(),
6863        8usize,
6864        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_72))
6865    );
6866    assert_eq!(
6867        unsafe {
6868            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_72>())).recv_ptz_white_balance_indoor
6869                as *const _ as usize
6870        },
6871        0usize,
6872        concat!(
6873            "Offset of field: ",
6874            stringify!(NDIlib_v5__bindgen_ty_72),
6875            "::",
6876            stringify!(recv_ptz_white_balance_indoor)
6877        )
6878    );
6879    assert_eq!(
6880        unsafe {
6881            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_72>()))
6882                .NDIlib_recv_ptz_white_balance_indoor as *const _ as usize
6883        },
6884        0usize,
6885        concat!(
6886            "Offset of field: ",
6887            stringify!(NDIlib_v5__bindgen_ty_72),
6888            "::",
6889            stringify!(NDIlib_recv_ptz_white_balance_indoor)
6890        )
6891    );
6892}
6893#[repr(C)]
6894#[derive(Copy, Clone)]
6895pub union NDIlib_v5__bindgen_ty_73 {
6896    pub recv_ptz_white_balance_outdoor:
6897        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6898    pub NDIlib_recv_ptz_white_balance_outdoor:
6899        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6900}
6901#[test]
6902fn bindgen_test_layout_NDIlib_v5__bindgen_ty_73() {
6903    assert_eq!(
6904        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_73>(),
6905        8usize,
6906        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_73))
6907    );
6908    assert_eq!(
6909        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_73>(),
6910        8usize,
6911        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_73))
6912    );
6913    assert_eq!(
6914        unsafe {
6915            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_73>())).recv_ptz_white_balance_outdoor
6916                as *const _ as usize
6917        },
6918        0usize,
6919        concat!(
6920            "Offset of field: ",
6921            stringify!(NDIlib_v5__bindgen_ty_73),
6922            "::",
6923            stringify!(recv_ptz_white_balance_outdoor)
6924        )
6925    );
6926    assert_eq!(
6927        unsafe {
6928            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_73>()))
6929                .NDIlib_recv_ptz_white_balance_outdoor as *const _ as usize
6930        },
6931        0usize,
6932        concat!(
6933            "Offset of field: ",
6934            stringify!(NDIlib_v5__bindgen_ty_73),
6935            "::",
6936            stringify!(NDIlib_recv_ptz_white_balance_outdoor)
6937        )
6938    );
6939}
6940#[repr(C)]
6941#[derive(Copy, Clone)]
6942pub union NDIlib_v5__bindgen_ty_74 {
6943    pub recv_ptz_white_balance_oneshot:
6944        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6945    pub NDIlib_recv_ptz_white_balance_oneshot:
6946        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
6947}
6948#[test]
6949fn bindgen_test_layout_NDIlib_v5__bindgen_ty_74() {
6950    assert_eq!(
6951        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_74>(),
6952        8usize,
6953        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_74))
6954    );
6955    assert_eq!(
6956        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_74>(),
6957        8usize,
6958        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_74))
6959    );
6960    assert_eq!(
6961        unsafe {
6962            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_74>())).recv_ptz_white_balance_oneshot
6963                as *const _ as usize
6964        },
6965        0usize,
6966        concat!(
6967            "Offset of field: ",
6968            stringify!(NDIlib_v5__bindgen_ty_74),
6969            "::",
6970            stringify!(recv_ptz_white_balance_oneshot)
6971        )
6972    );
6973    assert_eq!(
6974        unsafe {
6975            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_74>()))
6976                .NDIlib_recv_ptz_white_balance_oneshot as *const _ as usize
6977        },
6978        0usize,
6979        concat!(
6980            "Offset of field: ",
6981            stringify!(NDIlib_v5__bindgen_ty_74),
6982            "::",
6983            stringify!(NDIlib_recv_ptz_white_balance_oneshot)
6984        )
6985    );
6986}
6987#[repr(C)]
6988#[derive(Copy, Clone)]
6989pub union NDIlib_v5__bindgen_ty_75 {
6990    pub recv_ptz_white_balance_manual: ::std::option::Option<
6991        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, red: f32, blue: f32) -> bool,
6992    >,
6993    pub NDIlib_recv_ptz_white_balance_manual: ::std::option::Option<
6994        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, red: f32, blue: f32) -> bool,
6995    >,
6996}
6997#[test]
6998fn bindgen_test_layout_NDIlib_v5__bindgen_ty_75() {
6999    assert_eq!(
7000        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_75>(),
7001        8usize,
7002        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_75))
7003    );
7004    assert_eq!(
7005        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_75>(),
7006        8usize,
7007        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_75))
7008    );
7009    assert_eq!(
7010        unsafe {
7011            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_75>())).recv_ptz_white_balance_manual
7012                as *const _ as usize
7013        },
7014        0usize,
7015        concat!(
7016            "Offset of field: ",
7017            stringify!(NDIlib_v5__bindgen_ty_75),
7018            "::",
7019            stringify!(recv_ptz_white_balance_manual)
7020        )
7021    );
7022    assert_eq!(
7023        unsafe {
7024            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_75>()))
7025                .NDIlib_recv_ptz_white_balance_manual as *const _ as usize
7026        },
7027        0usize,
7028        concat!(
7029            "Offset of field: ",
7030            stringify!(NDIlib_v5__bindgen_ty_75),
7031            "::",
7032            stringify!(NDIlib_recv_ptz_white_balance_manual)
7033        )
7034    );
7035}
7036#[repr(C)]
7037#[derive(Copy, Clone)]
7038pub union NDIlib_v5__bindgen_ty_76 {
7039    pub recv_ptz_exposure_auto:
7040        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
7041    pub NDIlib_recv_ptz_exposure_auto:
7042        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
7043}
7044#[test]
7045fn bindgen_test_layout_NDIlib_v5__bindgen_ty_76() {
7046    assert_eq!(
7047        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_76>(),
7048        8usize,
7049        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_76))
7050    );
7051    assert_eq!(
7052        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_76>(),
7053        8usize,
7054        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_76))
7055    );
7056    assert_eq!(
7057        unsafe {
7058            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_76>())).recv_ptz_exposure_auto as *const _
7059                as usize
7060        },
7061        0usize,
7062        concat!(
7063            "Offset of field: ",
7064            stringify!(NDIlib_v5__bindgen_ty_76),
7065            "::",
7066            stringify!(recv_ptz_exposure_auto)
7067        )
7068    );
7069    assert_eq!(
7070        unsafe {
7071            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_76>())).NDIlib_recv_ptz_exposure_auto
7072                as *const _ as usize
7073        },
7074        0usize,
7075        concat!(
7076            "Offset of field: ",
7077            stringify!(NDIlib_v5__bindgen_ty_76),
7078            "::",
7079            stringify!(NDIlib_recv_ptz_exposure_auto)
7080        )
7081    );
7082}
7083#[repr(C)]
7084#[derive(Copy, Clone)]
7085pub union NDIlib_v5__bindgen_ty_77 {
7086    pub recv_ptz_exposure_manual: ::std::option::Option<
7087        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, exposure_level: f32) -> bool,
7088    >,
7089    pub NDIlib_recv_ptz_exposure_manual: ::std::option::Option<
7090        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, exposure_level: f32) -> bool,
7091    >,
7092}
7093#[test]
7094fn bindgen_test_layout_NDIlib_v5__bindgen_ty_77() {
7095    assert_eq!(
7096        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_77>(),
7097        8usize,
7098        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_77))
7099    );
7100    assert_eq!(
7101        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_77>(),
7102        8usize,
7103        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_77))
7104    );
7105    assert_eq!(
7106        unsafe {
7107            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_77>())).recv_ptz_exposure_manual
7108                as *const _ as usize
7109        },
7110        0usize,
7111        concat!(
7112            "Offset of field: ",
7113            stringify!(NDIlib_v5__bindgen_ty_77),
7114            "::",
7115            stringify!(recv_ptz_exposure_manual)
7116        )
7117    );
7118    assert_eq!(
7119        unsafe {
7120            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_77>())).NDIlib_recv_ptz_exposure_manual
7121                as *const _ as usize
7122        },
7123        0usize,
7124        concat!(
7125            "Offset of field: ",
7126            stringify!(NDIlib_v5__bindgen_ty_77),
7127            "::",
7128            stringify!(NDIlib_recv_ptz_exposure_manual)
7129        )
7130    );
7131}
7132#[repr(C)]
7133#[derive(Copy, Clone)]
7134pub union NDIlib_v5__bindgen_ty_78 {
7135    pub recv_recording_start: ::std::option::Option<
7136        unsafe extern "C" fn(
7137            p_instance: NDIlib_recv_instance_t,
7138            p_filename_hint: *const ::std::os::raw::c_char,
7139        ) -> bool,
7140    >,
7141    pub NDIlib_recv_recording_start: ::std::option::Option<
7142        unsafe extern "C" fn(
7143            p_instance: NDIlib_recv_instance_t,
7144            p_filename_hint: *const ::std::os::raw::c_char,
7145        ) -> bool,
7146    >,
7147}
7148#[test]
7149fn bindgen_test_layout_NDIlib_v5__bindgen_ty_78() {
7150    assert_eq!(
7151        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_78>(),
7152        8usize,
7153        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_78))
7154    );
7155    assert_eq!(
7156        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_78>(),
7157        8usize,
7158        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_78))
7159    );
7160    assert_eq!(
7161        unsafe {
7162            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_78>())).recv_recording_start as *const _
7163                as usize
7164        },
7165        0usize,
7166        concat!(
7167            "Offset of field: ",
7168            stringify!(NDIlib_v5__bindgen_ty_78),
7169            "::",
7170            stringify!(recv_recording_start)
7171        )
7172    );
7173    assert_eq!(
7174        unsafe {
7175            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_78>())).NDIlib_recv_recording_start
7176                as *const _ as usize
7177        },
7178        0usize,
7179        concat!(
7180            "Offset of field: ",
7181            stringify!(NDIlib_v5__bindgen_ty_78),
7182            "::",
7183            stringify!(NDIlib_recv_recording_start)
7184        )
7185    );
7186}
7187#[repr(C)]
7188#[derive(Copy, Clone)]
7189pub union NDIlib_v5__bindgen_ty_79 {
7190    pub recv_recording_stop:
7191        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
7192    pub NDIlib_recv_recording_stop:
7193        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
7194}
7195#[test]
7196fn bindgen_test_layout_NDIlib_v5__bindgen_ty_79() {
7197    assert_eq!(
7198        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_79>(),
7199        8usize,
7200        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_79))
7201    );
7202    assert_eq!(
7203        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_79>(),
7204        8usize,
7205        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_79))
7206    );
7207    assert_eq!(
7208        unsafe {
7209            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_79>())).recv_recording_stop as *const _
7210                as usize
7211        },
7212        0usize,
7213        concat!(
7214            "Offset of field: ",
7215            stringify!(NDIlib_v5__bindgen_ty_79),
7216            "::",
7217            stringify!(recv_recording_stop)
7218        )
7219    );
7220    assert_eq!(
7221        unsafe {
7222            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_79>())).NDIlib_recv_recording_stop
7223                as *const _ as usize
7224        },
7225        0usize,
7226        concat!(
7227            "Offset of field: ",
7228            stringify!(NDIlib_v5__bindgen_ty_79),
7229            "::",
7230            stringify!(NDIlib_recv_recording_stop)
7231        )
7232    );
7233}
7234#[repr(C)]
7235#[derive(Copy, Clone)]
7236pub union NDIlib_v5__bindgen_ty_80 {
7237    pub recv_recording_set_audio_level: ::std::option::Option<
7238        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, level_dB: f32) -> bool,
7239    >,
7240    pub NDIlib_recv_recording_set_audio_level: ::std::option::Option<
7241        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, level_dB: f32) -> bool,
7242    >,
7243}
7244#[test]
7245fn bindgen_test_layout_NDIlib_v5__bindgen_ty_80() {
7246    assert_eq!(
7247        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_80>(),
7248        8usize,
7249        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_80))
7250    );
7251    assert_eq!(
7252        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_80>(),
7253        8usize,
7254        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_80))
7255    );
7256    assert_eq!(
7257        unsafe {
7258            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_80>())).recv_recording_set_audio_level
7259                as *const _ as usize
7260        },
7261        0usize,
7262        concat!(
7263            "Offset of field: ",
7264            stringify!(NDIlib_v5__bindgen_ty_80),
7265            "::",
7266            stringify!(recv_recording_set_audio_level)
7267        )
7268    );
7269    assert_eq!(
7270        unsafe {
7271            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_80>()))
7272                .NDIlib_recv_recording_set_audio_level as *const _ as usize
7273        },
7274        0usize,
7275        concat!(
7276            "Offset of field: ",
7277            stringify!(NDIlib_v5__bindgen_ty_80),
7278            "::",
7279            stringify!(NDIlib_recv_recording_set_audio_level)
7280        )
7281    );
7282}
7283#[repr(C)]
7284#[derive(Copy, Clone)]
7285pub union NDIlib_v5__bindgen_ty_81 {
7286    pub recv_recording_is_recording:
7287        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
7288    pub NDIlib_recv_recording_is_recording:
7289        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> bool>,
7290}
7291#[test]
7292fn bindgen_test_layout_NDIlib_v5__bindgen_ty_81() {
7293    assert_eq!(
7294        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_81>(),
7295        8usize,
7296        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_81))
7297    );
7298    assert_eq!(
7299        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_81>(),
7300        8usize,
7301        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_81))
7302    );
7303    assert_eq!(
7304        unsafe {
7305            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_81>())).recv_recording_is_recording
7306                as *const _ as usize
7307        },
7308        0usize,
7309        concat!(
7310            "Offset of field: ",
7311            stringify!(NDIlib_v5__bindgen_ty_81),
7312            "::",
7313            stringify!(recv_recording_is_recording)
7314        )
7315    );
7316    assert_eq!(
7317        unsafe {
7318            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_81>())).NDIlib_recv_recording_is_recording
7319                as *const _ as usize
7320        },
7321        0usize,
7322        concat!(
7323            "Offset of field: ",
7324            stringify!(NDIlib_v5__bindgen_ty_81),
7325            "::",
7326            stringify!(NDIlib_recv_recording_is_recording)
7327        )
7328    );
7329}
7330#[repr(C)]
7331#[derive(Copy, Clone)]
7332pub union NDIlib_v5__bindgen_ty_82 {
7333    pub recv_recording_get_filename: ::std::option::Option<
7334        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> *const ::std::os::raw::c_char,
7335    >,
7336    pub NDIlib_recv_recording_get_filename: ::std::option::Option<
7337        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> *const ::std::os::raw::c_char,
7338    >,
7339}
7340#[test]
7341fn bindgen_test_layout_NDIlib_v5__bindgen_ty_82() {
7342    assert_eq!(
7343        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_82>(),
7344        8usize,
7345        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_82))
7346    );
7347    assert_eq!(
7348        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_82>(),
7349        8usize,
7350        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_82))
7351    );
7352    assert_eq!(
7353        unsafe {
7354            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_82>())).recv_recording_get_filename
7355                as *const _ as usize
7356        },
7357        0usize,
7358        concat!(
7359            "Offset of field: ",
7360            stringify!(NDIlib_v5__bindgen_ty_82),
7361            "::",
7362            stringify!(recv_recording_get_filename)
7363        )
7364    );
7365    assert_eq!(
7366        unsafe {
7367            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_82>())).NDIlib_recv_recording_get_filename
7368                as *const _ as usize
7369        },
7370        0usize,
7371        concat!(
7372            "Offset of field: ",
7373            stringify!(NDIlib_v5__bindgen_ty_82),
7374            "::",
7375            stringify!(NDIlib_recv_recording_get_filename)
7376        )
7377    );
7378}
7379#[repr(C)]
7380#[derive(Copy, Clone)]
7381pub union NDIlib_v5__bindgen_ty_83 {
7382    pub recv_recording_get_error: ::std::option::Option<
7383        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> *const ::std::os::raw::c_char,
7384    >,
7385    pub NDIlib_recv_recording_get_error: ::std::option::Option<
7386        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t) -> *const ::std::os::raw::c_char,
7387    >,
7388}
7389#[test]
7390fn bindgen_test_layout_NDIlib_v5__bindgen_ty_83() {
7391    assert_eq!(
7392        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_83>(),
7393        8usize,
7394        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_83))
7395    );
7396    assert_eq!(
7397        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_83>(),
7398        8usize,
7399        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_83))
7400    );
7401    assert_eq!(
7402        unsafe {
7403            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_83>())).recv_recording_get_error
7404                as *const _ as usize
7405        },
7406        0usize,
7407        concat!(
7408            "Offset of field: ",
7409            stringify!(NDIlib_v5__bindgen_ty_83),
7410            "::",
7411            stringify!(recv_recording_get_error)
7412        )
7413    );
7414    assert_eq!(
7415        unsafe {
7416            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_83>())).NDIlib_recv_recording_get_error
7417                as *const _ as usize
7418        },
7419        0usize,
7420        concat!(
7421            "Offset of field: ",
7422            stringify!(NDIlib_v5__bindgen_ty_83),
7423            "::",
7424            stringify!(NDIlib_recv_recording_get_error)
7425        )
7426    );
7427}
7428#[repr(C)]
7429#[derive(Copy, Clone)]
7430pub union NDIlib_v5__bindgen_ty_84 {
7431    pub recv_recording_get_times: ::std::option::Option<
7432        unsafe extern "C" fn(
7433            p_instance: NDIlib_recv_instance_t,
7434            p_times: *mut NDIlib_recv_recording_time_t,
7435        ) -> bool,
7436    >,
7437    pub NDIlib_recv_recording_get_times: ::std::option::Option<
7438        unsafe extern "C" fn(
7439            p_instance: NDIlib_recv_instance_t,
7440            p_times: *mut NDIlib_recv_recording_time_t,
7441        ) -> bool,
7442    >,
7443}
7444#[test]
7445fn bindgen_test_layout_NDIlib_v5__bindgen_ty_84() {
7446    assert_eq!(
7447        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_84>(),
7448        8usize,
7449        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_84))
7450    );
7451    assert_eq!(
7452        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_84>(),
7453        8usize,
7454        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_84))
7455    );
7456    assert_eq!(
7457        unsafe {
7458            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_84>())).recv_recording_get_times
7459                as *const _ as usize
7460        },
7461        0usize,
7462        concat!(
7463            "Offset of field: ",
7464            stringify!(NDIlib_v5__bindgen_ty_84),
7465            "::",
7466            stringify!(recv_recording_get_times)
7467        )
7468    );
7469    assert_eq!(
7470        unsafe {
7471            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_84>())).NDIlib_recv_recording_get_times
7472                as *const _ as usize
7473        },
7474        0usize,
7475        concat!(
7476            "Offset of field: ",
7477            stringify!(NDIlib_v5__bindgen_ty_84),
7478            "::",
7479            stringify!(NDIlib_recv_recording_get_times)
7480        )
7481    );
7482}
7483#[repr(C)]
7484#[derive(Copy, Clone)]
7485pub union NDIlib_v5__bindgen_ty_85 {
7486    pub recv_create_v3: ::std::option::Option<
7487        unsafe extern "C" fn(
7488            p_create_settings: *const NDIlib_recv_create_v3_t,
7489        ) -> NDIlib_recv_instance_t,
7490    >,
7491    pub NDIlib_recv_create_v3: ::std::option::Option<
7492        unsafe extern "C" fn(
7493            p_create_settings: *const NDIlib_recv_create_v3_t,
7494        ) -> NDIlib_recv_instance_t,
7495    >,
7496}
7497#[test]
7498fn bindgen_test_layout_NDIlib_v5__bindgen_ty_85() {
7499    assert_eq!(
7500        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_85>(),
7501        8usize,
7502        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_85))
7503    );
7504    assert_eq!(
7505        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_85>(),
7506        8usize,
7507        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_85))
7508    );
7509    assert_eq!(
7510        unsafe {
7511            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_85>())).recv_create_v3 as *const _ as usize
7512        },
7513        0usize,
7514        concat!(
7515            "Offset of field: ",
7516            stringify!(NDIlib_v5__bindgen_ty_85),
7517            "::",
7518            stringify!(recv_create_v3)
7519        )
7520    );
7521    assert_eq!(
7522        unsafe {
7523            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_85>())).NDIlib_recv_create_v3 as *const _
7524                as usize
7525        },
7526        0usize,
7527        concat!(
7528            "Offset of field: ",
7529            stringify!(NDIlib_v5__bindgen_ty_85),
7530            "::",
7531            stringify!(NDIlib_recv_create_v3)
7532        )
7533    );
7534}
7535#[repr(C)]
7536#[derive(Copy, Clone)]
7537pub union NDIlib_v5__bindgen_ty_86 {
7538    pub recv_connect: ::std::option::Option<
7539        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, p_src: *const NDIlib_source_t),
7540    >,
7541    pub NDIlib_recv_connect: ::std::option::Option<
7542        unsafe extern "C" fn(p_instance: NDIlib_recv_instance_t, p_src: *const NDIlib_source_t),
7543    >,
7544}
7545#[test]
7546fn bindgen_test_layout_NDIlib_v5__bindgen_ty_86() {
7547    assert_eq!(
7548        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_86>(),
7549        8usize,
7550        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_86))
7551    );
7552    assert_eq!(
7553        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_86>(),
7554        8usize,
7555        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_86))
7556    );
7557    assert_eq!(
7558        unsafe {
7559            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_86>())).recv_connect as *const _ as usize
7560        },
7561        0usize,
7562        concat!(
7563            "Offset of field: ",
7564            stringify!(NDIlib_v5__bindgen_ty_86),
7565            "::",
7566            stringify!(recv_connect)
7567        )
7568    );
7569    assert_eq!(
7570        unsafe {
7571            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_86>())).NDIlib_recv_connect as *const _
7572                as usize
7573        },
7574        0usize,
7575        concat!(
7576            "Offset of field: ",
7577            stringify!(NDIlib_v5__bindgen_ty_86),
7578            "::",
7579            stringify!(NDIlib_recv_connect)
7580        )
7581    );
7582}
7583#[repr(C)]
7584#[derive(Copy, Clone)]
7585pub union NDIlib_v5__bindgen_ty_87 {
7586    pub framesync_create: ::std::option::Option<
7587        unsafe extern "C" fn(p_receiver: NDIlib_recv_instance_t) -> NDIlib_framesync_instance_t,
7588    >,
7589    pub NDIlib_framesync_create: ::std::option::Option<
7590        unsafe extern "C" fn(p_receiver: NDIlib_recv_instance_t) -> NDIlib_framesync_instance_t,
7591    >,
7592}
7593#[test]
7594fn bindgen_test_layout_NDIlib_v5__bindgen_ty_87() {
7595    assert_eq!(
7596        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_87>(),
7597        8usize,
7598        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_87))
7599    );
7600    assert_eq!(
7601        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_87>(),
7602        8usize,
7603        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_87))
7604    );
7605    assert_eq!(
7606        unsafe {
7607            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_87>())).framesync_create as *const _
7608                as usize
7609        },
7610        0usize,
7611        concat!(
7612            "Offset of field: ",
7613            stringify!(NDIlib_v5__bindgen_ty_87),
7614            "::",
7615            stringify!(framesync_create)
7616        )
7617    );
7618    assert_eq!(
7619        unsafe {
7620            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_87>())).NDIlib_framesync_create as *const _
7621                as usize
7622        },
7623        0usize,
7624        concat!(
7625            "Offset of field: ",
7626            stringify!(NDIlib_v5__bindgen_ty_87),
7627            "::",
7628            stringify!(NDIlib_framesync_create)
7629        )
7630    );
7631}
7632#[repr(C)]
7633#[derive(Copy, Clone)]
7634pub union NDIlib_v5__bindgen_ty_88 {
7635    pub framesync_destroy:
7636        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_framesync_instance_t)>,
7637    pub NDIlib_framesync_destroy:
7638        ::std::option::Option<unsafe extern "C" fn(p_instance: NDIlib_framesync_instance_t)>,
7639}
7640#[test]
7641fn bindgen_test_layout_NDIlib_v5__bindgen_ty_88() {
7642    assert_eq!(
7643        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_88>(),
7644        8usize,
7645        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_88))
7646    );
7647    assert_eq!(
7648        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_88>(),
7649        8usize,
7650        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_88))
7651    );
7652    assert_eq!(
7653        unsafe {
7654            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_88>())).framesync_destroy as *const _
7655                as usize
7656        },
7657        0usize,
7658        concat!(
7659            "Offset of field: ",
7660            stringify!(NDIlib_v5__bindgen_ty_88),
7661            "::",
7662            stringify!(framesync_destroy)
7663        )
7664    );
7665    assert_eq!(
7666        unsafe {
7667            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_88>())).NDIlib_framesync_destroy
7668                as *const _ as usize
7669        },
7670        0usize,
7671        concat!(
7672            "Offset of field: ",
7673            stringify!(NDIlib_v5__bindgen_ty_88),
7674            "::",
7675            stringify!(NDIlib_framesync_destroy)
7676        )
7677    );
7678}
7679#[repr(C)]
7680#[derive(Copy, Clone)]
7681pub union NDIlib_v5__bindgen_ty_89 {
7682    pub framesync_capture_audio: ::std::option::Option<
7683        unsafe extern "C" fn(
7684            p_instance: NDIlib_framesync_instance_t,
7685            p_audio_data: *mut NDIlib_audio_frame_v2_t,
7686            sample_rate: ::std::os::raw::c_int,
7687            no_channels: ::std::os::raw::c_int,
7688            no_samples: ::std::os::raw::c_int,
7689        ),
7690    >,
7691    pub NDIlib_framesync_capture_audio: ::std::option::Option<
7692        unsafe extern "C" fn(
7693            p_instance: NDIlib_framesync_instance_t,
7694            p_audio_data: *mut NDIlib_audio_frame_v2_t,
7695            sample_rate: ::std::os::raw::c_int,
7696            no_channels: ::std::os::raw::c_int,
7697            no_samples: ::std::os::raw::c_int,
7698        ),
7699    >,
7700}
7701#[test]
7702fn bindgen_test_layout_NDIlib_v5__bindgen_ty_89() {
7703    assert_eq!(
7704        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_89>(),
7705        8usize,
7706        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_89))
7707    );
7708    assert_eq!(
7709        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_89>(),
7710        8usize,
7711        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_89))
7712    );
7713    assert_eq!(
7714        unsafe {
7715            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_89>())).framesync_capture_audio as *const _
7716                as usize
7717        },
7718        0usize,
7719        concat!(
7720            "Offset of field: ",
7721            stringify!(NDIlib_v5__bindgen_ty_89),
7722            "::",
7723            stringify!(framesync_capture_audio)
7724        )
7725    );
7726    assert_eq!(
7727        unsafe {
7728            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_89>())).NDIlib_framesync_capture_audio
7729                as *const _ as usize
7730        },
7731        0usize,
7732        concat!(
7733            "Offset of field: ",
7734            stringify!(NDIlib_v5__bindgen_ty_89),
7735            "::",
7736            stringify!(NDIlib_framesync_capture_audio)
7737        )
7738    );
7739}
7740#[repr(C)]
7741#[derive(Copy, Clone)]
7742pub union NDIlib_v5__bindgen_ty_90 {
7743    pub framesync_free_audio: ::std::option::Option<
7744        unsafe extern "C" fn(
7745            p_instance: NDIlib_framesync_instance_t,
7746            p_audio_data: *mut NDIlib_audio_frame_v2_t,
7747        ),
7748    >,
7749    pub NDIlib_framesync_free_audio: ::std::option::Option<
7750        unsafe extern "C" fn(
7751            p_instance: NDIlib_framesync_instance_t,
7752            p_audio_data: *mut NDIlib_audio_frame_v2_t,
7753        ),
7754    >,
7755}
7756#[test]
7757fn bindgen_test_layout_NDIlib_v5__bindgen_ty_90() {
7758    assert_eq!(
7759        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_90>(),
7760        8usize,
7761        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_90))
7762    );
7763    assert_eq!(
7764        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_90>(),
7765        8usize,
7766        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_90))
7767    );
7768    assert_eq!(
7769        unsafe {
7770            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_90>())).framesync_free_audio as *const _
7771                as usize
7772        },
7773        0usize,
7774        concat!(
7775            "Offset of field: ",
7776            stringify!(NDIlib_v5__bindgen_ty_90),
7777            "::",
7778            stringify!(framesync_free_audio)
7779        )
7780    );
7781    assert_eq!(
7782        unsafe {
7783            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_90>())).NDIlib_framesync_free_audio
7784                as *const _ as usize
7785        },
7786        0usize,
7787        concat!(
7788            "Offset of field: ",
7789            stringify!(NDIlib_v5__bindgen_ty_90),
7790            "::",
7791            stringify!(NDIlib_framesync_free_audio)
7792        )
7793    );
7794}
7795#[repr(C)]
7796#[derive(Copy, Clone)]
7797pub union NDIlib_v5__bindgen_ty_91 {
7798    pub framesync_capture_video: ::std::option::Option<
7799        unsafe extern "C" fn(
7800            p_instance: NDIlib_framesync_instance_t,
7801            p_video_data: *mut NDIlib_video_frame_v2_t,
7802            field_type: NDIlib_frame_format_type_e,
7803        ),
7804    >,
7805    pub NDIlib_framesync_capture_video: ::std::option::Option<
7806        unsafe extern "C" fn(
7807            p_instance: NDIlib_framesync_instance_t,
7808            p_video_data: *mut NDIlib_video_frame_v2_t,
7809            field_type: NDIlib_frame_format_type_e,
7810        ),
7811    >,
7812}
7813#[test]
7814fn bindgen_test_layout_NDIlib_v5__bindgen_ty_91() {
7815    assert_eq!(
7816        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_91>(),
7817        8usize,
7818        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_91))
7819    );
7820    assert_eq!(
7821        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_91>(),
7822        8usize,
7823        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_91))
7824    );
7825    assert_eq!(
7826        unsafe {
7827            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_91>())).framesync_capture_video as *const _
7828                as usize
7829        },
7830        0usize,
7831        concat!(
7832            "Offset of field: ",
7833            stringify!(NDIlib_v5__bindgen_ty_91),
7834            "::",
7835            stringify!(framesync_capture_video)
7836        )
7837    );
7838    assert_eq!(
7839        unsafe {
7840            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_91>())).NDIlib_framesync_capture_video
7841                as *const _ as usize
7842        },
7843        0usize,
7844        concat!(
7845            "Offset of field: ",
7846            stringify!(NDIlib_v5__bindgen_ty_91),
7847            "::",
7848            stringify!(NDIlib_framesync_capture_video)
7849        )
7850    );
7851}
7852#[repr(C)]
7853#[derive(Copy, Clone)]
7854pub union NDIlib_v5__bindgen_ty_92 {
7855    pub framesync_free_video: ::std::option::Option<
7856        unsafe extern "C" fn(
7857            p_instance: NDIlib_framesync_instance_t,
7858            p_video_data: *mut NDIlib_video_frame_v2_t,
7859        ),
7860    >,
7861    pub NDIlib_framesync_free_video: ::std::option::Option<
7862        unsafe extern "C" fn(
7863            p_instance: NDIlib_framesync_instance_t,
7864            p_video_data: *mut NDIlib_video_frame_v2_t,
7865        ),
7866    >,
7867}
7868#[test]
7869fn bindgen_test_layout_NDIlib_v5__bindgen_ty_92() {
7870    assert_eq!(
7871        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_92>(),
7872        8usize,
7873        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_92))
7874    );
7875    assert_eq!(
7876        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_92>(),
7877        8usize,
7878        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_92))
7879    );
7880    assert_eq!(
7881        unsafe {
7882            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_92>())).framesync_free_video as *const _
7883                as usize
7884        },
7885        0usize,
7886        concat!(
7887            "Offset of field: ",
7888            stringify!(NDIlib_v5__bindgen_ty_92),
7889            "::",
7890            stringify!(framesync_free_video)
7891        )
7892    );
7893    assert_eq!(
7894        unsafe {
7895            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_92>())).NDIlib_framesync_free_video
7896                as *const _ as usize
7897        },
7898        0usize,
7899        concat!(
7900            "Offset of field: ",
7901            stringify!(NDIlib_v5__bindgen_ty_92),
7902            "::",
7903            stringify!(NDIlib_framesync_free_video)
7904        )
7905    );
7906}
7907#[repr(C)]
7908#[derive(Copy, Clone)]
7909pub union NDIlib_v5__bindgen_ty_93 {
7910    pub util_send_send_audio_interleaved_32s: ::std::option::Option<
7911        unsafe extern "C" fn(
7912            p_instance: NDIlib_send_instance_t,
7913            p_audio_data: *const NDIlib_audio_frame_interleaved_32s_t,
7914        ),
7915    >,
7916    pub NDIlib_util_send_send_audio_interleaved_32s: ::std::option::Option<
7917        unsafe extern "C" fn(
7918            p_instance: NDIlib_send_instance_t,
7919            p_audio_data: *const NDIlib_audio_frame_interleaved_32s_t,
7920        ),
7921    >,
7922}
7923#[test]
7924fn bindgen_test_layout_NDIlib_v5__bindgen_ty_93() {
7925    assert_eq!(
7926        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_93>(),
7927        8usize,
7928        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_93))
7929    );
7930    assert_eq!(
7931        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_93>(),
7932        8usize,
7933        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_93))
7934    );
7935    assert_eq!(
7936        unsafe {
7937            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_93>()))
7938                .util_send_send_audio_interleaved_32s as *const _ as usize
7939        },
7940        0usize,
7941        concat!(
7942            "Offset of field: ",
7943            stringify!(NDIlib_v5__bindgen_ty_93),
7944            "::",
7945            stringify!(util_send_send_audio_interleaved_32s)
7946        )
7947    );
7948    assert_eq!(
7949        unsafe {
7950            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_93>()))
7951                .NDIlib_util_send_send_audio_interleaved_32s as *const _ as usize
7952        },
7953        0usize,
7954        concat!(
7955            "Offset of field: ",
7956            stringify!(NDIlib_v5__bindgen_ty_93),
7957            "::",
7958            stringify!(NDIlib_util_send_send_audio_interleaved_32s)
7959        )
7960    );
7961}
7962#[repr(C)]
7963#[derive(Copy, Clone)]
7964pub union NDIlib_v5__bindgen_ty_94 {
7965    pub util_audio_to_interleaved_32s_v2: ::std::option::Option<
7966        unsafe extern "C" fn(
7967            p_src: *const NDIlib_audio_frame_v2_t,
7968            p_dst: *mut NDIlib_audio_frame_interleaved_32s_t,
7969        ),
7970    >,
7971    pub NDIlib_util_audio_to_interleaved_32s_v2: ::std::option::Option<
7972        unsafe extern "C" fn(
7973            p_src: *const NDIlib_audio_frame_v2_t,
7974            p_dst: *mut NDIlib_audio_frame_interleaved_32s_t,
7975        ),
7976    >,
7977}
7978#[test]
7979fn bindgen_test_layout_NDIlib_v5__bindgen_ty_94() {
7980    assert_eq!(
7981        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_94>(),
7982        8usize,
7983        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_94))
7984    );
7985    assert_eq!(
7986        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_94>(),
7987        8usize,
7988        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_94))
7989    );
7990    assert_eq!(
7991        unsafe {
7992            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_94>())).util_audio_to_interleaved_32s_v2
7993                as *const _ as usize
7994        },
7995        0usize,
7996        concat!(
7997            "Offset of field: ",
7998            stringify!(NDIlib_v5__bindgen_ty_94),
7999            "::",
8000            stringify!(util_audio_to_interleaved_32s_v2)
8001        )
8002    );
8003    assert_eq!(
8004        unsafe {
8005            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_94>()))
8006                .NDIlib_util_audio_to_interleaved_32s_v2 as *const _ as usize
8007        },
8008        0usize,
8009        concat!(
8010            "Offset of field: ",
8011            stringify!(NDIlib_v5__bindgen_ty_94),
8012            "::",
8013            stringify!(NDIlib_util_audio_to_interleaved_32s_v2)
8014        )
8015    );
8016}
8017#[repr(C)]
8018#[derive(Copy, Clone)]
8019pub union NDIlib_v5__bindgen_ty_95 {
8020    pub util_audio_from_interleaved_32s_v2: ::std::option::Option<
8021        unsafe extern "C" fn(
8022            p_src: *const NDIlib_audio_frame_interleaved_32s_t,
8023            p_dst: *mut NDIlib_audio_frame_v2_t,
8024        ),
8025    >,
8026    pub NDIlib_util_audio_from_interleaved_32s_v2: ::std::option::Option<
8027        unsafe extern "C" fn(
8028            p_src: *const NDIlib_audio_frame_interleaved_32s_t,
8029            p_dst: *mut NDIlib_audio_frame_v2_t,
8030        ),
8031    >,
8032}
8033#[test]
8034fn bindgen_test_layout_NDIlib_v5__bindgen_ty_95() {
8035    assert_eq!(
8036        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_95>(),
8037        8usize,
8038        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_95))
8039    );
8040    assert_eq!(
8041        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_95>(),
8042        8usize,
8043        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_95))
8044    );
8045    assert_eq!(
8046        unsafe {
8047            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_95>())).util_audio_from_interleaved_32s_v2
8048                as *const _ as usize
8049        },
8050        0usize,
8051        concat!(
8052            "Offset of field: ",
8053            stringify!(NDIlib_v5__bindgen_ty_95),
8054            "::",
8055            stringify!(util_audio_from_interleaved_32s_v2)
8056        )
8057    );
8058    assert_eq!(
8059        unsafe {
8060            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_95>()))
8061                .NDIlib_util_audio_from_interleaved_32s_v2 as *const _ as usize
8062        },
8063        0usize,
8064        concat!(
8065            "Offset of field: ",
8066            stringify!(NDIlib_v5__bindgen_ty_95),
8067            "::",
8068            stringify!(NDIlib_util_audio_from_interleaved_32s_v2)
8069        )
8070    );
8071}
8072#[repr(C)]
8073#[derive(Copy, Clone)]
8074pub union NDIlib_v5__bindgen_ty_96 {
8075    pub send_get_source_name: ::std::option::Option<
8076        unsafe extern "C" fn(p_instance: NDIlib_send_instance_t) -> *const NDIlib_source_t,
8077    >,
8078    pub NDIlib_send_get_source_name: ::std::option::Option<
8079        unsafe extern "C" fn(p_instance: NDIlib_send_instance_t) -> *const NDIlib_source_t,
8080    >,
8081}
8082#[test]
8083fn bindgen_test_layout_NDIlib_v5__bindgen_ty_96() {
8084    assert_eq!(
8085        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_96>(),
8086        8usize,
8087        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_96))
8088    );
8089    assert_eq!(
8090        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_96>(),
8091        8usize,
8092        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_96))
8093    );
8094    assert_eq!(
8095        unsafe {
8096            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_96>())).send_get_source_name as *const _
8097                as usize
8098        },
8099        0usize,
8100        concat!(
8101            "Offset of field: ",
8102            stringify!(NDIlib_v5__bindgen_ty_96),
8103            "::",
8104            stringify!(send_get_source_name)
8105        )
8106    );
8107    assert_eq!(
8108        unsafe {
8109            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_96>())).NDIlib_send_get_source_name
8110                as *const _ as usize
8111        },
8112        0usize,
8113        concat!(
8114            "Offset of field: ",
8115            stringify!(NDIlib_v5__bindgen_ty_96),
8116            "::",
8117            stringify!(NDIlib_send_get_source_name)
8118        )
8119    );
8120}
8121#[repr(C)]
8122#[derive(Copy, Clone)]
8123pub union NDIlib_v5__bindgen_ty_97 {
8124    pub send_send_audio_v3: ::std::option::Option<
8125        unsafe extern "C" fn(
8126            p_instance: NDIlib_send_instance_t,
8127            p_audio_data: *const NDIlib_audio_frame_v3_t,
8128        ),
8129    >,
8130    pub NDIlib_send_send_audio_v3: ::std::option::Option<
8131        unsafe extern "C" fn(
8132            p_instance: NDIlib_send_instance_t,
8133            p_audio_data: *const NDIlib_audio_frame_v3_t,
8134        ),
8135    >,
8136}
8137#[test]
8138fn bindgen_test_layout_NDIlib_v5__bindgen_ty_97() {
8139    assert_eq!(
8140        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_97>(),
8141        8usize,
8142        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_97))
8143    );
8144    assert_eq!(
8145        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_97>(),
8146        8usize,
8147        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_97))
8148    );
8149    assert_eq!(
8150        unsafe {
8151            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_97>())).send_send_audio_v3 as *const _
8152                as usize
8153        },
8154        0usize,
8155        concat!(
8156            "Offset of field: ",
8157            stringify!(NDIlib_v5__bindgen_ty_97),
8158            "::",
8159            stringify!(send_send_audio_v3)
8160        )
8161    );
8162    assert_eq!(
8163        unsafe {
8164            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_97>())).NDIlib_send_send_audio_v3
8165                as *const _ as usize
8166        },
8167        0usize,
8168        concat!(
8169            "Offset of field: ",
8170            stringify!(NDIlib_v5__bindgen_ty_97),
8171            "::",
8172            stringify!(NDIlib_send_send_audio_v3)
8173        )
8174    );
8175}
8176#[repr(C)]
8177#[derive(Copy, Clone)]
8178pub union NDIlib_v5__bindgen_ty_98 {
8179    pub util_V210_to_P216: ::std::option::Option<
8180        unsafe extern "C" fn(
8181            p_src_v210: *const NDIlib_video_frame_v2_t,
8182            p_dst_p216: *mut NDIlib_video_frame_v2_t,
8183        ),
8184    >,
8185    pub NDIlib_util_V210_to_P216: ::std::option::Option<
8186        unsafe extern "C" fn(
8187            p_src_v210: *const NDIlib_video_frame_v2_t,
8188            p_dst_p216: *mut NDIlib_video_frame_v2_t,
8189        ),
8190    >,
8191}
8192#[test]
8193fn bindgen_test_layout_NDIlib_v5__bindgen_ty_98() {
8194    assert_eq!(
8195        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_98>(),
8196        8usize,
8197        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_98))
8198    );
8199    assert_eq!(
8200        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_98>(),
8201        8usize,
8202        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_98))
8203    );
8204    assert_eq!(
8205        unsafe {
8206            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_98>())).util_V210_to_P216 as *const _
8207                as usize
8208        },
8209        0usize,
8210        concat!(
8211            "Offset of field: ",
8212            stringify!(NDIlib_v5__bindgen_ty_98),
8213            "::",
8214            stringify!(util_V210_to_P216)
8215        )
8216    );
8217    assert_eq!(
8218        unsafe {
8219            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_98>())).NDIlib_util_V210_to_P216
8220                as *const _ as usize
8221        },
8222        0usize,
8223        concat!(
8224            "Offset of field: ",
8225            stringify!(NDIlib_v5__bindgen_ty_98),
8226            "::",
8227            stringify!(NDIlib_util_V210_to_P216)
8228        )
8229    );
8230}
8231#[repr(C)]
8232#[derive(Copy, Clone)]
8233pub union NDIlib_v5__bindgen_ty_99 {
8234    pub util_P216_to_V210: ::std::option::Option<
8235        unsafe extern "C" fn(
8236            p_src_p216: *const NDIlib_video_frame_v2_t,
8237            p_dst_v210: *mut NDIlib_video_frame_v2_t,
8238        ),
8239    >,
8240    pub NDIlib_util_P216_to_V210: ::std::option::Option<
8241        unsafe extern "C" fn(
8242            p_src_p216: *const NDIlib_video_frame_v2_t,
8243            p_dst_v210: *mut NDIlib_video_frame_v2_t,
8244        ),
8245    >,
8246}
8247#[test]
8248fn bindgen_test_layout_NDIlib_v5__bindgen_ty_99() {
8249    assert_eq!(
8250        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_99>(),
8251        8usize,
8252        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_99))
8253    );
8254    assert_eq!(
8255        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_99>(),
8256        8usize,
8257        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_99))
8258    );
8259    assert_eq!(
8260        unsafe {
8261            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_99>())).util_P216_to_V210 as *const _
8262                as usize
8263        },
8264        0usize,
8265        concat!(
8266            "Offset of field: ",
8267            stringify!(NDIlib_v5__bindgen_ty_99),
8268            "::",
8269            stringify!(util_P216_to_V210)
8270        )
8271    );
8272    assert_eq!(
8273        unsafe {
8274            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_99>())).NDIlib_util_P216_to_V210
8275                as *const _ as usize
8276        },
8277        0usize,
8278        concat!(
8279            "Offset of field: ",
8280            stringify!(NDIlib_v5__bindgen_ty_99),
8281            "::",
8282            stringify!(NDIlib_util_P216_to_V210)
8283        )
8284    );
8285}
8286#[repr(C)]
8287#[derive(Copy, Clone)]
8288pub union NDIlib_v5__bindgen_ty_100 {
8289    pub routing_get_no_connections: ::std::option::Option<
8290        unsafe extern "C" fn(
8291            p_instance: NDIlib_routing_instance_t,
8292            timeout_in_ms: u32,
8293        ) -> ::std::os::raw::c_int,
8294    >,
8295    pub NDIlib_routing_get_no_connections: ::std::option::Option<
8296        unsafe extern "C" fn(
8297            p_instance: NDIlib_routing_instance_t,
8298            timeout_in_ms: u32,
8299        ) -> ::std::os::raw::c_int,
8300    >,
8301}
8302#[test]
8303fn bindgen_test_layout_NDIlib_v5__bindgen_ty_100() {
8304    assert_eq!(
8305        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_100>(),
8306        8usize,
8307        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_100))
8308    );
8309    assert_eq!(
8310        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_100>(),
8311        8usize,
8312        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_100))
8313    );
8314    assert_eq!(
8315        unsafe {
8316            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_100>())).routing_get_no_connections
8317                as *const _ as usize
8318        },
8319        0usize,
8320        concat!(
8321            "Offset of field: ",
8322            stringify!(NDIlib_v5__bindgen_ty_100),
8323            "::",
8324            stringify!(routing_get_no_connections)
8325        )
8326    );
8327    assert_eq!(
8328        unsafe {
8329            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_100>())).NDIlib_routing_get_no_connections
8330                as *const _ as usize
8331        },
8332        0usize,
8333        concat!(
8334            "Offset of field: ",
8335            stringify!(NDIlib_v5__bindgen_ty_100),
8336            "::",
8337            stringify!(NDIlib_routing_get_no_connections)
8338        )
8339    );
8340}
8341#[repr(C)]
8342#[derive(Copy, Clone)]
8343pub union NDIlib_v5__bindgen_ty_101 {
8344    pub routing_get_source_name: ::std::option::Option<
8345        unsafe extern "C" fn(p_instance: NDIlib_routing_instance_t) -> *const NDIlib_source_t,
8346    >,
8347    pub NDIlib_routing_get_source_name: ::std::option::Option<
8348        unsafe extern "C" fn(p_instance: NDIlib_routing_instance_t) -> *const NDIlib_source_t,
8349    >,
8350}
8351#[test]
8352fn bindgen_test_layout_NDIlib_v5__bindgen_ty_101() {
8353    assert_eq!(
8354        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_101>(),
8355        8usize,
8356        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_101))
8357    );
8358    assert_eq!(
8359        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_101>(),
8360        8usize,
8361        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_101))
8362    );
8363    assert_eq!(
8364        unsafe {
8365            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_101>())).routing_get_source_name
8366                as *const _ as usize
8367        },
8368        0usize,
8369        concat!(
8370            "Offset of field: ",
8371            stringify!(NDIlib_v5__bindgen_ty_101),
8372            "::",
8373            stringify!(routing_get_source_name)
8374        )
8375    );
8376    assert_eq!(
8377        unsafe {
8378            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_101>())).NDIlib_routing_get_source_name
8379                as *const _ as usize
8380        },
8381        0usize,
8382        concat!(
8383            "Offset of field: ",
8384            stringify!(NDIlib_v5__bindgen_ty_101),
8385            "::",
8386            stringify!(NDIlib_routing_get_source_name)
8387        )
8388    );
8389}
8390#[repr(C)]
8391#[derive(Copy, Clone)]
8392pub union NDIlib_v5__bindgen_ty_102 {
8393    pub recv_capture_v3: ::std::option::Option<
8394        unsafe extern "C" fn(
8395            p_instance: NDIlib_recv_instance_t,
8396            p_video_data: *mut NDIlib_video_frame_v2_t,
8397            p_audio_data: *mut NDIlib_audio_frame_v3_t,
8398            p_metadata: *mut NDIlib_metadata_frame_t,
8399            timeout_in_ms: u32,
8400        ) -> NDIlib_frame_type_e,
8401    >,
8402    pub NDIlib_recv_capture_v3: ::std::option::Option<
8403        unsafe extern "C" fn(
8404            p_instance: NDIlib_recv_instance_t,
8405            p_video_data: *mut NDIlib_video_frame_v2_t,
8406            p_audio_data: *mut NDIlib_audio_frame_v3_t,
8407            p_metadata: *mut NDIlib_metadata_frame_t,
8408            timeout_in_ms: u32,
8409        ) -> NDIlib_frame_type_e,
8410    >,
8411}
8412#[test]
8413fn bindgen_test_layout_NDIlib_v5__bindgen_ty_102() {
8414    assert_eq!(
8415        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_102>(),
8416        8usize,
8417        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_102))
8418    );
8419    assert_eq!(
8420        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_102>(),
8421        8usize,
8422        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_102))
8423    );
8424    assert_eq!(
8425        unsafe {
8426            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_102>())).recv_capture_v3 as *const _
8427                as usize
8428        },
8429        0usize,
8430        concat!(
8431            "Offset of field: ",
8432            stringify!(NDIlib_v5__bindgen_ty_102),
8433            "::",
8434            stringify!(recv_capture_v3)
8435        )
8436    );
8437    assert_eq!(
8438        unsafe {
8439            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_102>())).NDIlib_recv_capture_v3 as *const _
8440                as usize
8441        },
8442        0usize,
8443        concat!(
8444            "Offset of field: ",
8445            stringify!(NDIlib_v5__bindgen_ty_102),
8446            "::",
8447            stringify!(NDIlib_recv_capture_v3)
8448        )
8449    );
8450}
8451#[repr(C)]
8452#[derive(Copy, Clone)]
8453pub union NDIlib_v5__bindgen_ty_103 {
8454    pub recv_free_audio_v3: ::std::option::Option<
8455        unsafe extern "C" fn(
8456            p_instance: NDIlib_recv_instance_t,
8457            p_audio_data: *const NDIlib_audio_frame_v3_t,
8458        ),
8459    >,
8460    pub NDIlib_recv_free_audio_v3: ::std::option::Option<
8461        unsafe extern "C" fn(
8462            p_instance: NDIlib_recv_instance_t,
8463            p_audio_data: *const NDIlib_audio_frame_v3_t,
8464        ),
8465    >,
8466}
8467#[test]
8468fn bindgen_test_layout_NDIlib_v5__bindgen_ty_103() {
8469    assert_eq!(
8470        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_103>(),
8471        8usize,
8472        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_103))
8473    );
8474    assert_eq!(
8475        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_103>(),
8476        8usize,
8477        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_103))
8478    );
8479    assert_eq!(
8480        unsafe {
8481            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_103>())).recv_free_audio_v3 as *const _
8482                as usize
8483        },
8484        0usize,
8485        concat!(
8486            "Offset of field: ",
8487            stringify!(NDIlib_v5__bindgen_ty_103),
8488            "::",
8489            stringify!(recv_free_audio_v3)
8490        )
8491    );
8492    assert_eq!(
8493        unsafe {
8494            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_103>())).NDIlib_recv_free_audio_v3
8495                as *const _ as usize
8496        },
8497        0usize,
8498        concat!(
8499            "Offset of field: ",
8500            stringify!(NDIlib_v5__bindgen_ty_103),
8501            "::",
8502            stringify!(NDIlib_recv_free_audio_v3)
8503        )
8504    );
8505}
8506#[repr(C)]
8507#[derive(Copy, Clone)]
8508pub union NDIlib_v5__bindgen_ty_104 {
8509    pub framesync_capture_audio_v2: ::std::option::Option<
8510        unsafe extern "C" fn(
8511            p_instance: NDIlib_framesync_instance_t,
8512            p_audio_data: *mut NDIlib_audio_frame_v3_t,
8513            sample_rate: ::std::os::raw::c_int,
8514            no_channels: ::std::os::raw::c_int,
8515            no_samples: ::std::os::raw::c_int,
8516        ),
8517    >,
8518    pub NDIlib_framesync_capture_audio_v2: ::std::option::Option<
8519        unsafe extern "C" fn(
8520            p_instance: NDIlib_framesync_instance_t,
8521            p_audio_data: *mut NDIlib_audio_frame_v3_t,
8522            sample_rate: ::std::os::raw::c_int,
8523            no_channels: ::std::os::raw::c_int,
8524            no_samples: ::std::os::raw::c_int,
8525        ),
8526    >,
8527}
8528#[test]
8529fn bindgen_test_layout_NDIlib_v5__bindgen_ty_104() {
8530    assert_eq!(
8531        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_104>(),
8532        8usize,
8533        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_104))
8534    );
8535    assert_eq!(
8536        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_104>(),
8537        8usize,
8538        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_104))
8539    );
8540    assert_eq!(
8541        unsafe {
8542            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_104>())).framesync_capture_audio_v2
8543                as *const _ as usize
8544        },
8545        0usize,
8546        concat!(
8547            "Offset of field: ",
8548            stringify!(NDIlib_v5__bindgen_ty_104),
8549            "::",
8550            stringify!(framesync_capture_audio_v2)
8551        )
8552    );
8553    assert_eq!(
8554        unsafe {
8555            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_104>())).NDIlib_framesync_capture_audio_v2
8556                as *const _ as usize
8557        },
8558        0usize,
8559        concat!(
8560            "Offset of field: ",
8561            stringify!(NDIlib_v5__bindgen_ty_104),
8562            "::",
8563            stringify!(NDIlib_framesync_capture_audio_v2)
8564        )
8565    );
8566}
8567#[repr(C)]
8568#[derive(Copy, Clone)]
8569pub union NDIlib_v5__bindgen_ty_105 {
8570    pub framesync_free_audio_v2: ::std::option::Option<
8571        unsafe extern "C" fn(
8572            p_instance: NDIlib_framesync_instance_t,
8573            p_audio_data: *mut NDIlib_audio_frame_v3_t,
8574        ),
8575    >,
8576    pub NDIlib_framesync_free_audio_v2: ::std::option::Option<
8577        unsafe extern "C" fn(
8578            p_instance: NDIlib_framesync_instance_t,
8579            p_audio_data: *mut NDIlib_audio_frame_v3_t,
8580        ),
8581    >,
8582}
8583#[test]
8584fn bindgen_test_layout_NDIlib_v5__bindgen_ty_105() {
8585    assert_eq!(
8586        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_105>(),
8587        8usize,
8588        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_105))
8589    );
8590    assert_eq!(
8591        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_105>(),
8592        8usize,
8593        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_105))
8594    );
8595    assert_eq!(
8596        unsafe {
8597            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_105>())).framesync_free_audio_v2
8598                as *const _ as usize
8599        },
8600        0usize,
8601        concat!(
8602            "Offset of field: ",
8603            stringify!(NDIlib_v5__bindgen_ty_105),
8604            "::",
8605            stringify!(framesync_free_audio_v2)
8606        )
8607    );
8608    assert_eq!(
8609        unsafe {
8610            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_105>())).NDIlib_framesync_free_audio_v2
8611                as *const _ as usize
8612        },
8613        0usize,
8614        concat!(
8615            "Offset of field: ",
8616            stringify!(NDIlib_v5__bindgen_ty_105),
8617            "::",
8618            stringify!(NDIlib_framesync_free_audio_v2)
8619        )
8620    );
8621}
8622#[repr(C)]
8623#[derive(Copy, Clone)]
8624pub union NDIlib_v5__bindgen_ty_106 {
8625    pub framesync_audio_queue_depth: ::std::option::Option<
8626        unsafe extern "C" fn(p_instance: NDIlib_framesync_instance_t) -> ::std::os::raw::c_int,
8627    >,
8628    pub NDIlib_framesync_audio_queue_depth: ::std::option::Option<
8629        unsafe extern "C" fn(p_instance: NDIlib_framesync_instance_t) -> ::std::os::raw::c_int,
8630    >,
8631}
8632#[test]
8633fn bindgen_test_layout_NDIlib_v5__bindgen_ty_106() {
8634    assert_eq!(
8635        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_106>(),
8636        8usize,
8637        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_106))
8638    );
8639    assert_eq!(
8640        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_106>(),
8641        8usize,
8642        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_106))
8643    );
8644    assert_eq!(
8645        unsafe {
8646            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_106>())).framesync_audio_queue_depth
8647                as *const _ as usize
8648        },
8649        0usize,
8650        concat!(
8651            "Offset of field: ",
8652            stringify!(NDIlib_v5__bindgen_ty_106),
8653            "::",
8654            stringify!(framesync_audio_queue_depth)
8655        )
8656    );
8657    assert_eq!(
8658        unsafe {
8659            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_106>())).NDIlib_framesync_audio_queue_depth
8660                as *const _ as usize
8661        },
8662        0usize,
8663        concat!(
8664            "Offset of field: ",
8665            stringify!(NDIlib_v5__bindgen_ty_106),
8666            "::",
8667            stringify!(NDIlib_framesync_audio_queue_depth)
8668        )
8669    );
8670}
8671#[repr(C)]
8672#[derive(Copy, Clone)]
8673pub union NDIlib_v5__bindgen_ty_107 {
8674    pub recv_ptz_exposure_manual_v2: ::std::option::Option<
8675        unsafe extern "C" fn(
8676            p_instance: NDIlib_framesync_instance_t,
8677            iris: f32,
8678            gain: f32,
8679            shutter_speed: f32,
8680        ) -> bool,
8681    >,
8682    pub NDIlib_recv_ptz_exposure_manual_v2: ::std::option::Option<
8683        unsafe extern "C" fn(
8684            p_instance: NDIlib_framesync_instance_t,
8685            iris: f32,
8686            gain: f32,
8687            shutter_speed: f32,
8688        ) -> bool,
8689    >,
8690}
8691#[test]
8692fn bindgen_test_layout_NDIlib_v5__bindgen_ty_107() {
8693    assert_eq!(
8694        ::std::mem::size_of::<NDIlib_v5__bindgen_ty_107>(),
8695        8usize,
8696        concat!("Size of: ", stringify!(NDIlib_v5__bindgen_ty_107))
8697    );
8698    assert_eq!(
8699        ::std::mem::align_of::<NDIlib_v5__bindgen_ty_107>(),
8700        8usize,
8701        concat!("Alignment of ", stringify!(NDIlib_v5__bindgen_ty_107))
8702    );
8703    assert_eq!(
8704        unsafe {
8705            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_107>())).recv_ptz_exposure_manual_v2
8706                as *const _ as usize
8707        },
8708        0usize,
8709        concat!(
8710            "Offset of field: ",
8711            stringify!(NDIlib_v5__bindgen_ty_107),
8712            "::",
8713            stringify!(recv_ptz_exposure_manual_v2)
8714        )
8715    );
8716    assert_eq!(
8717        unsafe {
8718            &(*(::std::ptr::null::<NDIlib_v5__bindgen_ty_107>())).NDIlib_recv_ptz_exposure_manual_v2
8719                as *const _ as usize
8720        },
8721        0usize,
8722        concat!(
8723            "Offset of field: ",
8724            stringify!(NDIlib_v5__bindgen_ty_107),
8725            "::",
8726            stringify!(NDIlib_recv_ptz_exposure_manual_v2)
8727        )
8728    );
8729}
8730#[test]
8731fn bindgen_test_layout_NDIlib_v5() {
8732    assert_eq!(
8733        ::std::mem::size_of::<NDIlib_v5>(),
8734        856usize,
8735        concat!("Size of: ", stringify!(NDIlib_v5))
8736    );
8737    assert_eq!(
8738        ::std::mem::align_of::<NDIlib_v5>(),
8739        8usize,
8740        concat!("Alignment of ", stringify!(NDIlib_v5))
8741    );
8742}
8743pub type NDIlib_v4_5 = NDIlib_v5;
8744pub type NDIlib_v4 = NDIlib_v5;
8745pub type NDIlib_v3 = NDIlib_v5;
8746pub type NDIlib_v2 = NDIlib_v5;
8747extern "C" {
8748    pub fn NDIlib_v5_load() -> *const NDIlib_v5;
8749}
8750extern "C" {
8751    pub fn NDIlib_v4_5_load() -> *const NDIlib_v4_5;
8752}
8753extern "C" {
8754    pub fn NDIlib_v4_load() -> *const NDIlib_v4;
8755}
8756extern "C" {
8757    pub fn NDIlib_v3_load() -> *const NDIlib_v3;
8758}
8759extern "C" {
8760    pub fn NDIlib_v2_load() -> *const NDIlib_v2;
8761}
8762pub type __builtin_va_list = [__va_list_tag; 1usize];
8763#[repr(C)]
8764#[derive(Debug, Copy, Clone)]
8765pub struct __va_list_tag {
8766    pub gp_offset: ::std::os::raw::c_uint,
8767    pub fp_offset: ::std::os::raw::c_uint,
8768    pub overflow_arg_area: *mut ::std::os::raw::c_void,
8769    pub reg_save_area: *mut ::std::os::raw::c_void,
8770}
8771#[test]
8772fn bindgen_test_layout___va_list_tag() {
8773    assert_eq!(
8774        ::std::mem::size_of::<__va_list_tag>(),
8775        24usize,
8776        concat!("Size of: ", stringify!(__va_list_tag))
8777    );
8778    assert_eq!(
8779        ::std::mem::align_of::<__va_list_tag>(),
8780        8usize,
8781        concat!("Alignment of ", stringify!(__va_list_tag))
8782    );
8783    assert_eq!(
8784        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
8785        0usize,
8786        concat!(
8787            "Offset of field: ",
8788            stringify!(__va_list_tag),
8789            "::",
8790            stringify!(gp_offset)
8791        )
8792    );
8793    assert_eq!(
8794        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
8795        4usize,
8796        concat!(
8797            "Offset of field: ",
8798            stringify!(__va_list_tag),
8799            "::",
8800            stringify!(fp_offset)
8801        )
8802    );
8803    assert_eq!(
8804        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
8805        8usize,
8806        concat!(
8807            "Offset of field: ",
8808            stringify!(__va_list_tag),
8809            "::",
8810            stringify!(overflow_arg_area)
8811        )
8812    );
8813    assert_eq!(
8814        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
8815        16usize,
8816        concat!(
8817            "Offset of field: ",
8818            stringify!(__va_list_tag),
8819            "::",
8820            stringify!(reg_save_area)
8821        )
8822    );
8823}