  }
 -#[test]
 -fn bindgen_test_layout_ares_addrttl() {
--    assert_eq!(::std::mem::size_of::<ares_addrttl>() , 8usize);
--    assert_eq!(::std::mem::align_of::<ares_addrttl>() , 4usize);
+-    assert_eq!(::std::mem::size_of::<ares_addrttl>() , 8usize , concat ! (
+-               "Size of: " , stringify ! ( ares_addrttl ) ));
+-    assert_eq! (::std::mem::align_of::<ares_addrttl>() , 4usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_addrttl ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addrttl ) ) . ipaddr as * const _ as
+-                usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addrttl ) , "::" ,
+-                stringify ! ( ipaddr ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addrttl ) ) . ttl as * const _ as
+-                usize } , 4usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addrttl ) , "::" ,
+-                stringify ! ( ttl ) ));
 -}
  impl Clone for ares_addrttl {
      fn clone(&self) -> Self { *self }
  }
-@@ -417,11 +405,6 @@
+@@ -568,23 +405,6 @@
      pub ip6addr: ares_in6_addr,
      pub ttl: ::std::os::raw::c_int,
  }
 -#[test]
 -fn bindgen_test_layout_ares_addr6ttl() {
--    assert_eq!(::std::mem::size_of::<ares_addr6ttl>() , 20usize);
--    assert_eq!(::std::mem::align_of::<ares_addr6ttl>() , 4usize);
+-    assert_eq!(::std::mem::size_of::<ares_addr6ttl>() , 20usize , concat ! (
+-               "Size of: " , stringify ! ( ares_addr6ttl ) ));
+-    assert_eq! (::std::mem::align_of::<ares_addr6ttl>() , 4usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_addr6ttl ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr6ttl ) ) . ip6addr as * const _
+-                as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr6ttl ) , "::"
+-                , stringify ! ( ip6addr ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr6ttl ) ) . ttl as * const _ as
+-                usize } , 16usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr6ttl ) , "::"
+-                , stringify ! ( ttl ) ));
 -}
  impl Clone for ares_addr6ttl {
      fn clone(&self) -> Self { *self }
  }
-@@ -434,11 +417,6 @@
+@@ -597,38 +417,6 @@
      pub weight: ::std::os::raw::c_ushort,
      pub port: ::std::os::raw::c_ushort,
  }
 -#[test]
 -fn bindgen_test_layout_ares_srv_reply() {
--    assert_eq!(::std::mem::size_of::<ares_srv_reply>() , 24usize);
--    assert_eq!(::std::mem::align_of::<ares_srv_reply>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_srv_reply>() , 24usize , concat ! (
+-               "Size of: " , stringify ! ( ares_srv_reply ) ));
+-    assert_eq! (::std::mem::align_of::<ares_srv_reply>() , 8usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_srv_reply ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_srv_reply ) ) . next as * const _ as
+-                usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_srv_reply ) , "::"
+-                , stringify ! ( next ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_srv_reply ) ) . host as * const _ as
+-                usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_srv_reply ) , "::"
+-                , stringify ! ( host ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_srv_reply ) ) . priority as * const
+-                _ as usize } , 16usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_srv_reply ) , "::"
+-                , stringify ! ( priority ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_srv_reply ) ) . weight as * const _
+-                as usize } , 18usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_srv_reply ) , "::"
+-                , stringify ! ( weight ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_srv_reply ) ) . port as * const _ as
+-                usize } , 20usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_srv_reply ) , "::"
+-                , stringify ! ( port ) ));
 -}
  impl Clone for ares_srv_reply {
      fn clone(&self) -> Self { *self }
  }
-@@ -449,11 +427,6 @@
+@@ -639,28 +427,6 @@
      pub host: *mut ::std::os::raw::c_char,
      pub priority: ::std::os::raw::c_ushort,
  }
 -#[test]
 -fn bindgen_test_layout_ares_mx_reply() {
--    assert_eq!(::std::mem::size_of::<ares_mx_reply>() , 24usize);
--    assert_eq!(::std::mem::align_of::<ares_mx_reply>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_mx_reply>() , 24usize , concat ! (
+-               "Size of: " , stringify ! ( ares_mx_reply ) ));
+-    assert_eq! (::std::mem::align_of::<ares_mx_reply>() , 8usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_mx_reply ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_mx_reply ) ) . next as * const _ as
+-                usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_mx_reply ) , "::"
+-                , stringify ! ( next ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_mx_reply ) ) . host as * const _ as
+-                usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_mx_reply ) , "::"
+-                , stringify ! ( host ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_mx_reply ) ) . priority as * const _
+-                as usize } , 16usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_mx_reply ) , "::"
+-                , stringify ! ( priority ) ));
 -}
  impl Clone for ares_mx_reply {
      fn clone(&self) -> Self { *self }
  }
