1
2
3
/* automatically generated by rust-bindgen */

pub const BUILTIN_ENABLED : u32 = 1 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct word_desc { pub word : * mut :: std :: os :: raw :: c_char , pub flags : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_word_desc ( ) { assert_eq ! ( :: std :: mem :: size_of :: < word_desc > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( word_desc ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < word_desc > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( word_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < word_desc > ( ) ) ) . word as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( word_desc ) , "::" , stringify ! ( word ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < word_desc > ( ) ) ) . flags as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( word_desc ) , "::" , stringify ! ( flags ) ) ) ; } pub type WORD_DESC = word_desc ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct word_list { pub next : * mut word_list , pub word : * mut WORD_DESC , } # [ test ] fn bindgen_test_layout_word_list ( ) { assert_eq ! ( :: std :: mem :: size_of :: < word_list > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( word_list ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < word_list > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( word_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < word_list > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( word_list ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < word_list > ( ) ) ) . word as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( word_list ) , "::" , stringify ! ( word ) ) ) ; } pub type WORD_LIST = word_list ; pub type sh_builtin_func_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WORD_LIST ) -> :: std :: os :: raw :: c_int > ;