static native String get_lib_version_string();
public static String get_ldk_java_bindings_version() {
- return "v0.0.98.3";
+ return "v0.0.98.4";
}
public static native String get_ldk_c_bindings_version();
public static native String get_ldk_version();
}
JNIEXPORT jstring JNICALL Java_org_ldk_impl_bindings_get_1lib_1version_1string(JNIEnv *env, jclass _c) {
- return str_ref_to_java(env, "v0.0.98.3", strlen("v0.0.98.3"));
+ return str_ref_to_java(env, "v0.0.98.4", strlen("v0.0.98.4"));
}
JNIEXPORT jstring JNICALL Java_org_ldk_impl_bindings_get_1ldk_1c_1bindings_1version(JNIEnv *env, jclass _c) {
return str_ref_to_java(env, check_get_ldk_bindings_version(), strlen(check_get_ldk_bindings_version()));
// __cxa_thread_atexit_impl is used to more effeciently cleanup per-thread local storage by rust libstd.
// However, it is not available on glibc versions 2.17 or earlier, and rust libstd has a null-check and fallback in case it is missing.
-// Because it is weak-linked on the rust side, we can simply define it explicitly here, forcing rust to use the fallback.
+// Because it is weak-linked on the rust side, we should be able to simply define it explicitly here, forcing rust to use the fallback.
void *__cxa_thread_atexit_impl = NULL;
}
JNIEXPORT jstring JNICALL Java_org_ldk_impl_bindings_get_1lib_1version_1string(JNIEnv *env, jclass _c) {
- return str_ref_to_java(env, "v0.0.98.3", strlen("v0.0.98.3"));
+ return str_ref_to_java(env, "v0.0.98.4", strlen("v0.0.98.4"));
}
JNIEXPORT jstring JNICALL Java_org_ldk_impl_bindings_get_1ldk_1c_1bindings_1version(JNIEnv *env, jclass _c) {
return str_ref_to_java(env, check_get_ldk_bindings_version(), strlen(check_get_ldk_bindings_version()));