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 20, 2024
1 parent 25fd1ee commit 5e95620
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 48 deletions.
4 changes: 2 additions & 2 deletions bindings/bindings-linux-aarch64-R4.4-devel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ pub const R_MINOR: &[u8; 4] = b"4.0\0";
pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0";
pub const R_YEAR: &[u8; 5] = b"2023\0";
pub const R_MONTH: &[u8; 3] = b"11\0";
pub const R_DAY: &[u8; 3] = b"11\0";
pub const R_SVN_REVISION: u32 = 85510;
pub const R_DAY: &[u8; 3] = b"10\0";
pub const R_SVN_REVISION: u32 = 85507;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down
4 changes: 2 additions & 2 deletions bindings/bindings-linux-x86_64-R4.4-devel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ pub const R_MINOR: &[u8; 4] = b"4.0\0";
pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0";
pub const R_YEAR: &[u8; 5] = b"2023\0";
pub const R_MONTH: &[u8; 3] = b"11\0";
pub const R_DAY: &[u8; 3] = b"11\0";
pub const R_SVN_REVISION: u32 = 85510;
pub const R_DAY: &[u8; 3] = b"10\0";
pub const R_SVN_REVISION: u32 = 85507;
pub const R_GE_definitions: u32 = 13;
pub const R_GE_deviceClip: u32 = 14;
pub const R_GE_group: u32 = 15;
Expand Down
4 changes: 2 additions & 2 deletions bindings/bindings-macos-aarch64-R4.3.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */

/* libR-sys version: 0.6.0 */
/* bindgen clang version: Homebrew clang version 17.0.3 */
/* clang-rs version: Homebrew clang version 17.0.3 */
/* bindgen clang version: Homebrew clang version 17.0.2 */
/* clang-rs version: Homebrew clang version 17.0.2 */
/* r version: 4.3.2 */

#[repr(C)]
Expand Down
98 changes: 56 additions & 42 deletions bindings/bindings-macos-x86_64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */

/* libR-sys version: 0.6.0 */
/* bindgen clang version: Homebrew clang version 17.0.3 */
/* clang-rs version: Homebrew clang version 17.0.3 */
/* bindgen clang version: Homebrew clang version 16.0.6 */
/* clang-rs version: Homebrew clang version 16.0.6 */
/* r version: 4.2.3 */

