Skip to content

Commit

Permalink
Update bindings [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa committed Apr 11, 2023
1 parent f7fe8d6 commit 03369d3
Show file tree
Hide file tree
Showing 14 changed files with 148 additions and 121 deletions.
16 changes: 10 additions & 6 deletions bindings/bindings-linux-aarch64-R4.1.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.1.3 */
/* automatically generated by rust-bindgen 0.64.0 */

pub const M_E: f64 = 2.718281828459045;
Expand Down Expand Up @@ -962,9 +965,6 @@ pub struct SEXPREC {
_unused: [u8; 0],
}
pub type SEXP = *mut SEXPREC;
extern "C" {
pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char;
}
extern "C" {
#[doc = "Various tests with macro versions in the second USE_RINTERNALS section"]
pub fn Rf_isNull(s: SEXP) -> Rboolean;
Expand Down Expand Up @@ -1617,9 +1617,6 @@ extern "C" {
extern "C" {
pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int);
}
extern "C" {
pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int);
}
Expand Down Expand Up @@ -1657,6 +1654,10 @@ extern "C" {
#[doc = "Unbound marker"]
pub static mut R_UnboundValue: SEXP;
}
extern "C" {
#[doc = "Missing argument marker"]
pub static mut R_MissingArg: SEXP;
}
extern "C" {
#[doc = "To be found in BC interp. state\n(marker)"]
pub static mut R_InBCInterpreter: SEXP;
Expand Down Expand Up @@ -5982,6 +5983,9 @@ extern "C" {
extern "C" {
pub fn Rf_doIdle(dd: pDevDesc);
}
extern "C" {
pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean;
}
extern "C" {
pub static mut R_interrupts_suspended: Rboolean;
}
Expand Down
23 changes: 19 additions & 4 deletions bindings/bindings-linux-aarch64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.2.3 */
/* automatically generated by rust-bindgen 0.64.0 */

#[repr(C)]
Expand Down Expand Up @@ -212,7 +215,6 @@ pub const R_GE_compositeColorDodge: u32 = 20;
pub const R_GE_compositeColorBurn: u32 = 21;
pub const R_GE_compositeHardLight: u32 = 22;
pub const R_GE_compositeSoftLight: u32 = 23;
pub const R_GE_compositeDifference: u32 = 24;
pub const R_GE_compositeExclusion: u32 = 25;
pub const R_GE_nonZeroWindingRule: u32 = 1;
pub const R_GE_evenOddRule: u32 = 2;
Expand Down Expand Up @@ -666,6 +668,9 @@ fn bindgen_test_layout_Rcomplex() {
)
);
}
extern "C" {
pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !;
}
extern "C" {
pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !;
}
Expand Down Expand Up @@ -5840,9 +5845,6 @@ extern "C" {
y: f64,
);
}
extern "C" {
pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn Rf_doIdle(dd: pDevDesc);
}
Expand Down Expand Up @@ -7612,6 +7614,19 @@ extern "C" {
nREPORT: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn samin(
n: ::std::os::raw::c_int,
pb: *mut f64,
yb: *mut f64,
fn_: optimfn,
maxit: ::std::os::raw::c_int,
tmax: ::std::os::raw::c_int,
ti: f64,
trace: ::std::os::raw::c_int,
ex: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn dqrqty_(
x: *mut f64,
Expand Down
14 changes: 5 additions & 9 deletions bindings/bindings-linux-aarch64-R4.4-devel.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.4.0-devel */
/* automatically generated by rust-bindgen 0.64.0 */

#[repr(C)]
Expand Down Expand Up @@ -93,6 +96,7 @@ pub const M_LN2: f64 = 0.6931471805599453;
pub const M_LN10: f64 = 2.302585092994046;
pub const M_PI: f64 = 3.141592653589793;
pub const M_PI_2: f64 = 1.5707963267948966;
pub const M_PI_4: f64 = 0.7853981633974483;
pub const M_1_PI: f64 = 0.3183098861837907;
pub const M_2_PI: f64 = 0.6366197723675814;
pub const M_2_SQRTPI: f64 = 1.1283791670955126;
Expand Down Expand Up @@ -143,6 +147,7 @@ pub const IDENT_USE_SRCREF: u32 = 32;
pub const IDENT_EXTPTR_AS_REF: u32 = 64;
pub const HT_TYPE_IDENTICAL: u32 = 0;
pub const HT_TYPE_ADDRESS: u32 = 1;
pub const RSTART_VERSION: u32 = 1;
pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1;
pub const R_VERSION_STRING: &[u8; 6usize] = b"4.4.0\0";
pub const HAVE_EXPM1: u32 = 1;
Expand Down Expand Up @@ -1979,9 +1984,6 @@ extern "C" {
extern "C" {
pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP;
}
extern "C" {
pub fn Rf_unprotect_ptr(arg1: SEXP);
}
extern "C" {
pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP;
}
Expand Down Expand Up @@ -2807,12 +2809,6 @@ extern "C" {
extern "C" {
pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn Rf_stringPositionTr(
arg1: SEXP,
arg2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP;
}
Expand Down
29 changes: 7 additions & 22 deletions bindings/bindings-linux-x86_64-R4.1.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.1.3 */
/* automatically generated by rust-bindgen 0.64.0 */

pub const M_E: f64 = 2.718281828459045;
Expand Down Expand Up @@ -1874,9 +1877,6 @@ extern "C" {
extern "C" {
pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn Rf_asReal(x: SEXP) -> f64;
}
extern "C" {
pub fn Rf_asComplex(x: SEXP) -> Rcomplex;
}
Expand Down Expand Up @@ -2822,25 +2822,6 @@ fn bindgen_test_layout_R_inpstream_st() {
)
);
}
extern "C" {
pub fn R_InitInPStream(
stream: R_inpstream_t,
data: R_pstream_data_t,
type_: R_pstream_format_t,
inchar: ::std::option::Option<
unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int,
>,
inbytes: ::std::option::Option<
unsafe extern "C" fn(
arg1: R_inpstream_t,
arg2: *mut ::std::os::raw::c_void,
arg3: ::std::os::raw::c_int,
),
>,
phook: ::std::option::Option<unsafe extern "C" fn(arg1: SEXP, arg2: SEXP) -> SEXP>,
pdata: SEXP,
);
}
extern "C" {
pub fn R_InitOutPStream(
stream: R_outpstream_t,
Expand Down Expand Up @@ -2968,6 +2949,10 @@ extern "C" {
extern "C" {
pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = "R_compute_identical: C version of identical() function\nThe third arg to R_compute_identical() consists of bitmapped flags for non-default options:\ncurrently the first 4 default to TRUE, so the flag is set for FALSE values:\n1 = !NUM_EQ\n2 = !SINGLE_NA\n4 = !ATTR_AS_SET\n8 = !IGNORE_BYTECODE\n16 = !IGNORE_ENV\nDefault from R's default: 16"]
pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean;
}
extern "C" {
pub fn R_body_no_src(x: SEXP) -> SEXP;
}
Expand Down
23 changes: 17 additions & 6 deletions bindings/bindings-linux-x86_64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.2.3 */
/* automatically generated by rust-bindgen 0.64.0 */

#[repr(C)]
Expand Down Expand Up @@ -1264,6 +1267,9 @@ extern "C" {
extern "C" {
pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int;
}
Expand Down Expand Up @@ -2534,9 +2540,6 @@ extern "C" {
extern "C" {
pub fn R_has_methods_attached() -> Rboolean;
}
extern "C" {
pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean;
}
extern "C" {
pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean;
}
Expand Down Expand Up @@ -3998,9 +4001,6 @@ extern "C" {
extern "C" {
pub fn Rf_digamma(arg1: f64) -> f64;
}
extern "C" {
pub fn Rf_trigamma(arg1: f64) -> f64;
}
extern "C" {
pub fn Rf_tetragamma(arg1: f64) -> f64;
}
Expand Down Expand Up @@ -6841,6 +6841,17 @@ extern "C" {
incx: *const ::std::os::raw::c_int,
);
}
extern "C" {
pub fn dtpsv_(
uplo: *const ::std::os::raw::c_char,
trans: *const ::std::os::raw::c_char,
diag: *const ::std::os::raw::c_char,
n: *const ::std::os::raw::c_int,
ap: *const f64,
x: *mut f64,
incx: *const ::std::os::raw::c_int,
);
}
extern "C" {
pub fn dtrsv_(
uplo: *const ::std::os::raw::c_char,
Expand Down
28 changes: 9 additions & 19 deletions bindings/bindings-linux-x86_64-R4.4-devel.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */
/* r version: 4.4.0-devel */
/* automatically generated by rust-bindgen 0.64.0 */

#[repr(C)]
Expand Down Expand Up @@ -1856,6 +1859,9 @@ extern "C" {
extern "C" {
pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP;
}
Expand Down Expand Up @@ -2105,6 +2111,9 @@ extern "C" {
extern "C" {
pub fn R_WeakRefValue(w: SEXP) -> SEXP;
}
extern "C" {
pub fn R_RunWeakRefFinalizer(w: SEXP);
}
extern "C" {
pub fn R_PromiseExpr(arg1: SEXP) -> SEXP;
}
Expand Down Expand Up @@ -3938,15 +3947,6 @@ extern "C" {
extern "C" {
pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn Rf_pnt(
arg1: f64,
arg2: f64,
arg3: f64,
arg4: ::std::os::raw::c_int,
arg5: ::std::os::raw::c_int,
) -> f64;
}
extern "C" {
pub fn Rf_qnt(
arg1: f64,
Expand Down Expand Up @@ -6372,16 +6372,6 @@ extern "C" {
extern "C" {
pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int);
}
extern "C" {
pub fn GEMetricInfo(
c: ::std::os::raw::c_int,
gc: pGEcontext,
ascent: *mut f64,
descent: *mut f64,
width: *mut f64,
dd: pGEDevDesc,
);
}
extern "C" {
pub fn GEStrWidth(
str_: *const ::std::os::raw::c_char,
Expand Down
17 changes: 10 additions & 7 deletions bindings/bindings-macos-aarch64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* bindgen clang version: Homebrew clang version 16.0.0 */
/* clang-rs version: Homebrew clang version 16.0.0 */
/* r version: 4.2.3 */
/* automatically generated by rust-bindgen 0.64.0 */

#[repr(C)]
Expand Down Expand Up @@ -205,7 +208,6 @@ pub const R_GE_compositeAdd: u32 = 13;
pub const R_GE_compositeSaturate: u32 = 14;
pub const R_GE_compositeMultiply: u32 = 15;
pub const R_GE_compositeScreen: u32 = 16;
pub const R_GE_compositeOverlay: u32 = 17;
pub const R_GE_compositeDarken: u32 = 18;
pub const R_GE_compositeLighten: u32 = 19;
pub const R_GE_compositeColorDodge: u32 = 20;
Expand Down Expand Up @@ -1444,6 +1446,10 @@ extern "C" {
#[doc = "\"[\""]
pub static mut R_BracketSymbol: SEXP;
}
extern "C" {
#[doc = "\"class\""]
pub static mut R_ClassSymbol: SEXP;
}
extern "C" {
#[doc = "\".Device\""]
pub static mut R_DeviceSymbol: SEXP;
Expand Down Expand Up @@ -2503,12 +2509,6 @@ extern "C" {
rho: SEXP,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn R_check_class_etc(
x: SEXP,
valid: *mut *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = "preserve objects across GCs"]
pub fn R_PreserveObject(arg1: SEXP);
Expand Down Expand Up @@ -2905,6 +2905,9 @@ extern "C" {
extern "C" {
pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP;
}
extern "C" {
pub fn R_maphashC(
h: R_hashtab_type,
Expand Down
Loading

0 comments on commit 03369d3

Please sign in to comment.