Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
make extractor functions public
Browse files Browse the repository at this point in the history
  • Loading branch information
omkar-mohanty committed May 3, 2023
1 parent e9516d1 commit dc75753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extractor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub enum Method<'a> {
Bytes(&'a [u8]),
}

fn get_pages<T, K, Y>(file: &File<T, K, Y>) -> Result<Vec<PageRc>>
pub fn get_pages<T, K, Y>(file: &File<T, K, Y>) -> Result<Vec<PageRc>>
where
T: Backend,
K: Cache<std::result::Result<AnySync, Arc<PdfError>>>,
Expand All @@ -30,7 +30,7 @@ where
.collect::<Vec<PageRc>>())
}

fn get_raw_images<T, K, Y>(page: PageRc, file: &File<T, K, Y>) -> Result<Vec<RawImage>>
pub fn get_raw_images<T, K, Y>(page: PageRc, file: &File<T, K, Y>) -> Result<Vec<RawImage>>
where
T: Backend,
K: Cache<std::result::Result<AnySync, Arc<PdfError>>>,
Expand Down

0 comments on commit dc75753

Please sign in to comment.