-@@ -464,11 +437,6 @@
+@@ -671,28 +437,6 @@
      pub txt: *mut ::std::os::raw::c_uchar,
      pub length: usize,
  }
 -#[test]
 -fn bindgen_test_layout_ares_txt_reply() {
--    assert_eq!(::std::mem::size_of::<ares_txt_reply>() , 24usize);
--    assert_eq!(::std::mem::align_of::<ares_txt_reply>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_txt_reply>() , 24usize , concat ! (
+-               "Size of: " , stringify ! ( ares_txt_reply ) ));
+-    assert_eq! (::std::mem::align_of::<ares_txt_reply>() , 8usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_txt_reply ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_txt_reply ) ) . next as * const _ as
+-                usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_txt_reply ) , "::"
+-                , stringify ! ( next ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_txt_reply ) ) . txt as * const _ as
+-                usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_txt_reply ) , "::"
+-                , stringify ! ( txt ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_txt_reply ) ) . length as * const _
+-                as usize } , 16usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_txt_reply ) , "::"
+-                , stringify ! ( length ) ));
 -}
  impl Clone for ares_txt_reply {
      fn clone(&self) -> Self { *self }
  }
-@@ -480,11 +448,6 @@
+@@ -704,33 +448,6 @@
      pub length: usize,
      pub record_start: ::std::os::raw::c_uchar,
  }
 -#[test]
 -fn bindgen_test_layout_ares_txt_ext() {
--    assert_eq!(::std::mem::size_of::<ares_txt_ext>() , 32usize);
--    assert_eq!(::std::mem::align_of::<ares_txt_ext>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_txt_ext>() , 32usize , concat ! (
+-               "Size of: " , stringify ! ( ares_txt_ext ) ));
+-    assert_eq! (::std::mem::align_of::<ares_txt_ext>() , 8usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_txt_ext ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_txt_ext ) ) . next as * const _ as
+-                usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_txt_ext ) , "::" ,
+-                stringify ! ( next ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_txt_ext ) ) . txt as * const _ as
+-                usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_txt_ext ) , "::" ,
+-                stringify ! ( txt ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_txt_ext ) ) . length as * const _ as
+-                usize } , 16usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_txt_ext ) , "::" ,
+-                stringify ! ( length ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_txt_ext ) ) . record_start as *
+-                const _ as usize } , 24usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_txt_ext ) , "::" ,
+-                stringify ! ( record_start ) ));
 -}
  impl Clone for ares_txt_ext {
      fn clone(&self) -> Self { *self }
  }
-@@ -499,11 +462,6 @@
+@@ -745,48 +462,6 @@
      pub order: ::std::os::raw::c_ushort,
      pub preference: ::std::os::raw::c_ushort,
  }
 -#[test]
 -fn bindgen_test_layout_ares_naptr_reply() {
--    assert_eq!(::std::mem::size_of::<ares_naptr_reply>() , 48usize);
--    assert_eq!(::std::mem::align_of::<ares_naptr_reply>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_naptr_reply>() , 48usize , concat !
+-               ( "Size of: " , stringify ! ( ares_naptr_reply ) ));
+-    assert_eq! (::std::mem::align_of::<ares_naptr_reply>() , 8usize , concat !
+-                ( "Alignment of " , stringify ! ( ares_naptr_reply ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_naptr_reply ) ) . next as * const _
+-                as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_naptr_reply ) ,
+-                "::" , stringify ! ( next ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_naptr_reply ) ) . flags as * const _
+-                as usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_naptr_reply ) ,
+-                "::" , stringify ! ( flags ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_naptr_reply ) ) . service as * const
+-                _ as usize } , 16usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_naptr_reply ) ,
+-                "::" , stringify ! ( service ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_naptr_reply ) ) . regexp as * const
+-                _ as usize } , 24usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_naptr_reply ) ,
+-                "::" , stringify ! ( regexp ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_naptr_reply ) ) . replacement as *
+-                const _ as usize } , 32usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_naptr_reply ) ,
+-                "::" , stringify ! ( replacement ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_naptr_reply ) ) . order as * const _
+-                as usize } , 40usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_naptr_reply ) ,
+-                "::" , stringify ! ( order ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_naptr_reply ) ) . preference as *
+-                const _ as usize } , 42usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_naptr_reply ) ,
+-                "::" , stringify ! ( preference ) ));
 -}
  impl Clone for ares_naptr_reply {
      fn clone(&self) -> Self { *self }
  }
