aboutsummaryrefslogtreecommitdiff
path: root/examples/main.c
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-05-04 17:17:32 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-05-04 17:17:32 +0200
commitf3f9aa31dc86582ed1a7ddc64bdeebeb213add7a (patch)
tree3ba16bfd945afb12a1569ce6dda5a2b915b6a0b7 /examples/main.c
parent8dc9a978fc2b0d01c20270b1b690e815e74fdcc7 (diff)
feat(go): update bindingsHEADmain
Diffstat (limited to 'examples/main.c')
-rw-r--r--examples/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/main.c b/examples/main.c
index 2b3c3ca..6ab775f 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -18,7 +18,7 @@ void foo(char *v) {
return;
}
uint8_t code;
- char *res = typdown_renderHTML(doc, &code);
+ char *res = typdown_renderHTML(doc.root, &code);
if (code != 0) {
printf("cannot render '%s', error: %s (%d)\n", v, typdown_getErrorString(code), code);
typdown_free(doc);