aboutsummaryrefslogtreecommitdiff
path: root/typst/example.c
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-29 16:28:14 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-29 16:28:14 +0200
commit99d2408ad3113f3d79b496ed30798bbd15bc6cfc (patch)
treef7cd38f5c7ca985982c649ab7853f48528ff7da9 /typst/example.c
parent007af47ed42931b887483be6ec95073c198ab07f (diff)
feat(typst): escape string in math mode
Diffstat (limited to 'typst/example.c')
-rw-r--r--typst/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/typst/example.c b/typst/example.c
index a1df659..39e7a06 100644
--- a/typst/example.c
+++ b/typst/example.c
@@ -4,6 +4,6 @@
int main() {
const char* res = typst_generateSVG("Hello world");
printf("%s\n", res);
- typst_freeSVG(res);
+ typst_freeString(res);
return 0;
}