From: Matt Corallo Date: Wed, 23 Jun 2021 14:58:49 +0000 (+0000) Subject: Bump auto-generated bindings version to 0.0.98.4 X-Git-Tag: v0.0.98.5~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=79bfb8673ac55758278dfca0d942d6c842420513;p=ldk-java Bump auto-generated bindings version to 0.0.98.4 --- diff --git a/src/main/java/org/ldk/impl/bindings.java b/src/main/java/org/ldk/impl/bindings.java index cca825ac..0b1657f6 100644 --- a/src/main/java/org/ldk/impl/bindings.java +++ b/src/main/java/org/ldk/impl/bindings.java @@ -48,7 +48,7 @@ public class bindings { 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(); diff --git a/src/main/jni/bindings.c b/src/main/jni/bindings.c index 07a072ac..1bf1ade3 100644 --- a/src/main/jni/bindings.c +++ b/src/main/jni/bindings.c @@ -133,7 +133,7 @@ static inline LDKStr java_to_owned_str(JNIEnv *env, jstring str) { } 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())); @@ -25884,5 +25884,5 @@ JNIEXPORT jstring JNICALL Java_org_ldk_impl_bindings_SiPrefix_1to_1str(JNIEnv *e // __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; diff --git a/src/main/jni/bindings.c.body b/src/main/jni/bindings.c.body index 3b7d9625..5dd76f44 100644 --- a/src/main/jni/bindings.c.body +++ b/src/main/jni/bindings.c.body @@ -131,7 +131,7 @@ static inline LDKStr java_to_owned_str(JNIEnv *env, jstring str) { } 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()));