mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-13 17:18:23 -04:00
Fix wrong implementation in Book.
As `update` is overloaded, the jni method name include the argument type. And we have changed the type of one version of `update`, so we need to change its name.
This commit is contained in:
parent
897c78a718
commit
775b55c3b0
@ -41,7 +41,7 @@ METHOD(void, update__Lorg_kiwix_libkiwix_Book_2, jobject otherBook)
|
|||||||
THIS->update(*getPtr<kiwix::Book>(env, otherBook));
|
THIS->update(*getPtr<kiwix::Book>(env, otherBook));
|
||||||
}
|
}
|
||||||
|
|
||||||
METHOD(void, update__Lorg_kiwix_libkiwix_JNIKiwixReader_2, jobject archive)
|
METHOD(void, update__Lorg_kiwix_libzim_Archive_2, jobject archive)
|
||||||
{
|
{
|
||||||
THIS->update(*getPtr<zim::Archive>(env, archive));
|
THIS->update(*getPtr<zim::Archive>(env, archive));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user