File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub struct ChunkInfo {
10
10
/// logical positions of the chunk’s first element in each dimension.
11
11
pub offset : Vec < u64 > ,
12
12
/// Filter mask that indicates which filters were used with the chunk when written.
13
+ ///
13
14
/// A zero value indicates that all enabled filters are applied on the chunk.
14
15
/// A filter is skipped if the bit corresponding to the filter’s position in
15
16
/// the pipeline (0 ≤ position < 32) is turned on.
@@ -72,7 +73,7 @@ mod one_thirteen {
72
73
73
74
/// Borrowed version of [ChunkInfo](crate::dataset::ChunkInfo)
74
75
#[ derive( Clone , Debug , PartialEq , Eq ) ]
75
- pub struct ChunkInfoBorrowed < ' a > {
76
+ pub struct ChunkInfoRef < ' a > {
76
77
pub offset : & ' a [ u64 ] ,
77
78
pub filter_mask : u32 ,
78
79
pub addr : u64 ,
@@ -97,9 +98,10 @@ mod one_thirteen {
97
98
}
98
99
}
99
100
101
+ #[ repr( C ) ]
100
102
struct RustCallback < F > {
101
- ndims : usize ,
102
- callback : F ,
103
+ pub ndims : hsize_t ,
104
+ pub callback : F ,
103
105
}
104
106
105
107
extern "C" fn chunks_callback < F > (
You can’t perform that action at this time.
0 commit comments