aboutsummaryrefslogtreecommitdiffstats
path: root/java/jni
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-01-18 02:46:56 +0100
committerSven Gothel <[email protected]>2022-01-18 02:46:56 +0100
commit481ea1cbba81e6fbd48e3f50e534ee0c3d358cf8 (patch)
treecb7d95305d75b31de8bbd2e83b38754739645011 /java/jni
parent130589f37b651cd1233501b1d3374030467a8268 (diff)
Add EInfoReport::clear()
Diffstat (limited to 'java/jni')
-rw-r--r--java/jni/direct_bt/EInfoReport.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/jni/direct_bt/EInfoReport.cxx b/java/jni/direct_bt/EInfoReport.cxx
index 37201b27..9af3b60c 100644
--- a/java/jni/direct_bt/EInfoReport.cxx
+++ b/java/jni/direct_bt/EInfoReport.cxx
@@ -73,6 +73,15 @@ void Java_org_direct_1bt_EInfoReport_dtorImpl(JNIEnv *env, jclass clazz, jlong n
}
}
+void Java_org_direct_1bt_EInfoReport_clear(JNIEnv *env, jobject obj) {
+ try {
+ EInfoReport * eir_ptr = jau::getInstance<EInfoReport>(env, obj);
+ eir_ptr->clear();
+ } catch(...) {
+ rethrow_and_raise_java_exception(env);
+ }
+}
+
jint Java_org_direct_1bt_EInfoReport_setImpl(JNIEnv *env, jobject obj, jobject jeir_other) {
try {
EInfoReport * eir_ptr = jau::getInstance<EInfoReport>(env, obj);