Skip to content

Commit caa423c

Browse files
committed
registered PyEndianness to Python
1 parent 5487c3a commit caa423c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use crate::geo::PyGeoKeyDirectory;
1717
use crate::ifd::PyImageFileDirectory;
1818
use crate::thread_pool::PyThreadPool;
1919
use crate::tiff::PyTIFF;
20+
use crate::enums::PyEndianness;
2021

2122
const VERSION: &str = env!("CARGO_PKG_VERSION");
2223

@@ -50,6 +51,7 @@ fn _async_tiff(py: Python, m: &Bound<PyModule>) -> PyResult<()> {
5051
check_debug_build(py)?;
5152

5253
m.add_wrapped(wrap_pyfunction!(___version))?;
54+
m.add_class::<PyEndianness>()?;
5355
m.add_class::<PyDecoderRegistry>()?;
5456
m.add_class::<PyGeoKeyDirectory>()?;
5557
m.add_class::<PyImageFileDirectory>()?;

0 commit comments

Comments
 (0)