summaryrefslogtreecommitdiff
path: root/src/bindings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings.rs')
-rw-r--r--src/bindings.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bindings.rs b/src/bindings.rs
index 515caf0..6a5a03f 100644
--- a/src/bindings.rs
+++ b/src/bindings.rs
@@ -31,10 +31,11 @@ impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
}
}
-pub type UChar = ::std::os::raw::c_uchar;
-pub type UShort = ::std::os::raw::c_ushort;
-pub type UInt = ::std::os::raw::c_uint;
-pub type ULong = ::std::os::raw::c_ulong;
+pub type CUchar = ::std::os::raw::c_uchar;
+pub type CUShort = ::std::os::raw::c_ushort;
+pub type CUInt = ::std::os::raw::c_uint;
+pub type CULong = ::std::os::raw::c_ulong;
+pub type CLongLong = ::std::os::raw::c_longlong;
extern "C" {
pub fn ntohl(__netlong: u32) -> u32;
@@ -79,7 +80,7 @@ fn bindgen_test_layout_maat_hit_path() {
concat!("Alignment of ", stringify!(maat_hit_path))
);
assert_eq!(
- unsafe { ::std::ptr::addr_of!((*ptr).Nth_scan) as usize - ptr as usize },
+ unsafe { ::std::ptr::addr_of!((*ptr).nth_scan) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
@@ -683,4 +684,4 @@ extern "C" {
instance: *mut maat,
group: *mut maat_hit_group,
) -> ::std::os::raw::c_int;
-} \ No newline at end of file
+}