MCPcopy Create free account
hub / github.com/argumentcomputer/ix / rs_roundtrip_ix_data_value

Function rs_roundtrip_ix_data_value

crates/ffi/src/ix/data.rs:435–441  ·  view source on GitHub ↗
(
  dv_ptr: LeanIxDataValue<LeanBorrowed<'_>>,
)

Source from the content-addressed store, hash-verified

433#[cfg(feature = "test-ffi")]
434#[unsafe(no_mangle)]
435pub extern "C" fn rs_roundtrip_ix_data_value(
436 dv_ptr: LeanIxDataValue<LeanBorrowed<'_>>,
437) -> LeanIxDataValue<LeanOwned> {
438 let dv = dv_ptr.decode();
439 let mut cache = LeanBuildCache::new();
440 LeanIxDataValue::build(&mut cache, &dv)
441}

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected