mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-13 09:07:48 -04:00

`Book::getIllustration(size)` return a `shared_ptr<Illustration>`. The current `buildWrapper` was creating a wrapper on a `shared_ptr<Illustration>` (so a `shared_ptr<shared_ptr<Illustration>>`) but we was converting to a `shared_ptr<Illustration>` and so we were doing wrong reads. By specializing the buildWrapper for `shared_ptr<T>`, we avoid the "double shared_ptr" and we are good.
…
…
Java Libkiwix binding for Java/Kotlin
Android Library for accessing libkiwix and libzim in android with JAVA wrapper.
Steps to build
Clone java-libkiwix
git clone https://github.com/kiwix/java-libkiwix.git
cd java-libkiwix
Install dependencies
./install_deps.sh
Compile
./gradlew buildHeaders
./gradlew build
AAR file will be generated in directory lib/build/outputs/aar
Languages
Java
57.2%
C++
39.9%
CMake
1.9%
Shell
0.9%
HTML
0.1%