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

Function rs_roundtrip_ix_expr

crates/ffi/src/ix/expr.rs:329–335  ·  view source on GitHub ↗
(
  expr_ptr: LeanIxExpr<LeanBorrowed<'_>>,
)

Source from the content-addressed store, hash-verified

327#[cfg(feature = "test-ffi")]
328#[unsafe(no_mangle)]
329pub extern "C" fn rs_roundtrip_ix_expr(
330 expr_ptr: LeanIxExpr<LeanBorrowed<'_>>,
331) -> LeanIxExpr<LeanOwned> {
332 let expr = expr_ptr.decode();
333 let mut cache = LeanBuildCache::new();
334 LeanIxExpr::build(&mut cache, &expr)
335}

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected