diff --git a/doc/dev/ffi.md b/doc/dev/ffi.md index 3c6329db25..a39acd1299 100644 --- a/doc/dev/ffi.md +++ b/doc/dev/ffi.md @@ -11,6 +11,8 @@ There are two primary attributes for interoperating with other languages: It can also be used with `def` to provide an internal definition, but ensuring consistency of both definitions is up to the user. * `@[export sym] def leanSym : ...` exports `leanSym` under the unmangled symbol name `sym`. +For simple examples of how to call foreign code from Lean and vice versa, see and , respectively. + ## The Lean ABI The Lean Application Binary Interface (ABI) describes how the signature of a Lean declaration is encoded as a native calling convention.