]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Check-in version.rs as a testcase! 2021-07-testcase
authorMatt Corallo <git@bluematt.me>
Fri, 9 Jul 2021 18:49:59 +0000 (18:49 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 9 Jul 2021 18:49:59 +0000 (18:49 +0000)
lightning-c-bindings/src/version.rs [new file with mode: 0644]

diff --git a/lightning-c-bindings/src/version.rs b/lightning-c-bindings/src/version.rs
new file mode 100644 (file)
index 0000000..8f10de8
--- /dev/null
@@ -0,0 +1,8 @@
+#[no_mangle]
+pub extern "C" fn _ldk_get_compiled_version() -> crate::c_types::Str {
+       "v0.0.98-91-ge04a1b387230c9fd".into()
+}
+#[no_mangle]
+pub extern "C" fn _ldk_c_bindings_get_compiled_version() -> crate::c_types::Str {
+       "v0.0.98.1-8-ga9dfc1bf8c793b40".into()
+}