From 42c265c7a9e10d4f7d452a1ead812562eae7e092 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 9 Jul 2021 18:49:59 +0000 Subject: [PATCH] Check-in version.rs as a testcase! --- lightning-c-bindings/src/version.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lightning-c-bindings/src/version.rs diff --git a/lightning-c-bindings/src/version.rs b/lightning-c-bindings/src/version.rs new file mode 100644 index 0000000..8f10de8 --- /dev/null +++ b/lightning-c-bindings/src/version.rs @@ -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() +} -- 2.39.5