aboutsummaryrefslogtreecommitdiff
path: root/docs/c-interoperability.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/c-interoperability.md')
-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