Skip to content

Commit 38c4282

Browse files
committed
fixup pub type char enums
1 parent 5a78a87 commit 38c4282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/npyffi/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pub struct npy_stride_sort_item {
204204

205205
#[repr(u8)]
206206
#[derive(Debug, Clone, Copy)]
207-
enum NPY_TYPECHAR {
207+
pub enum NPY_TYPECHAR {
208208
NPY_BOOLLTR = b'?',
209209
NPY_BYTELTR = b'b',
210210
NPY_UBYTELTR = b'B',
@@ -239,7 +239,7 @@ enum NPY_TYPECHAR {
239239
#[derive(Debug, Clone, Copy)]
240240
// NPY_TYPEKINDCHAR doesn't exist in the header, but these enum values are not
241241
// related to NPY_TYPECHAR although being stuffed into it (type kinds, not type codes)
242-
enum NPY_TYPEKINDCHAR {
242+
pub enum NPY_TYPEKINDCHAR {
243243
NPY_GENBOOLLTR = b'b',
244244
NPY_SIGNEDLTR = b'i',
245245
NPY_UNSIGNEDLTR = b'u',

0 commit comments

Comments
 (0)