-@@ -518,11 +476,6 @@
+@@ -801,48 +476,6 @@
      pub expire: ::std::os::raw::c_uint,
      pub minttl: ::std::os::raw::c_uint,
  }
 -#[test]
 -fn bindgen_test_layout_ares_soa_reply() {
--    assert_eq!(::std::mem::size_of::<ares_soa_reply>() , 40usize);
--    assert_eq!(::std::mem::align_of::<ares_soa_reply>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_soa_reply>() , 40usize , concat ! (
+-               "Size of: " , stringify ! ( ares_soa_reply ) ));
+-    assert_eq! (::std::mem::align_of::<ares_soa_reply>() , 8usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_soa_reply ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_soa_reply ) ) . nsname as * const _
+-                as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_soa_reply ) , "::"
+-                , stringify ! ( nsname ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_soa_reply ) ) . hostmaster as *
+-                const _ as usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_soa_reply ) , "::"
+-                , stringify ! ( hostmaster ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_soa_reply ) ) . serial as * const _
+-                as usize } , 16usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_soa_reply ) , "::"
+-                , stringify ! ( serial ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_soa_reply ) ) . refresh as * const _
+-                as usize } , 20usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_soa_reply ) , "::"
+-                , stringify ! ( refresh ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_soa_reply ) ) . retry as * const _
+-                as usize } , 24usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_soa_reply ) , "::"
+-                , stringify ! ( retry ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_soa_reply ) ) . expire as * const _
+-                as usize } , 28usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_soa_reply ) , "::"
+-                , stringify ! ( expire ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_soa_reply ) ) . minttl as * const _
+-                as usize } , 32usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_soa_reply ) , "::"
+-                , stringify ! ( minttl ) ));
 -}
  impl Clone for ares_soa_reply {
      fn clone(&self) -> Self { *self }
  }
-@@ -620,21 +573,9 @@
+@@ -940,53 +573,9 @@
      pub addr6: __BindgenUnionField<ares_in6_addr>,
      pub bindgen_union_field: [u32; 4usize],
  }
 -#[test]
 -fn bindgen_test_layout_ares_addr_node__bindgen_ty_1() {
--    assert_eq!(::std::mem::size_of::<ares_addr_node__bindgen_ty_1>() ,
--               16usize);
--    assert_eq!(::std::mem::align_of::<ares_addr_node__bindgen_ty_1>() ,
--               4usize);
+-    assert_eq!(::std::mem::size_of::<ares_addr_node__bindgen_ty_1>() , 16usize
+-               , concat ! (
+-               "Size of: " , stringify ! ( ares_addr_node__bindgen_ty_1 ) ));
+-    assert_eq! (::std::mem::align_of::<ares_addr_node__bindgen_ty_1>() ,
+-                4usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_addr_node__bindgen_ty_1 )
+-                ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_node__bindgen_ty_1 ) ) . addr4
+-                as * const _ as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! (
+-                ares_addr_node__bindgen_ty_1 ) , "::" , stringify ! ( addr4 )
+-                ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_node__bindgen_ty_1 ) ) . addr6
+-                as * const _ as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! (
+-                ares_addr_node__bindgen_ty_1 ) , "::" , stringify ! ( addr6 )
+-                ));
 -}
  impl Clone for ares_addr_node__bindgen_ty_1 {
      fn clone(&self) -> Self { *self }
  }
 -#[test]
 -fn bindgen_test_layout_ares_addr_node() {
--    assert_eq!(::std::mem::size_of::<ares_addr_node>() , 32usize);
--    assert_eq!(::std::mem::align_of::<ares_addr_node>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_addr_node>() , 32usize , concat ! (
+-               "Size of: " , stringify ! ( ares_addr_node ) ));
+-    assert_eq! (::std::mem::align_of::<ares_addr_node>() , 8usize , concat ! (
+-                "Alignment of " , stringify ! ( ares_addr_node ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_node ) ) . next as * const _ as
+-                usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_node ) , "::"
+-                , stringify ! ( next ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_node ) ) . family as * const _
+-                as usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_node ) , "::"
+-                , stringify ! ( family ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_node ) ) . addr as * const _ as
+-                usize } , 12usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_node ) , "::"
+-                , stringify ! ( addr ) ));
 -}
  impl Clone for ares_addr_node {
      fn clone(&self) -> Self { *self }
  }
