|
1 | 1 | /* automatically generated by rust-bindgen 0.72.1 */ |
2 | 2 |
|
3 | | -pub const ROARING_VERSION: &[u8; 6] = b"4.4.1\0"; |
| 3 | +pub const ROARING_VERSION: &[u8; 6] = b"4.5.1\0"; |
4 | 4 | pub const ROARING_VERSION_MAJOR: _bindgen_ty_1 = 4; |
5 | | -pub const ROARING_VERSION_MINOR: _bindgen_ty_1 = 4; |
| 5 | +pub const ROARING_VERSION_MINOR: _bindgen_ty_1 = 5; |
6 | 6 | pub const ROARING_VERSION_REVISION: _bindgen_ty_1 = 1; |
7 | 7 | pub type _bindgen_ty_1 = ::core::ffi::c_uint; |
8 | 8 | extern "C" { |
@@ -209,6 +209,103 @@ extern "C" { |
209 | 209 | extern "C" { |
210 | 210 | pub fn bitset_print(b: *const bitset_t); |
211 | 211 | } |
| 212 | +pub type container_t = ::core::ffi::c_void; |
| 213 | +extern "C" { |
| 214 | + pub fn bitset_extract_setbits_avx2( |
| 215 | + words: *const u64, |
| 216 | + length: usize, |
| 217 | + out: *mut u32, |
| 218 | + outcapacity: usize, |
| 219 | + base: u32, |
| 220 | + ) -> usize; |
| 221 | +} |
| 222 | +extern "C" { |
| 223 | + pub fn bitset_extract_setbits_avx512( |
| 224 | + words: *const u64, |
| 225 | + length: usize, |
| 226 | + out: *mut u32, |
| 227 | + outcapacity: usize, |
| 228 | + base: u32, |
| 229 | + ) -> usize; |
| 230 | +} |
| 231 | +extern "C" { |
| 232 | + pub fn bitset_extract_setbits( |
| 233 | + words: *const u64, |
| 234 | + length: usize, |
| 235 | + out: *mut u32, |
| 236 | + base: u32, |
| 237 | + ) -> usize; |
| 238 | +} |
| 239 | +extern "C" { |
| 240 | + pub fn bitset_extract_setbits_sse_uint16( |
| 241 | + words: *const u64, |
| 242 | + length: usize, |
| 243 | + out: *mut u16, |
| 244 | + outcapacity: usize, |
| 245 | + base: u16, |
| 246 | + ) -> usize; |
| 247 | +} |
| 248 | +extern "C" { |
| 249 | + pub fn bitset_extract_setbits_avx512_uint16( |
| 250 | + words: *const u64, |
| 251 | + length: usize, |
| 252 | + out: *mut u16, |
| 253 | + outcapacity: usize, |
| 254 | + base: u16, |
| 255 | + ) -> usize; |
| 256 | +} |
| 257 | +extern "C" { |
| 258 | + pub fn bitset_extract_setbits_uint16( |
| 259 | + words: *const u64, |
| 260 | + length: usize, |
| 261 | + out: *mut u16, |
| 262 | + base: u16, |
| 263 | + ) -> usize; |
| 264 | +} |
| 265 | +extern "C" { |
| 266 | + pub fn bitset_extract_intersection_setbits_uint16( |
| 267 | + words1: *const u64, |
| 268 | + words2: *const u64, |
| 269 | + length: usize, |
| 270 | + out: *mut u16, |
| 271 | + base: u16, |
| 272 | + ) -> usize; |
| 273 | +} |
| 274 | +extern "C" { |
| 275 | + pub fn bitset_set_list_withcard( |
| 276 | + words: *mut u64, |
| 277 | + card: u64, |
| 278 | + list: *const u16, |
| 279 | + length: u64, |
| 280 | + ) -> u64; |
| 281 | +} |
| 282 | +extern "C" { |
| 283 | + pub fn bitset_set_list(words: *mut u64, list: *const u16, length: u64); |
| 284 | +} |
| 285 | +extern "C" { |
| 286 | + pub fn bitset_clear_list(words: *mut u64, card: u64, list: *const u16, length: u64) -> u64; |
| 287 | +} |
| 288 | +extern "C" { |
| 289 | + pub fn bitset_flip_list_withcard( |
| 290 | + words: *mut u64, |
| 291 | + card: u64, |
| 292 | + list: *const u16, |
| 293 | + length: u64, |
| 294 | + ) -> u64; |
| 295 | +} |
| 296 | +extern "C" { |
| 297 | + pub fn bitset_flip_list(words: *mut u64, list: *const u16, length: u64); |
| 298 | +} |
| 299 | +pub const BITSET_CONTAINER_SIZE_IN_WORDS: _bindgen_ty_4 = 1024; |
| 300 | +pub const BITSET_UNKNOWN_CARDINALITY: _bindgen_ty_4 = -1; |
| 301 | +pub type _bindgen_ty_4 = ::core::ffi::c_int; |
| 302 | +#[repr(C)] |
| 303 | +#[derive(Debug, Copy, Clone)] |
| 304 | +pub struct rle16_s { |
| 305 | + pub value: u16, |
| 306 | + pub length: u16, |
| 307 | +} |
| 308 | +pub type rle16_t = rle16_s; |
212 | 309 | #[repr(C)] |
213 | 310 | #[derive(Debug, Copy, Clone)] |
214 | 311 | pub struct roaring_bitmap_s { |
@@ -780,7 +877,7 @@ extern "C" { |
780 | 877 | ); |
781 | 878 | } |
782 | 879 | extern "C" { |
783 | | - #[doc = " Create an iterator object that can be used to iterate through the values.\n Caller is responsible for calling `roaring_free_iterator()`.\n\n The iterator is initialized (this function calls `roaring_iterator_init()`)\n If there is a value, then this iterator points to the first value and\n `it->has_value` is true. The value is in `it->current_value`."] |
| 880 | + #[doc = " Create an iterator object that can be used to iterate through the values.\n Caller is responsible for calling `roaring_uint32_iterator_free()`.\n\n The iterator is initialized (this function calls `roaring_iterator_init()`)\n If there is a value, then this iterator points to the first value and\n `it->has_value` is true. The value is in `it->current_value`."] |
784 | 881 | pub fn roaring_iterator_create(r: *const roaring_bitmap_t) -> *mut roaring_uint32_iterator_t; |
785 | 882 | } |
786 | 883 | extern "C" { |
|
0 commit comments