Skip to content

Commit d60c09a

Browse files
committed
changes.. now trying rustfmt route
1 parent 8c8c4fd commit d60c09a

11 files changed

+2
-137
lines changed

cached_bindings/R_ext/BLAS-Darwin-4.6.rs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -819,31 +819,3 @@ unsafe extern "C" {
819819
arg1: usize,
820820
);
821821
}
822-
4: usize,
823-
);
824-
pub fn ztrsv_(
825-
uplo: *const ::std::os::raw::c_char,
826-
trans: *const ::std::os::raw::c_char,
827-
diag: *const ::std::os::raw::c_char,
828-
n: *const ::std::os::raw::c_int,
829-
a: *const Rcomplex,
830-
lda: *const ::std::os::raw::c_int,
831-
x: *mut Rcomplex,
832-
incx: *const ::std::os::raw::c_int,
833-
arg1: usize,
834-
arg2: usize,
835-
arg3: usize,
836-
);
837-
pub fn zspmv_(
838-
uplo: *const ::std::os::raw::c_char,
839-
n: *const ::std::os::raw::c_int,
840-
alpha: *const Rcomplex,
841-
ap: *const Rcomplex,
842-
x: *const Rcomplex,
843-
incx: *const ::std::os::raw::c_int,
844-
beta: *const Rcomplex,
845-
y: *mut Rcomplex,
846-
incy: *const ::std::os::raw::c_int,
847-
arg1: usize,
848-
);
849-
}

cached_bindings/R_ext/Connections-Darwin-4.6.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,3 @@ unsafe extern "C" {
111111
-> usize;
112112
pub fn R_GetConnection(sConn: SEXP) -> Rconnection;
113113
}
114-
:std::os::raw::c_void, n: usize)
115-
-> usize;
116-
pub fn R_GetConnection(sConn: SEXP) -> Rconnection;
117-
}

cached_bindings/R_ext/Constants-Darwin-4.6.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@
66
/* R version: 4.6.0 */
77

88

9-
*/
10-
11-

cached_bindings/R_ext/Error-Darwin-4.6.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ unsafe extern "C" {
1212
pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...);
1313
pub fn R_ShowMessage(s: *const ::std::os::raw::c_char);
1414
}
15-
:c_char);
16-
}

cached_bindings/R_ext/GetX11Image-Darwin-4.6.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@ unsafe extern "C" {
1414
pheight: *mut ::std::os::raw::c_int,
1515
) -> Rboolean;
1616
}
17-
> Rboolean;
18-
}

cached_bindings/R_ext/GraphicsDevice-Darwin-4.6.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,11 +351,3 @@ unsafe extern "C" {
351351
#[doc = " Translates Unicode point to UTF-8"]
352352
pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize;
353353
}
354-
aw::c_char) -> *const ::std::os::raw::c_char;
355-
pub fn Rf_utf8ToLatin1AdobeSymbol2utf8(
356-
in_: *const ::std::os::raw::c_char,
357-
usePUA: Rboolean,
358-
) -> *const ::std::os::raw::c_char;
359-
#[doc = " Translates Unicode point to UTF-8"]
360-
pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize;
361-
}

cached_bindings/R_ext/GraphicsEngine-Darwin-4.6.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -533,19 +533,3 @@ unsafe extern "C" {
533533
dd: pGEDevDesc,
534534
);
535535
}
536-
) -> *const ::std::os::raw::c_char;
537-
pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64;
538-
pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int;
539-
pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char;
540-
pub fn GEGlyph(
541-
n: ::std::os::raw::c_int,
542-
glyphs: *mut ::std::os::raw::c_int,
543-
x: *mut f64,
544-
y: *mut f64,
545-
font: SEXP,
546-
size: f64,
547-
colour: ::std::os::raw::c_int,
548-
rot: f64,
549-
dd: pGEDevDesc,
550-
);
551-
}

cached_bindings/R_ext/Itermacros-Darwin-4.6.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
/* R version: 4.6.0 */
77

88
pub const GET_REGION_BUFSIZE: u32 = 512;
9-
= 512;