-@@ -654,21 +595,9 @@
+@@ -1006,65 +595,9 @@
      pub addr6: __BindgenUnionField<ares_in6_addr>,
      pub bindgen_union_field: [u32; 4usize],
  }
 -#[test]
 -fn bindgen_test_layout_ares_addr_port_node__bindgen_ty_1() {
 -    assert_eq!(::std::mem::size_of::<ares_addr_port_node__bindgen_ty_1>() ,
--               16usize);
--    assert_eq!(::std::mem::align_of::<ares_addr_port_node__bindgen_ty_1>() ,
--               4usize);
+-               16usize , concat ! (
+-               "Size of: " , stringify ! ( ares_addr_port_node__bindgen_ty_1 )
+-               ));
+-    assert_eq! (::std::mem::align_of::<ares_addr_port_node__bindgen_ty_1>() ,
+-                4usize , concat ! (
+-                "Alignment of " , stringify ! (
+-                ares_addr_port_node__bindgen_ty_1 ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_port_node__bindgen_ty_1 ) ) .
+-                addr4 as * const _ as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! (
+-                ares_addr_port_node__bindgen_ty_1 ) , "::" , stringify ! (
+-                addr4 ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_port_node__bindgen_ty_1 ) ) .
+-                addr6 as * const _ as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! (
+-                ares_addr_port_node__bindgen_ty_1 ) , "::" , stringify ! (
+-                addr6 ) ));
 -}
  impl Clone for ares_addr_port_node__bindgen_ty_1 {
      fn clone(&self) -> Self { *self }
  }
 -#[test]
 -fn bindgen_test_layout_ares_addr_port_node() {
--    assert_eq!(::std::mem::size_of::<ares_addr_port_node>() , 40usize);
--    assert_eq!(::std::mem::align_of::<ares_addr_port_node>() , 8usize);
+-    assert_eq!(::std::mem::size_of::<ares_addr_port_node>() , 40usize , concat
+-               ! ( "Size of: " , stringify ! ( ares_addr_port_node ) ));
+-    assert_eq! (::std::mem::align_of::<ares_addr_port_node>() , 8usize ,
+-                concat ! (
+-                "Alignment of " , stringify ! ( ares_addr_port_node ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_port_node ) ) . next as * const
+-                _ as usize } , 0usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_port_node ) ,
+-                "::" , stringify ! ( next ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_port_node ) ) . family as *
+-                const _ as usize } , 8usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_port_node ) ,
+-                "::" , stringify ! ( family ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_port_node ) ) . addr as * const
+-                _ as usize } , 12usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_port_node ) ,
+-                "::" , stringify ! ( addr ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_port_node ) ) . udp_port as *
+-                const _ as usize } , 28usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_port_node ) ,
+-                "::" , stringify ! ( udp_port ) ));
+-    assert_eq! (unsafe {
+-                & ( * ( 0 as * const ares_addr_port_node ) ) . tcp_port as *
+-                const _ as usize } , 32usize , concat ! (
+-                "Alignment of field: " , stringify ! ( ares_addr_port_node ) ,
+-                "::" , stringify ! ( tcp_port ) ));
 -}
  impl Clone for ares_addr_port_node {
      fn clone(&self) -> Self { *self }

--- src/ffi.rs.orig	2017-02-03 19:56:05.033517129 +0000
+++ src/ffi.rs	2017-02-03 19:56:18.937054111 +0000
@@ -1,4 +1,12 @@
 /* automatically generated by rust-bindgen */
+#![allow(non_camel_case_types, non_snake_case)]

 #[repr(C)]
 #[derive(Debug, Copy, Clone)]
 pub struct ares_channeldata([u8; 0]);
@@ -341,40 +257,6 @@
                                                                *mut ::std::os::raw::c_void)
                                           -> ::std::os::raw::c_long>,
 }
