lean4-htt/examples/ffi/lib/lean/Ffi.lean
2021-12-14 16:45:43 -05:00

5 lines
120 B
Text

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