From: Matt Corallo Date: Fri, 9 Jul 2021 18:49:59 +0000 (+0000) Subject: Check-in version.rs as a testcase! X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=42c265c7a9e10d4f7d452a1ead812562eae7e092;p=ldk-c-bindings Check-in version.rs as a testcase! --- 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() +}