File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 99# preserve no_std, it is truncated to `c_char` and gets taken from `libc`.
1010bindgen --whitelist-function=' ^.*_$' --use-core bin/wrapper.h \
1111 | sed -e ' s/::std::os::raw:://g' \
12+ | sed -e ' /__darwin_size_t/d' \
1213 > src/lapack.rs
1314
1415rustfmt src/lapack.rs
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ pub struct __BindgenComplex<T> {
66 pub re : T ,
77 pub im : T ,
88}
9- pub type __darwin_size_t = c_ulong ;
10- pub type size_t = __darwin_size_t ;
119pub type lapack_float_return = f32 ;
1210pub type LAPACK_S_SELECT2 =
1311 :: core:: option:: Option < unsafe extern "C" fn ( arg1 : * const f32 , arg2 : * const f32 ) -> c_int > ;
Original file line number Diff line number Diff line change 1010
1111extern crate libc;
1212
13- use libc:: { c_char, c_int, c_ulong } ;
13+ use libc:: { c_char, c_int, size_t } ;
1414
1515/// A complex number with 64-bit parts.
1616pub type c_double_complex = __BindgenComplex < f64 > ;
You can’t perform that action at this time.
0 commit comments