-#[test]
-fn bindgen_test_layout_ares_socket_functions() {
-    assert_eq!(::std::mem::size_of::<ares_socket_functions>() , 40usize ,
-               concat ! ( "Size of: " , stringify ! ( ares_socket_functions )
-               ));
-    assert_eq! (::std::mem::align_of::<ares_socket_functions>() , 8usize ,
-                concat ! (
-                "Alignment of " , stringify ! ( ares_socket_functions ) ));
-    assert_eq! (unsafe {
-                & ( * ( 0 as * const ares_socket_functions ) ) . asocket as *
-                const _ as usize } , 0usize , concat ! (
-                "Alignment of field: " , stringify ! ( ares_socket_functions )
-                , "::" , stringify ! ( asocket ) ));
-    assert_eq! (unsafe {
-                & ( * ( 0 as * const ares_socket_functions ) ) . aclose as *
-                const _ as usize } , 8usize , concat ! (
-                "Alignment of field: " , stringify ! ( ares_socket_functions )
-                , "::" , stringify ! ( aclose ) ));
-    assert_eq! (unsafe {
-                & ( * ( 0 as * const ares_socket_functions ) ) . aconnect as *
-                const _ as usize } , 16usize , concat ! (
-                "Alignment of field: " , stringify ! ( ares_socket_functions )
-                , "::" , stringify ! ( aconnect ) ));
-    assert_eq! (unsafe {
-                & ( * ( 0 as * const ares_socket_functions ) ) . arecvfrom as
-                * const _ as usize } , 24usize , concat ! (
-                "Alignment of field: " , stringify ! ( ares_socket_functions )
-                , "::" , stringify ! ( arecvfrom ) ));
-    assert_eq! (unsafe {
-                & ( * ( 0 as * const ares_socket_functions ) ) . asendv as *
-                const _ as usize } , 32usize , concat ! (
-                "Alignment of field: " , stringify ! ( ares_socket_functions )
-                , "::" , stringify ! ( asendv ) ));
-}
 impl Clone for ares_socket_functions {
     fn clone(&self) -> Self { *self }
 }
@@ -502,63 +384,18 @@
     pub _S6_u8: __BindgenUnionField<[::std::os::raw::c_uchar; 16usize]>,
     pub bindgen_union_field: [u8; 16usize],
 }
-#[test]
-fn bindgen_test_layout_ares_in6_addr__bindgen_ty_1() {
-    assert_eq!(::std::mem::size_of::<ares_in6_addr__bindgen_ty_1>() , 16usize
-               , concat ! (
-               "Size of: " , stringify ! ( ares_in6_addr__bindgen_ty_1 ) ));
-    assert_eq! (::std::mem::align_of::<ares_in6_addr__bindgen_ty_1>() , 1usize
-                , concat ! (
-                "Alignment of " , stringify ! ( ares_in6_addr__bindgen_ty_1 )
-                ));
-    assert_eq! (unsafe {
-                & ( * ( 0 as * const ares_in6_addr__bindgen_ty_1 ) ) . _S6_u8
-                as * const _ as usize } , 0usize , concat ! (
-                "Alignment of field: " , stringify ! (
-                ares_in6_addr__bindgen_ty_1 ) , "::" , stringify ! ( _S6_u8 )
-                ));
-}
 impl Clone for ares_in6_addr__bindgen_ty_1 {
     fn clone(&self) -> Self { *self }
 }
-#[test]
-fn bindgen_test_layout_ares_in6_addr() {
-    assert_eq!(::std::mem::size_of::<ares_in6_addr>() , 16usize , concat ! (
-               "Size of: " , stringify ! ( ares_in6_addr ) ));
-    assert_eq! (::std::mem::align_of::<ares_in6_addr>() , 1usize , concat ! (
-                "Alignment of " , stringify ! ( ares_in6_addr ) ));
-    assert_eq! (unsafe {
-                & ( * ( 0 as * const ares_in6_addr ) ) . _S6_un as * const _
-                as usize } , 0usize , concat ! (
-                "Alignment of field: " , stringify ! ( ares_in6_addr ) , "::"
-                , stringify ! ( _S6_un ) ));
-}
 impl Clone for ares_in6_addr {
     fn clone(&self) -> Self { *self }
