lean4-htt/examples/ffi/lib/lean/FFI.lean
2022-06-09 16:38:07 -04:00

5 lines
120 B
Text

@[extern "my_add"]
constant myAdd : UInt32 → UInt32 → UInt32
@[extern "my_lean_fun"]
constant myLeanFun : IO PUnit