aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-20 14:20:54 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-20 14:20:54 -0400
commit17ec9006f96197b241278a9fcbaa507e63e15611 (patch)
treeb0855c3cbecb8d89cd8d1455e6ba2ce707d094e3 /docs
parent981da7f0c6c47f66120482e7a7885cb5719d6959 (diff)
Simplify quotes by limiting to `,',"
Diffstat (limited to 'docs')
-rw-r--r--docs/c-interoperability.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/c-interoperability.md b/docs/c-interoperability.md
index 3c0906ee..ae959220 100644
--- a/docs/c-interoperability.md
+++ b/docs/c-interoperability.md
@@ -23,12 +23,12 @@ without evaluating to anything:
```tomo
# Inline C block:
-C_code {
+C_code `
printf("This is just a block that is executed without a return value\n");
-}
+`
# Inline C expression (you must specify a type)
-val := C_code : Int32 (int x = 1; x + 1)
+val := C_code : Int32 `int x = 1; x + 1`
```
Inline C expressions must specify a type and they can be [compound statement