#[repr(C)]
Expand Down Expand Up @@ -2021,7 +2021,6 @@ extern "C" {
pub fn unif_rand() -> f64;
pub fn R_unif_index(arg1: f64) -> f64;
pub fn exp_rand() -> f64;
#[doc = "Normal Distribution"]
pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pnorm5(
arg1: f64,
Expand All @@ -2045,7 +2044,6 @@ extern "C" {
arg4: ::std::os::raw::c_int,
arg5: ::std::os::raw::c_int,
);
#[doc = "Uniform Distribution"]
pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_punif(
arg1: f64,
Expand All @@ -2062,7 +2060,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_runif(arg1: f64, arg2: f64) -> f64;
#[doc = "Gamma Distribution"]
pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pgamma(
arg1: f64,
Expand All @@ -2083,11 +2080,9 @@ extern "C" {
pub fn Rf_log1pexp(arg1: f64) -> f64;
pub fn Rf_log1mexp(arg1: f64) -> f64;
pub fn Rf_lgamma1p(arg1: f64) -> f64;
#[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"]
pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64;
pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64;
pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64;
#[doc = "Beta Distribution"]
pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pbeta(
arg1: f64,
Expand All @@ -2104,7 +2099,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64;
#[doc = "Lognormal Distribution"]
pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_plnorm(
arg1: f64,
Expand All @@ -2121,7 +2115,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64;
#[doc = "Chi-squared Distribution"]
pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64;
pub fn Rf_pchisq(
arg1: f64,
Expand All @@ -2136,7 +2129,6 @@ extern "C" {
arg4: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rchisq(arg1: f64) -> f64;
#[doc = "Non-central Chi-squared Distribution"]
pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pnchisq(
arg1: f64,
Expand All @@ -2153,7 +2145,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64;
#[doc = "F Distibution"]
pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pf(
arg1: f64,
Expand All @@ -2170,7 +2161,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rf(arg1: f64, arg2: f64) -> f64;
#[doc = "Student t Distibution"]
pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64;
pub fn Rf_pt(
arg1: f64,
Expand All @@ -2185,7 +2175,6 @@ extern "C" {
arg4: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rt(arg1: f64) -> f64;
#[doc = "Binomial Distribution"]
pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64;
pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pbinom(
Expand All @@ -2203,14 +2192,12 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64;
#[doc = "Multinomial Distribution"]
pub fn Rf_rmultinom(
arg1: ::std::os::raw::c_int,
arg2: *mut f64,
arg3: ::std::os::raw::c_int,
arg4: *mut ::std::os::raw::c_int,
);
#[doc = "Cauchy Distribution"]
pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pcauchy(
arg1: f64,
Expand All @@ -2227,7 +2214,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64;
#[doc = "Exponential Distribution"]
pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64;
pub fn Rf_pexp(
arg1: f64,
Expand All @@ -2242,7 +2228,6 @@ extern "C" {
arg4: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rexp(arg1: f64) -> f64;
#[doc = "Geometric Distribution"]
pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64;
pub fn Rf_pgeom(
arg1: f64,
Expand All @@ -2257,7 +2242,6 @@ extern "C" {
arg4: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rgeom(arg1: f64) -> f64;
#[doc = "Hypergeometric Distibution"]
pub fn Rf_dhyper(
arg1: f64,
arg2: f64,
Expand All @@ -2282,7 +2266,6 @@ extern "C" {
arg6: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64;
#[doc = "Negative Binomial Distribution"]
pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pnbinom(
arg1: f64,
Expand Down Expand Up @@ -2315,7 +2298,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64;
#[doc = "Poisson Distribution"]
pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64;
pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64;
pub fn Rf_ppois(
Expand All @@ -2331,7 +2313,6 @@ extern "C" {
arg4: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rpois(arg1: f64) -> f64;
#[doc = "Weibull Distribution"]
pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pweibull(
arg1: f64,
Expand All @@ -2348,7 +2329,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64;
#[doc = "Logistic Distribution"]
pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_plogis(
arg1: f64,
Expand All @@ -2365,7 +2345,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64;
#[doc = "Non-central Beta Distribution"]
pub fn Rf_dnbeta(
arg1: f64,
arg2: f64,
Expand All @@ -2390,7 +2369,6 @@ extern "C" {
arg6: ::std::os::raw::c_int,
) -> f64;
pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64;
#[doc = "Non-central F Distribution"]
pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64;
pub fn Rf_pnf(
arg1: f64,
Expand All @@ -2408,7 +2386,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
arg6: ::std::os::raw::c_int,
) -> f64;
#[doc = "Non-central Student t Distribution"]
pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pnt(
arg1: f64,
Expand All @@ -2424,7 +2401,6 @@ extern "C" {
arg4: ::std::os::raw::c_int,
arg5: ::std::os::raw::c_int,
) -> f64;
#[doc = "Studentized Range Distribution"]
pub fn Rf_ptukey(
arg1: f64,
arg2: f64,
Expand All @@ -2441,7 +2417,6 @@ extern "C" {
arg5: ::std::os::raw::c_int,
arg6: ::std::os::raw::c_int,
) -> f64;
#[doc = "Wilcoxon Rank Sum Distribution"]
pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64;
pub fn Rf_pwilcox(
arg1: f64,
Expand All @@ -2459,7 +2434,6 @@ extern "C" {
) -> f64;
pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64;
pub fn wilcox_free();
#[doc = "Wilcoxon Signed Rank Distribution"]
pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64;
pub fn Rf_psignrank(
arg1: f64,
Expand All @@ -2475,7 +2449,6 @@ extern "C" {
) -> f64;
pub fn Rf_rsignrank(arg1: f64) -> f64;
pub fn signrank_free();
#[doc = "Gamma and Related Functions"]
pub fn Rf_gammafn(arg1: f64) -> f64;
pub fn Rf_lgammafn(arg1: f64) -> f64;
pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64;
Expand All @@ -2497,7 +2470,6 @@ extern "C" {
pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64;
pub fn Rf_choose(arg1: f64, arg2: f64) -> f64;
pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64;
#[doc = "Bessel Functions"]
pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64;
pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64;
pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64;
Expand All @@ -2506,7 +2478,6 @@ extern "C" {
pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64;
pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64;
pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64;
#[doc = "General Support Functions"]
pub fn Rf_imax2(
arg1: ::std::os::raw::c_int,
arg2: ::std::os::raw::c_int,
Expand Down Expand Up @@ -2643,22 +2614,15 @@ extern "C" {
pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t);
pub fn R_GE_getVersion() -> ::std::os::raw::c_int;
pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int);
#[doc = "Properly declared version of devNumber"]
pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int;
#[doc = "How many devices exist ? (>= 1)"]
pub fn Rf_NumDevices() -> ::std::os::raw::c_int;
#[doc = "Check for an available device slot"]
pub fn R_CheckDeviceAvailable();
pub fn R_CheckDeviceAvailableBool() -> Rboolean;
#[doc = "Return the number of the current device."]
pub fn Rf_curDevice() -> ::std::os::raw::c_int;
#[doc = "Return the number of the next device."]
pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
#[doc = "Return the number of the previous device."]
pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
#[doc = "Make the specified device (specified by number) the current device"]
pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
#[doc = "Kill device which is identified by number."]
pub fn Rf_killDevice(arg1: ::std::os::raw::c_int);
pub fn Rf_NoDevices() -> ::std::os::raw::c_int;
pub fn Rf_NewFrameConfirm(arg1: pDevDesc);
Expand All @@ -2675,7 +2639,6 @@ extern "C" {
pub static mut R_interrupts_suspended: Rboolean;
pub static mut R_interrupts_pending: ::std::os::raw::c_int;
pub static mut mbcslocale: Rboolean;
#[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"]
pub fn Rf_AdobeSymbol2utf8(
out: *mut ::std::os::raw::c_char,
in_: *const ::std::os::raw::c_char,
Expand All @@ -2693,7 +2656,6 @@ extern "C" {
) -> *const ::std::os::raw::c_char;
#[doc = "Translates Unicode point to UTF-8"]
pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize;
#[doc = "map DevDesc to enclosing GEDevDesc"]
pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc;
pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int;
pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc;
Expand Down Expand Up @@ -2723,10 +2685,8 @@ extern "C" {
pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64;
pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64;
pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64;
#[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."]
pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor;
pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor;
#[doc = "Convert an internal colour specification to/from a colour name"]
pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char;
#[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."]
pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor;
Expand Down Expand Up @@ -3129,6 +3089,34 @@ extern "C" {
trace: ::std::os::raw::c_int,
ex: *mut ::std::os::raw::c_void,
);
pub fn dqrqty_(
x: *mut f64,
n: *mut ::std::os::raw::c_int,
k: *mut ::std::os::raw::c_int,
qraux: *mut f64,
y: *mut f64,
ny: *mut ::std::os::raw::c_int,
qty: *mut f64,
);
pub fn dqrqy_(
x: *mut f64,
n: *mut ::std::os::raw::c_int,
k: *mut ::std::os::raw::c_int,
qraux: *mut f64,
y: *mut f64,
ny: *mut ::std::os::raw::c_int,
qy: *mut f64,
);
pub fn dqrcf_(
x: *mut f64,
n: *mut ::std::os::raw::c_int,
k: *mut ::std::os::raw::c_int,
qraux: *mut f64,
y: *mut f64,
ny: *mut ::std::os::raw::c_int,
b: *mut f64,
info: *mut ::std::os::raw::c_int,
);
#[doc = "appl/pretty.c: for use in engine.c and util.c"]
pub fn R_pretty(
lo: *mut f64,
Expand Down Expand Up @@ -3170,6 +3158,32 @@ extern "C" {
wrk: *mut f64,
itncnt: *mut ::std::os::raw::c_int,
);
pub fn dqrdc2_(
x: *mut f64,
ldx: *mut ::std::os::raw::c_int,
n: *mut ::std::os::raw::c_int,
p: *mut ::std::os::raw::c_int,
tol: *mut f64,
rank: *mut ::std::os::raw::c_int,
qraux: *mut f64,
pivot: *mut ::std::os::raw::c_int,
work: *mut f64,
);
pub fn dqrls_(
x: *mut f64,
n: *mut ::std::os::raw::c_int,
p: *mut ::std::os::raw::c_int,
y: *mut f64,
ny: *mut ::std::os::raw::c_int,
tol: *mut f64,
b: *mut f64,
rsd: *mut f64,
qty: *mut f64,
k: *mut ::std::os::raw::c_int,
jpvt: *mut ::std::os::raw::c_int,
qraux: *mut f64,
work: *mut f64,
);
pub fn R_sample_kind() -> Sampletype;
pub fn GetRNGstate();
pub fn PutRNGstate();
Expand Down

0 comments on commit 5e95620

Please sign in to comment.