Skip to content

Commit

Permalink
Merge pull request #118 from richli/update-zstd-bzip2-signatures
Browse files Browse the repository at this point in the history
Update zstd and bzip2 function signatures
  • Loading branch information
magnusuMET authored Oct 16, 2023
2 parents fa7484a + cf83add commit c9093f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions netcdf-sys/src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ extern "C" {

pub fn nc_inq_filter_avail(ncid: c_int, id: c_uint) -> c_int;

}

#[cfg(feature = "4.9.0")]
extern "C" {
pub fn nc_def_var_bzip2(ncid: c_int, varid: c_int, level: c_int) -> c_int;
pub fn nc_inq_var_bzip2(
ncid: c_int,
Expand All @@ -26,12 +30,12 @@ extern "C" {
levelp: *mut c_int,
) -> c_int;

pub fn nc_def_var_zstandars(ncid: c_int, varid: c_int, level: c_int) -> c_int;
pub fn nc_def_var_zstandard(ncid: c_int, varid: c_int, level: c_int) -> c_int;
pub fn nc_inq_var_zstandard(
ncid: c_int,
varid: c_int,
hasfilterp: *mut c_int,
levelp: *mut c_uint,
levelp: *mut c_int,
) -> c_int;

pub fn nc_def_var_blosc(
Expand Down

0 comments on commit c9093f8

Please sign in to comment.