| 1 | /* automatically generated by rust-bindgen 0.70.1 */ |
| 2 | |
| 3 | #![allow(dead_code, non_camel_case_types, non_snake_case)] |
| 4 | |
| 5 | pub const __BITS_PER_LONG: u32 = 64; |
| 6 | pub const __FD_SETSIZE: u32 = 1024; |
| 7 | pub const PPS_VERSION: &[u8; 6] = b"5.3.6\0"; |
| 8 | pub const PPS_MAX_SOURCES: u32 = 16; |
| 9 | pub const PPS_API_VERS_1: u32 = 1; |
| 10 | pub const PPS_API_VERS: u32 = 1; |
| 11 | pub const PPS_MAX_NAME_LEN: u32 = 32; |
| 12 | pub const PPS_TIME_INVALID: u32 = 1; |
| 13 | pub const PPS_CAPTUREASSERT: u32 = 1; |
| 14 | pub const PPS_CAPTURECLEAR: u32 = 2; |
| 15 | pub const PPS_CAPTUREBOTH: u32 = 3; |
| 16 | pub const PPS_OFFSETASSERT: u32 = 16; |
| 17 | pub const PPS_OFFSETCLEAR: u32 = 32; |
| 18 | pub const PPS_CANWAIT: u32 = 256; |
| 19 | pub const PPS_CANPOLL: u32 = 512; |
| 20 | pub const PPS_ECHOASSERT: u32 = 64; |
| 21 | pub const PPS_ECHOCLEAR: u32 = 128; |
| 22 | pub const PPS_TSFMT_TSPEC: u32 = 4096; |
| 23 | pub const PPS_TSFMT_NTPFP: u32 = 8192; |
| 24 | pub const PPS_KC_HARDPPS: u32 = 0; |
| 25 | pub const PPS_KC_HARDPPS_PLL: u32 = 1; |
| 26 | pub const PPS_KC_HARDPPS_FLL: u32 = 2; |
| 27 | pub const _IOC_NRBITS: u32 = 8; |
| 28 | pub const _IOC_TYPEBITS: u32 = 8; |
| 29 | pub const _IOC_SIZEBITS: u32 = 14; |
| 30 | pub const _IOC_DIRBITS: u32 = 2; |
| 31 | pub const _IOC_NRMASK: u32 = 255; |
| 32 | pub const _IOC_TYPEMASK: u32 = 255; |
| 33 | pub const _IOC_SIZEMASK: u32 = 16383; |
| 34 | pub const _IOC_DIRMASK: u32 = 3; |
| 35 | pub const _IOC_NRSHIFT: u32 = 0; |
| 36 | pub const _IOC_TYPESHIFT: u32 = 8; |
| 37 | pub const _IOC_SIZESHIFT: u32 = 16; |
| 38 | pub const _IOC_DIRSHIFT: u32 = 30; |
| 39 | pub const _IOC_NONE: u32 = 0; |
| 40 | pub const _IOC_WRITE: u32 = 1; |
| 41 | pub const _IOC_READ: u32 = 2; |
| 42 | pub const IOC_IN: u32 = 1073741824; |
| 43 | pub const IOC_OUT: u32 = 2147483648; |
| 44 | pub const IOC_INOUT: u32 = 3221225472; |
| 45 | pub const IOCSIZE_MASK: u32 = 1073676288; |
| 46 | pub const IOCSIZE_SHIFT: u32 = 16; |
| 47 | pub type __s8 = ::std::os::raw::c_schar; |
| 48 | pub type __u8 = ::std::os::raw::c_uchar; |
| 49 | pub type __s16 = ::std::os::raw::c_short; |
| 50 | pub type __u16 = ::std::os::raw::c_ushort; |
| 51 | pub type __s32 = ::std::os::raw::c_int; |
| 52 | pub type __u32 = ::std::os::raw::c_uint; |
| 53 | pub type __s64 = ::std::os::raw::c_longlong; |
| 54 | pub type __u64 = ::std::os::raw::c_ulonglong; |
| 55 | #[repr(C)] |
| 56 | #[derive(Debug, Default, Copy, Clone)] |
| 57 | pub struct __kernel_fd_set { |
| 58 | pub fds_bits: [::std::os::raw::c_ulong; 16usize], |
| 59 | } |
| 60 | #[test] |
| 61 | fn bindgen_test_layout___kernel_fd_set() { |
| 62 | const UNINIT: ::std::mem::MaybeUninit<__kernel_fd_set> = ::std::mem::MaybeUninit::uninit(); |
| 63 | let ptr = UNINIT.as_ptr(); |
| 64 | assert_eq!( |
| 65 | ::std::mem::size_of::<__kernel_fd_set>(), |
| 66 | 128usize, |
| 67 | "Size of __kernel_fd_set" |
| 68 | ); |
| 69 | assert_eq!( |
| 70 | ::std::mem::align_of::<__kernel_fd_set>(), |
| 71 | 8usize, |
| 72 | "Alignment of __kernel_fd_set" |
| 73 | ); |
| 74 | assert_eq!( |
| 75 | unsafe { ::std::ptr::addr_of!((*ptr).fds_bits) as usize - ptr as usize }, |
| 76 | 0usize, |
| 77 | "Offset of field: __kernel_fd_set::fds_bits" |
| 78 | ); |
| 79 | } |
| 80 | pub type __kernel_sighandler_t = |
| 81 | ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>; |
| 82 | pub type __kernel_key_t = ::std::os::raw::c_int; |
| 83 | pub type __kernel_mqd_t = ::std::os::raw::c_int; |
| 84 | pub type __kernel_old_uid_t = ::std::os::raw::c_ushort; |
| 85 | pub type __kernel_old_gid_t = ::std::os::raw::c_ushort; |
| 86 | pub type __kernel_old_dev_t = ::std::os::raw::c_ulong; |
| 87 | pub type __kernel_long_t = ::std::os::raw::c_long; |
| 88 | pub type __kernel_ulong_t = ::std::os::raw::c_ulong; |
| 89 | pub type __kernel_ino_t = __kernel_ulong_t; |
| 90 | pub type __kernel_mode_t = ::std::os::raw::c_uint; |
| 91 | pub type __kernel_pid_t = ::std::os::raw::c_int; |
| 92 | pub type __kernel_ipc_pid_t = ::std::os::raw::c_int; |
| 93 | pub type __kernel_uid_t = ::std::os::raw::c_uint; |
| 94 | pub type __kernel_gid_t = ::std::os::raw::c_uint; |
| 95 | pub type __kernel_suseconds_t = __kernel_long_t; |
| 96 | pub type __kernel_daddr_t = ::std::os::raw::c_int; |
| 97 | pub type __kernel_uid32_t = ::std::os::raw::c_uint; |
| 98 | pub type __kernel_gid32_t = ::std::os::raw::c_uint; |
| 99 | pub type __kernel_size_t = __kernel_ulong_t; |
| 100 | pub type __kernel_ssize_t = __kernel_long_t; |
| 101 | pub type __kernel_ptrdiff_t = __kernel_long_t; |
| 102 | #[repr(C)] |
| 103 | #[derive(Debug, Default, Copy, Clone)] |
| 104 | pub struct __kernel_fsid_t { |
| 105 | pub val: [::std::os::raw::c_int; 2usize], |
| 106 | } |
| 107 | #[test] |
| 108 | fn bindgen_test_layout___kernel_fsid_t() { |
| 109 | const UNINIT: ::std::mem::MaybeUninit<__kernel_fsid_t> = ::std::mem::MaybeUninit::uninit(); |
| 110 | let ptr = UNINIT.as_ptr(); |
| 111 | assert_eq!( |
| 112 | ::std::mem::size_of::<__kernel_fsid_t>(), |
| 113 | 8usize, |
| 114 | "Size of __kernel_fsid_t" |
| 115 | ); |
| 116 | assert_eq!( |
| 117 | ::std::mem::align_of::<__kernel_fsid_t>(), |
| 118 | 4usize, |
| 119 | "Alignment of __kernel_fsid_t" |
| 120 | ); |
| 121 | assert_eq!( |
| 122 | unsafe { ::std::ptr::addr_of!((*ptr).val) as usize - ptr as usize }, |
| 123 | 0usize, |
| 124 | "Offset of field: __kernel_fsid_t::val" |
| 125 | ); |
| 126 | } |
| 127 | pub type __kernel_off_t = __kernel_long_t; |
| 128 | pub type __kernel_loff_t = ::std::os::raw::c_longlong; |
| 129 | pub type __kernel_old_time_t = __kernel_long_t; |
| 130 | pub type __kernel_time_t = __kernel_long_t; |
| 131 | pub type __kernel_time64_t = ::std::os::raw::c_longlong; |
| 132 | pub type __kernel_clock_t = __kernel_long_t; |
| 133 | pub type __kernel_timer_t = ::std::os::raw::c_int; |
| 134 | pub type __kernel_clockid_t = ::std::os::raw::c_int; |
| 135 | pub type __kernel_caddr_t = *mut ::std::os::raw::c_char; |
| 136 | pub type __kernel_uid16_t = ::std::os::raw::c_ushort; |
| 137 | pub type __kernel_gid16_t = ::std::os::raw::c_ushort; |
| 138 | pub type __le16 = __u16; |
| 139 | pub type __be16 = __u16; |
| 140 | pub type __le32 = __u32; |
| 141 | pub type __be32 = __u32; |
| 142 | pub type __le64 = __u64; |
| 143 | pub type __be64 = __u64; |
| 144 | pub type __sum16 = __u16; |
| 145 | pub type __wsum = __u32; |
| 146 | pub type __poll_t = ::std::os::raw::c_uint; |
| 147 | #[repr(C)] |
| 148 | #[derive(Debug, Default, Copy, Clone)] |
| 149 | pub struct pps_ktime { |
| 150 | pub sec: __s64, |
| 151 | pub nsec: __s32, |
| 152 | pub flags: __u32, |
| 153 | } |
| 154 | #[test] |
| 155 | fn bindgen_test_layout_pps_ktime() { |
| 156 | const UNINIT: ::std::mem::MaybeUninit<pps_ktime> = ::std::mem::MaybeUninit::uninit(); |
| 157 | let ptr = UNINIT.as_ptr(); |
| 158 | assert_eq!( |
| 159 | ::std::mem::size_of::<pps_ktime>(), |
| 160 | 16usize, |
| 161 | "Size of pps_ktime" |
| 162 | ); |
| 163 | assert_eq!( |
| 164 | ::std::mem::align_of::<pps_ktime>(), |
| 165 | 8usize, |
| 166 | "Alignment of pps_ktime" |
| 167 | ); |
| 168 | assert_eq!( |
| 169 | unsafe { ::std::ptr::addr_of!((*ptr).sec) as usize - ptr as usize }, |
| 170 | 0usize, |
| 171 | "Offset of field: pps_ktime::sec" |
| 172 | ); |
| 173 | assert_eq!( |
| 174 | unsafe { ::std::ptr::addr_of!((*ptr).nsec) as usize - ptr as usize }, |
| 175 | 8usize, |
| 176 | "Offset of field: pps_ktime::nsec" |
| 177 | ); |
| 178 | assert_eq!( |
| 179 | unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 180 | 12usize, |
| 181 | "Offset of field: pps_ktime::flags" |
| 182 | ); |
| 183 | } |
| 184 | #[repr(C, packed(4))] |
| 185 | #[derive(Debug, Default, Copy, Clone)] |
| 186 | pub struct pps_ktime_compat { |
| 187 | pub sec: __s64, |
| 188 | pub nsec: __s32, |
| 189 | pub flags: __u32, |
| 190 | } |
| 191 | #[test] |
| 192 | fn bindgen_test_layout_pps_ktime_compat() { |
| 193 | const UNINIT: ::std::mem::MaybeUninit<pps_ktime_compat> = ::std::mem::MaybeUninit::uninit(); |
| 194 | let ptr = UNINIT.as_ptr(); |
| 195 | assert_eq!( |
| 196 | ::std::mem::size_of::<pps_ktime_compat>(), |
| 197 | 16usize, |
| 198 | "Size of pps_ktime_compat" |
| 199 | ); |
| 200 | assert_eq!( |
| 201 | ::std::mem::align_of::<pps_ktime_compat>(), |
| 202 | 4usize, |
| 203 | "Alignment of pps_ktime_compat" |
| 204 | ); |
| 205 | assert_eq!( |
| 206 | unsafe { ::std::ptr::addr_of!((*ptr).sec) as usize - ptr as usize }, |
| 207 | 0usize, |
| 208 | "Offset of field: pps_ktime_compat::sec" |
| 209 | ); |
| 210 | assert_eq!( |
| 211 | unsafe { ::std::ptr::addr_of!((*ptr).nsec) as usize - ptr as usize }, |
| 212 | 8usize, |
| 213 | "Offset of field: pps_ktime_compat::nsec" |
| 214 | ); |
| 215 | assert_eq!( |
| 216 | unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, |
| 217 | 12usize, |
| 218 | "Offset of field: pps_ktime_compat::flags" |
| 219 | ); |
| 220 | } |
| 221 | #[repr(C)] |
| 222 | #[derive(Debug, Default, Copy, Clone)] |
| 223 | pub struct pps_kinfo { |
| 224 | pub assert_sequence: __u32, |
| 225 | pub clear_sequence: __u32, |
| 226 | pub assert_tu: pps_ktime, |
| 227 | pub clear_tu: pps_ktime, |
| 228 | pub current_mode: ::std::os::raw::c_int, |
| 229 | } |
| 230 | #[test] |
| 231 | fn bindgen_test_layout_pps_kinfo() { |
| 232 | const UNINIT: ::std::mem::MaybeUninit<pps_kinfo> = ::std::mem::MaybeUninit::uninit(); |
| 233 | let ptr = UNINIT.as_ptr(); |
| 234 | assert_eq!( |
| 235 | ::std::mem::size_of::<pps_kinfo>(), |
| 236 | 48usize, |
| 237 | "Size of pps_kinfo" |
| 238 | ); |
| 239 | assert_eq!( |
| 240 | ::std::mem::align_of::<pps_kinfo>(), |
| 241 | 8usize, |
| 242 | "Alignment of pps_kinfo" |
| 243 | ); |
| 244 | assert_eq!( |
| 245 | unsafe { ::std::ptr::addr_of!((*ptr).assert_sequence) as usize - ptr as usize }, |
| 246 | 0usize, |
| 247 | "Offset of field: pps_kinfo::assert_sequence" |
| 248 | ); |
| 249 | assert_eq!( |
| 250 | unsafe { ::std::ptr::addr_of!((*ptr).clear_sequence) as usize - ptr as usize }, |
| 251 | 4usize, |
| 252 | "Offset of field: pps_kinfo::clear_sequence" |
| 253 | ); |
| 254 | assert_eq!( |
| 255 | unsafe { ::std::ptr::addr_of!((*ptr).assert_tu) as usize - ptr as usize }, |
| 256 | 8usize, |
| 257 | "Offset of field: pps_kinfo::assert_tu" |
| 258 | ); |
| 259 | assert_eq!( |
| 260 | unsafe { ::std::ptr::addr_of!((*ptr).clear_tu) as usize - ptr as usize }, |
| 261 | 24usize, |
| 262 | "Offset of field: pps_kinfo::clear_tu" |
| 263 | ); |
| 264 | assert_eq!( |
| 265 | unsafe { ::std::ptr::addr_of!((*ptr).current_mode) as usize - ptr as usize }, |
| 266 | 40usize, |
| 267 | "Offset of field: pps_kinfo::current_mode" |
| 268 | ); |
| 269 | } |
| 270 | #[repr(C)] |
| 271 | #[derive(Debug, Default, Copy, Clone)] |
| 272 | pub struct pps_kinfo_compat { |
| 273 | pub assert_sequence: __u32, |
| 274 | pub clear_sequence: __u32, |
| 275 | pub assert_tu: pps_ktime_compat, |
| 276 | pub clear_tu: pps_ktime_compat, |
| 277 | pub current_mode: ::std::os::raw::c_int, |
| 278 | } |
| 279 | #[test] |
| 280 | fn bindgen_test_layout_pps_kinfo_compat() { |
| 281 | const UNINIT: ::std::mem::MaybeUninit<pps_kinfo_compat> = ::std::mem::MaybeUninit::uninit(); |
| 282 | let ptr = UNINIT.as_ptr(); |
| 283 | assert_eq!( |
| 284 | ::std::mem::size_of::<pps_kinfo_compat>(), |
| 285 | 44usize, |
| 286 | "Size of pps_kinfo_compat" |
| 287 | ); |
| 288 | assert_eq!( |
| 289 | ::std::mem::align_of::<pps_kinfo_compat>(), |
| 290 | 4usize, |
| 291 | "Alignment of pps_kinfo_compat" |
| 292 | ); |
| 293 | assert_eq!( |
| 294 | unsafe { ::std::ptr::addr_of!((*ptr).assert_sequence) as usize - ptr as usize }, |
| 295 | 0usize, |
| 296 | "Offset of field: pps_kinfo_compat::assert_sequence" |
| 297 | ); |
| 298 | assert_eq!( |
| 299 | unsafe { ::std::ptr::addr_of!((*ptr).clear_sequence) as usize - ptr as usize }, |
| 300 | 4usize, |
| 301 | "Offset of field: pps_kinfo_compat::clear_sequence" |
| 302 | ); |
| 303 | assert_eq!( |
| 304 | unsafe { ::std::ptr::addr_of!((*ptr).assert_tu) as usize - ptr as usize }, |
| 305 | 8usize, |
| 306 | "Offset of field: pps_kinfo_compat::assert_tu" |
| 307 | ); |
| 308 | assert_eq!( |
| 309 | unsafe { ::std::ptr::addr_of!((*ptr).clear_tu) as usize - ptr as usize }, |
| 310 | 24usize, |
| 311 | "Offset of field: pps_kinfo_compat::clear_tu" |
| 312 | ); |
| 313 | assert_eq!( |
| 314 | unsafe { ::std::ptr::addr_of!((*ptr).current_mode) as usize - ptr as usize }, |
| 315 | 40usize, |
| 316 | "Offset of field: pps_kinfo_compat::current_mode" |
| 317 | ); |
| 318 | } |
| 319 | #[repr(C)] |
| 320 | #[derive(Debug, Default, Copy, Clone)] |
| 321 | pub struct pps_kparams { |
| 322 | pub api_version: ::std::os::raw::c_int, |
| 323 | pub mode: ::std::os::raw::c_int, |
| 324 | pub assert_off_tu: pps_ktime, |
| 325 | pub clear_off_tu: pps_ktime, |
| 326 | } |
| 327 | #[test] |
| 328 | fn bindgen_test_layout_pps_kparams() { |
| 329 | const UNINIT: ::std::mem::MaybeUninit<pps_kparams> = ::std::mem::MaybeUninit::uninit(); |
| 330 | let ptr = UNINIT.as_ptr(); |
| 331 | assert_eq!( |
| 332 | ::std::mem::size_of::<pps_kparams>(), |
| 333 | 40usize, |
| 334 | "Size of pps_kparams" |
| 335 | ); |
| 336 | assert_eq!( |
| 337 | ::std::mem::align_of::<pps_kparams>(), |
| 338 | 8usize, |
| 339 | "Alignment of pps_kparams" |
| 340 | ); |
| 341 | assert_eq!( |
| 342 | unsafe { ::std::ptr::addr_of!((*ptr).api_version) as usize - ptr as usize }, |
| 343 | 0usize, |
| 344 | "Offset of field: pps_kparams::api_version" |
| 345 | ); |
| 346 | assert_eq!( |
| 347 | unsafe { ::std::ptr::addr_of!((*ptr).mode) as usize - ptr as usize }, |
| 348 | 4usize, |
| 349 | "Offset of field: pps_kparams::mode" |
| 350 | ); |
| 351 | assert_eq!( |
| 352 | unsafe { ::std::ptr::addr_of!((*ptr).assert_off_tu) as usize - ptr as usize }, |
| 353 | 8usize, |
| 354 | "Offset of field: pps_kparams::assert_off_tu" |
| 355 | ); |
| 356 | assert_eq!( |
| 357 | unsafe { ::std::ptr::addr_of!((*ptr).clear_off_tu) as usize - ptr as usize }, |
| 358 | 24usize, |
| 359 | "Offset of field: pps_kparams::clear_off_tu" |
| 360 | ); |
| 361 | } |
| 362 | #[repr(C)] |
| 363 | #[derive(Debug, Default, Copy, Clone)] |
| 364 | pub struct pps_fdata { |
| 365 | pub info: pps_kinfo, |
| 366 | pub timeout: pps_ktime, |
| 367 | } |
| 368 | #[test] |
| 369 | fn bindgen_test_layout_pps_fdata() { |
| 370 | const UNINIT: ::std::mem::MaybeUninit<pps_fdata> = ::std::mem::MaybeUninit::uninit(); |
| 371 | let ptr = UNINIT.as_ptr(); |
| 372 | assert_eq!( |
| 373 | ::std::mem::size_of::<pps_fdata>(), |
| 374 | 64usize, |
| 375 | "Size of pps_fdata" |
| 376 | ); |
| 377 | assert_eq!( |
| 378 | ::std::mem::align_of::<pps_fdata>(), |
| 379 | 8usize, |
| 380 | "Alignment of pps_fdata" |
| 381 | ); |
| 382 | assert_eq!( |
| 383 | unsafe { ::std::ptr::addr_of!((*ptr).info) as usize - ptr as usize }, |
| 384 | 0usize, |
| 385 | "Offset of field: pps_fdata::info" |
| 386 | ); |
| 387 | assert_eq!( |
| 388 | unsafe { ::std::ptr::addr_of!((*ptr).timeout) as usize - ptr as usize }, |
| 389 | 48usize, |
| 390 | "Offset of field: pps_fdata::timeout" |
| 391 | ); |
| 392 | } |
| 393 | #[repr(C)] |
| 394 | #[derive(Debug, Default, Copy, Clone)] |
| 395 | pub struct pps_fdata_compat { |
| 396 | pub info: pps_kinfo_compat, |
| 397 | pub timeout: pps_ktime_compat, |
| 398 | } |
| 399 | #[test] |
| 400 | fn bindgen_test_layout_pps_fdata_compat() { |
| 401 | const UNINIT: ::std::mem::MaybeUninit<pps_fdata_compat> = ::std::mem::MaybeUninit::uninit(); |
| 402 | let ptr = UNINIT.as_ptr(); |
| 403 | assert_eq!( |
| 404 | ::std::mem::size_of::<pps_fdata_compat>(), |
| 405 | 60usize, |
| 406 | "Size of pps_fdata_compat" |
| 407 | ); |
| 408 | assert_eq!( |
| 409 | ::std::mem::align_of::<pps_fdata_compat>(), |
| 410 | 4usize, |
| 411 | "Alignment of pps_fdata_compat" |
| 412 | ); |
| 413 | assert_eq!( |
| 414 | unsafe { ::std::ptr::addr_of!((*ptr).info) as usize - ptr as usize }, |
| 415 | 0usize, |
| 416 | "Offset of field: pps_fdata_compat::info" |
| 417 | ); |
| 418 | assert_eq!( |
| 419 | unsafe { ::std::ptr::addr_of!((*ptr).timeout) as usize - ptr as usize }, |
| 420 | 44usize, |
| 421 | "Offset of field: pps_fdata_compat::timeout" |
| 422 | ); |
| 423 | } |
| 424 | #[repr(C)] |
| 425 | #[derive(Debug, Default, Copy, Clone)] |
| 426 | pub struct pps_bind_args { |
| 427 | pub tsformat: ::std::os::raw::c_int, |
| 428 | pub edge: ::std::os::raw::c_int, |
| 429 | pub consumer: ::std::os::raw::c_int, |
| 430 | } |
| 431 | #[test] |
| 432 | fn bindgen_test_layout_pps_bind_args() { |
| 433 | const UNINIT: ::std::mem::MaybeUninit<pps_bind_args> = ::std::mem::MaybeUninit::uninit(); |
| 434 | let ptr = UNINIT.as_ptr(); |
| 435 | assert_eq!( |
| 436 | ::std::mem::size_of::<pps_bind_args>(), |
| 437 | 12usize, |
| 438 | "Size of pps_bind_args" |
| 439 | ); |
| 440 | assert_eq!( |
| 441 | ::std::mem::align_of::<pps_bind_args>(), |
| 442 | 4usize, |
| 443 | "Alignment of pps_bind_args" |
| 444 | ); |
| 445 | assert_eq!( |
| 446 | unsafe { ::std::ptr::addr_of!((*ptr).tsformat) as usize - ptr as usize }, |
| 447 | 0usize, |
| 448 | "Offset of field: pps_bind_args::tsformat" |
| 449 | ); |
| 450 | assert_eq!( |
| 451 | unsafe { ::std::ptr::addr_of!((*ptr).edge) as usize - ptr as usize }, |
| 452 | 4usize, |
| 453 | "Offset of field: pps_bind_args::edge" |
| 454 | ); |
| 455 | assert_eq!( |
| 456 | unsafe { ::std::ptr::addr_of!((*ptr).consumer) as usize - ptr as usize }, |
| 457 | 8usize, |
| 458 | "Offset of field: pps_bind_args::consumer" |
| 459 | ); |
| 460 | } |