aboutsummaryrefslogtreecommitdiff
path: root/docs/c-interoperability.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-18 15:40:35 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-18 15:40:35 -0400
commit87c22f93b5b499ce8196508273482029741dc38d (patch)
tree32241b1606f7d490b86e0c90b148b86f4b5ac548 /docs/c-interoperability.md
parent7f5af625e5045055173fb776fc5aaa5453704f61 (diff)
Update docs
Diffstat (limited to 'docs/c-interoperability.md')
-rw-r--r--docs/c-interoperability.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/c-interoperability.md b/docs/c-interoperability.md
index 68a84342..3328b39d 100644
--- a/docs/c-interoperability.md
+++ b/docs/c-interoperability.md
@@ -8,9 +8,12 @@ make this possible, there are a few tools available.
In order to link against a compiled shared library, you can use `use libfoo.so`
to cause Tomo to add `-l:libfoo.so` to the linker flags when compiling your
-final executable. You can also use `use <foo.h>` or `use "foo.h"` to cause Tomo
+final executable. You can also use `use <foo.h>` or `use ./foo.h` to cause Tomo
to insert a corresponding `#include` when compiling your code.
+You can also `use ./foo.c` or `use ./foo.S` to use C or assembly source files
+from inside a Tomo source file.
+
## Inline C Code
As a final escape hatch, you can use `inline C` to add code that will be put,