Skip to content

Commit 4b05393

Browse files
committed
Make PyArray_Type_Ptr only visible in crate
1 parent 3fcc529 commit 4b05393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/npyffi/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub struct PyArrayModule<'py> {
2626
}
2727

2828
#[allow(non_upper_case_globals)]
29-
pub static mut PyArray_Type_Ptr: *mut PyTypeObject = null_mut();
29+
pub(crate) static mut PyArray_Type_Ptr: *mut PyTypeObject = null_mut();
3030

3131
impl<'py> Deref for PyArrayModule<'py> {
3232
type Target = PyModule;

0 commit comments

Comments
 (0)