Skip to content

Commit

Permalink
doc: clarify that lean_initialize_runtime_module is implied by `lea…
Browse files Browse the repository at this point in the history
…n_initialize`
  • Loading branch information
eric-wieser authored Jan 17, 2025
1 parent e3fd954 commit f10162f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/dev/ffi.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ lean_object * initialize_C(uint8_t builtin, lean_object *);
...

lean_initialize_runtime_module();
//lean_initialize(); // necessary if you (indirectly) access the `Lean` package
//lean_initialize(); // necessary (and replaces `lean_initialize_runtime_module`) if you (indirectly) access the `Lean` package

lean_object * res;
// use same default as for Lean executables
Expand Down

0 comments on commit f10162f

Please sign in to comment.