Testing of JNIKiwixReader.getDirectAccessInformation()

This commit is contained in:
Veloman Yunkan
2020-12-07 23:11:19 +04:00
committed by Emmanuel Engelhart
parent 7a465e66d7
commit 5a8b825c70
2 changed files with 29 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Entry
* The offset is the offset to read in the file.
* Return <"",0> if is not possible to read directly.
*/
std::pair<std::string, offset_type> getDirectAccessInfo() const { return entry.getItem().getDirectAccessInformation(); }
zim::Item::DirectAccessInfo getDirectAccessInfo() const { return entry.getItem().getDirectAccessInformation(); }
/**
* Get the size of the entry.