diff --git a/CHANGELOG.md b/CHANGELOG.md index bae573f0..9132afee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,14 @@ # Changelog -## libR-sys (unreleased) - -- Exclude "non-API" calls [[#135]](https://github.com/extendr/libR-sys/pull/135) +## libR-sys 0.5.0 + +- Update the default precomputed bindings to R 4.3.0. +- Remove deprecated API `VECTOR_PTR` from bindings. [[#165]](https://github.com/extendr/libR-sys/pull/165) +- Use Rust types such as `u32` and `i16` instead of C types such as `c_uint` and `c_short` for `enum`s. [[#160]](https://github.com/extendr/libR-sys/pull/160) +- Remove mathematical constants (e.g., `M_PI`), which are also provided by Rust's `std` (e.g., `std::f64::consts::PI`). [[#160]](https://github.com/extendr/libR-sys/pull/160) +- Exclude "non-API" calls. [[#135]](https://github.com/extendr/libR-sys/pull/135) +- Refactor version logging in generated bindings. [[#159]](https://github.com/extendr/libR-sys/pull/159) +- Redefine R-devel's `Rcomplex`. [[#156]](https://github.com/extendr/libR-sys/pull/156) ## libR-sys 0.4.0 diff --git a/Cargo.toml b/Cargo.toml index 0d454dc3..c16f4c3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libR-sys" -version = "0.4.0" +version = "0.5.0" authors = [ "andy-thomason ", "Thomas Down", diff --git a/bindings/bindings-linux-aarch64-R4.2.rs b/bindings/bindings-linux-aarch64-R4.2.rs index f04593b3..bb6a00c3 100644 --- a/bindings/bindings-linux-aarch64-R4.2.rs +++ b/bindings/bindings-linux-aarch64-R4.2.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* 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 */ diff --git a/bindings/bindings-linux-aarch64-R4.3.rs b/bindings/bindings-linux-aarch64-R4.3.rs index 6be6accc..141c5320 100644 --- a/bindings/bindings-linux-aarch64-R4.3.rs +++ b/bindings/bindings-linux-aarch64-R4.3.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */ /* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */ /* r version: 4.3.0 */ diff --git a/bindings/bindings-linux-aarch64-R4.4-devel.rs b/bindings/bindings-linux-aarch64-R4.4-devel.rs index 2a41e2a5..631ebb18 100644 --- a/bindings/bindings-linux-aarch64-R4.4-devel.rs +++ b/bindings/bindings-linux-aarch64-R4.4-devel.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* 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 */ @@ -165,8 +165,8 @@ pub const R_MINOR: &[u8; 4usize] = b"4.0\0"; pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5usize] = b"2023\0"; pub const R_MONTH: &[u8; 3usize] = b"05\0"; -pub const R_DAY: &[u8; 3usize] = b"19\0"; -pub const R_SVN_REVISION: u32 = 84451; +pub const R_DAY: &[u8; 3usize] = b"24\0"; +pub const R_SVN_REVISION: u32 = 84463; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; diff --git a/bindings/bindings-linux-x86_64-R4.2.rs b/bindings/bindings-linux-x86_64-R4.2.rs index ffdca0ed..94108d5c 100644 --- a/bindings/bindings-linux-x86_64-R4.2.rs +++ b/bindings/bindings-linux-x86_64-R4.2.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* 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 */ diff --git a/bindings/bindings-linux-x86_64-R4.3.rs b/bindings/bindings-linux-x86_64-R4.3.rs index 9425b531..9eaacb9c 100644 --- a/bindings/bindings-linux-x86_64-R4.3.rs +++ b/bindings/bindings-linux-x86_64-R4.3.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: Ubuntu clang version 14.0.0-1ubuntu1 */ /* clang-rs version: Ubuntu clang version 14.0.0-1ubuntu1 */ /* r version: 4.3.0 */ diff --git a/bindings/bindings-linux-x86_64-R4.4-devel.rs b/bindings/bindings-linux-x86_64-R4.4-devel.rs index 3e200214..28d52c0e 100644 --- a/bindings/bindings-linux-x86_64-R4.4-devel.rs +++ b/bindings/bindings-linux-x86_64-R4.4-devel.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* 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 */ @@ -165,8 +165,8 @@ pub const R_MINOR: &[u8; 4usize] = b"4.0\0"; pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5usize] = b"2023\0"; pub const R_MONTH: &[u8; 3usize] = b"05\0"; -pub const R_DAY: &[u8; 3usize] = b"19\0"; -pub const R_SVN_REVISION: u32 = 84451; +pub const R_DAY: &[u8; 3usize] = b"24\0"; +pub const R_SVN_REVISION: u32 = 84463; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; diff --git a/bindings/bindings-macos-aarch64-R4.3.rs b/bindings/bindings-macos-aarch64-R4.3.rs index 9a6c786a..3dad24a6 100644 --- a/bindings/bindings-macos-aarch64-R4.3.rs +++ b/bindings/bindings-macos-aarch64-R4.3.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: Homebrew clang version 16.0.3 */ /* clang-rs version: Homebrew clang version 16.0.3 */ /* r version: 4.3.0 */ diff --git a/bindings/bindings-macos-x86_64-R4.2.rs b/bindings/bindings-macos-x86_64-R4.2.rs index 21b35098..fb1fcecf 100644 --- a/bindings/bindings-macos-x86_64-R4.2.rs +++ b/bindings/bindings-macos-x86_64-R4.2.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: Homebrew clang version 16.0.3 */ /* clang-rs version: Homebrew clang version 16.0.3 */ /* r version: 4.2.3 */ diff --git a/bindings/bindings-macos-x86_64-R4.3.rs b/bindings/bindings-macos-x86_64-R4.3.rs index 5a60005a..2bc634fe 100644 --- a/bindings/bindings-macos-x86_64-R4.3.rs +++ b/bindings/bindings-macos-x86_64-R4.3.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: Homebrew clang version 16.0.3 */ /* clang-rs version: Homebrew clang version 16.0.3 */ /* r version: 4.3.0 */ diff --git a/bindings/bindings-macos-x86_64-R4.4-devel.rs b/bindings/bindings-macos-x86_64-R4.4-devel.rs index 128d7abf..a305c478 100644 --- a/bindings/bindings-macos-x86_64-R4.4-devel.rs +++ b/bindings/bindings-macos-x86_64-R4.4-devel.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: Homebrew clang version 16.0.3 */ /* clang-rs version: Homebrew clang version 16.0.3 */ /* r version: 4.4.0-devel */ @@ -167,8 +167,8 @@ pub const R_MINOR: &[u8; 4usize] = b"4.0\0"; pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5usize] = b"2023\0"; pub const R_MONTH: &[u8; 3usize] = b"05\0"; -pub const R_DAY: &[u8; 3usize] = b"19\0"; -pub const R_SVN_REVISION: u32 = 84451; +pub const R_DAY: &[u8; 3usize] = b"24\0"; +pub const R_SVN_REVISION: u32 = 84463; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; diff --git a/bindings/bindings-windows-x86_64-R4.2.rs b/bindings/bindings-windows-x86_64-R4.2.rs index 51c1ac6f..4f37ff46 100644 --- a/bindings/bindings-windows-x86_64-R4.2.rs +++ b/bindings/bindings-windows-x86_64-R4.2.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: clang version 15.0.7 */ /* clang-rs version: clang version 15.0.7 */ /* r version: 4.2.3 */ diff --git a/bindings/bindings-windows-x86_64-R4.3.rs b/bindings/bindings-windows-x86_64-R4.3.rs index 377839a2..48d798fe 100644 --- a/bindings/bindings-windows-x86_64-R4.3.rs +++ b/bindings/bindings-windows-x86_64-R4.3.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: clang version 15.0.7 */ /* clang-rs version: clang version 15.0.7 */ /* r version: 4.3.0 */ diff --git a/bindings/bindings-windows-x86_64-R4.4-devel.rs b/bindings/bindings-windows-x86_64-R4.4-devel.rs index ed82b431..5f6cf1a0 100644 --- a/bindings/bindings-windows-x86_64-R4.4-devel.rs +++ b/bindings/bindings-windows-x86_64-R4.4-devel.rs @@ -1,6 +1,6 @@ /* automatically generated by rust-bindgen 0.64.0 */ -/* libR-sys version: 0.4.0 */ +/* libR-sys version: 0.5.0 */ /* bindgen clang version: clang version 15.0.7 */ /* clang-rs version: clang version 15.0.7 */ /* r version: 4.4.0-devel */ @@ -84,8 +84,8 @@ pub const R_MINOR: &[u8; 4usize] = b"4.0\0"; pub const R_STATUS: &[u8; 29usize] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5usize] = b"2023\0"; pub const R_MONTH: &[u8; 3usize] = b"05\0"; -pub const R_DAY: &[u8; 3usize] = b"19\0"; -pub const R_SVN_REVISION: u32 = 84451; +pub const R_DAY: &[u8; 3usize] = b"24\0"; +pub const R_SVN_REVISION: u32 = 84463; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15;