diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-29 22:30:04 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-29 22:30:04 +0200 |
| commit | 78f399521661c82e45e627bbbdc8ce4daa9e5207 (patch) | |
| tree | 2671aa93feb01956aded5cef1e725f9aff4aa3a9 /lib/typst/example.c | |
| parent | 77ccdd8559383c25fc59fbcba38117102e5657b5 (diff) | |
style(typst): move in lib folder
Diffstat (limited to 'lib/typst/example.c')
| -rw-r--r-- | lib/typst/example.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/typst/example.c b/lib/typst/example.c new file mode 100644 index 0000000..39e7a06 --- /dev/null +++ b/lib/typst/example.c @@ -0,0 +1,9 @@ +#include "typst.h" +#include <stdio.h> + +int main() { + const char* res = typst_generateSVG("Hello world"); + printf("%s\n", res); + typst_freeString(res); + return 0; +} |