cached_bindings/R_ext/Lapack-Darwin-4.6.rs

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -2388,79 +2388,6 @@ unsafe extern "C" {
23882388
arg1: usize,
23892389
arg2: usize,
23902390
);
2391-
pub fn dtgsja_(
2392-
jobu: *const ::std::os::raw::c_char,
2393-
jobv: *const ::std::os::raw::c_char,
2394-
nrhs: *const ::std::os::raw::c_int,
2395-
ab: *const f64,
2396-
ldab: *const ::std::os::raw::c_int,
2397-
b: *const f64,
2398-
ldb: *const ::std::os::raw::c_int,
2399-
x: *mut f64,
2400-
ldx: *const ::std::os::raw::c_int,
2401-
ferr: *mut f64,
2402-
berr: *mut f64,
2403-
work: *mut f64,
2404-
iwork: *mut ::std::os::raw::c_int,
2405-
info: *mut ::std::os::raw::c_int,
2406-
arg1: usize,
2407-
arg2: usize,
2408-
arg3: usize,
2409-
);
2410-
pub fn dtbtrs_(
2411-
uplo: *const ::std::os::raw::c_char,
2412-
trans: *const ::std::os::raw::c_char,
2413-
diag: *const ::std::os::raw::c_char,
2414-
n: *const ::std::os::raw::c_int,
2415-
kd: *const ::std::os::raw::c_int,
2416-
nrhs: *const ::std::os::raw::c_int,
2417-
ab: *const f64,
2418-
ldab: *const ::std::os::raw::c_int,
2419-
b: *mut f64,
2420-
ldb: *const ::std::os::raw::c_int,
2421-
info: *mut ::std::os::raw::c_int,
2422-
arg1: usize,
2423-
arg2: usize,
2424-
arg3: usize,
2425-
);
2426-
pub fn dtfsm_(
2427-
transr: *const ::std::os::raw::c_char,
2428-
side: *const ::std::os::raw::c_char,
2429-
uplo: *const ::std::os::raw::c_char,
2430-
trans: *const ::std::os::raw::c_char,
2431-
diag: *const ::std::os::raw::c_char,
2432-
m: *const ::std::os::raw::c_int,
2433-
n: *const ::std::os::raw::c_int,
2434-
alpha: *const f64,
2435-
a: *const f64,
2436-
b: *mut f64,
2437-
ldb: *const ::std::os::raw::c_int,
2438-
arg1: usize,
2439-
arg2: usize,
2440-
arg3: usize,
2441-
arg4: usize,
2442-
arg5: usize,
2443-
);
2444-
pub fn dtgevc_(
2445-
side: *const ::std::os::raw::c_char,
2446-
howmny: *const ::std::os::raw::c_char,
2447-
select: *const ::std::os::raw::c_int,
2448-
n: *const ::std::os::raw::c_int,
2449-
a: *const f64,
2450-
lda: *const ::std::os::raw::c_int,
2451-
b: *const f64,
2452-
ldb: *const ::std::os::raw::c_int,
2453-
vl: *mut f64,
2454-
ldvl: *const ::std::os::raw::c_int,
2455-
vr: *mut f64,
2456-
ldvr: *const ::std::os::raw::c_int,
2457-
mm: *const ::std::os::raw::c_int,
2458-
m: *mut ::std::os::raw::c_int,
2459-
work: *mut f64,
2460-
info: *mut ::std::os::raw::c_int,
2461-
arg1: usize,
2462-
arg2: usize,
2463-
);
24642391
pub fn dtgsja_(
24652392
jobu: *const ::std::os::raw::c_char,
24662393
jobv: *const ::std::os::raw::c_char,

src/Makevars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ BINDGEN_ARGS = \
7373
--builtins \
7474
--allowlist-item "CGContextRef|CGContext" \
7575
--sort-semantically --translate-enum-integer-types --merge-extern-blocks \
76+
--rustfmt-configuration-file $(CURDIR)/rustfmt.toml \
7677
--no-recursive-allowlist --rustified-non-exhaustive-enum=".*" \
7778
$(R_BLOCKED_ITEMS)
7879

0 commit comments

Comments
 (0)