Bump auto-generated bindings version to 0.0.98.4
authorMatt Corallo <git@bluematt.me>
Wed, 23 Jun 2021 14:58:49 +0000 (14:58 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 24 Jun 2021 22:56:01 +0000 (22:56 +0000)
src/main/java/org/ldk/impl/bindings.java
src/main/jni/bindings.c
src/main/jni/bindings.c.body

index cca825ac1975da3a47f43371c2ca049ad276aad6..0b1657f6454deef7afe73d823119aae499e66033 100644 (file)
@@ -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();
index 07a072ac96f9590a5026d657fb86024933a74944..1bf1ade33a6787f3f17d82c317204285c88be2da 100644 (file)
@@ -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;
index 3b7d9625587ae6c99837e91128f90037102ae053..5dd76f4414f55b2eb2728b4215062653c137631a 100644 (file)
@@ -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()));