Skip to content

Commit f075cc7

Browse files
committed
Fix visibility
1 parent 982e2c5 commit f075cc7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/npyffi/objects.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ pub struct PyArrayObject {
2323
pub weakreflist: *mut PyObject,
2424

2525
#[cfg(Numpy_1_20)]
26-
pub _buffer_info: *mut c_void,
26+
_buffer_info: *mut c_void,
2727

2828
#[cfg(Numpy_1_22)]
29-
pub mem_handler: *mut PyObject,
29+
mem_handler: *mut PyObject,
3030
}
3131

3232
#[repr(C)]
@@ -40,17 +40,17 @@ pub struct PyArray_Descr {
4040
pub type_num: c_int,
4141

4242
#[cfg(Numpy_2_0)]
43-
pub flags: npy_uint64,
43+
flags: npy_uint64,
4444
#[cfg(Numpy_2_0)]
45-
pub elsize: npy_intp,
45+
elsize: npy_intp,
4646
#[cfg(Numpy_2_0)]
47-
pub alignment: npy_intp,
47+
alignment: npy_intp,
4848
#[cfg(Numpy_2_0)]
49-
pub metadata: *mut PyObject,
49+
metadata: *mut PyObject,
5050
#[cfg(Numpy_2_0)]
51-
pub hash: npy_hash_t,
51+
hash: npy_hash_t,
5252
#[cfg(Numpy_2_0)]
53-
pub reserved_null: [*mut c_void; 2],
53+
reserved_null: [*mut c_void; 2],
5454
}
5555

5656
#[repr(C)]

0 commit comments

Comments
 (0)