mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-10 15:50:26 -04:00
Fix Query.
Correctly include `org_kiwix_libwzim_Query.h`. Property set the return type of setNativeQuery to void.
This commit is contained in:
parent
915866a5fe
commit
4d73e57c69
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include "org_kiwix_libzim_Searcher.h"
|
#include "org_kiwix_libzim_Query.h"
|
||||||
|
|
||||||
#include <utils.h>
|
#include <utils.h>
|
||||||
|
|
||||||
|
@ -37,6 +37,6 @@ public class Query
|
|||||||
public native void dispose();
|
public native void dispose();
|
||||||
|
|
||||||
// A pointer (as a long) to a native Handle
|
// A pointer (as a long) to a native Handle
|
||||||
private native long setNativeQuery(String query);
|
private native void setNativeQuery(String query);
|
||||||
private long nativeHandle;
|
private long nativeHandle;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user