From eb15603fc5e2ced81b6eef6789b0dd3fc9a2abdd Mon Sep 17 00:00:00 2001 From: Bryan English Date: Sat, 11 Apr 2026 23:54:55 -0400 Subject: [PATCH] clarity on externs --- docs/language_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language_overview.md b/docs/language_overview.md index 0a993a6..1e3475a 100644 --- a/docs/language_overview.md +++ b/docs/language_overview.md @@ -62,7 +62,7 @@ This is useful for writing tests. Sorel supports calling other native code when it's statically linked into the same binary. Declare an externally-linked function using `extern function_name`. Then, you can call it like any other Sorel word. -To pass arguments, simply put them on the stack in the order that they appear in the function signature. +Externally-linked functions cannot (currently) take arguments, but the data stack could be manipulated. Be careful with types. The return value is added to the stack once the function returns. -- 2.43.0