From 78f399521661c82e45e627bbbdc8ce4daa9e5207 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 29 Apr 2026 22:30:04 +0200 Subject: style(typst): move in lib folder --- lib/typst/example.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/typst/example.c (limited to 'lib/typst/example.c') 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 + +int main() { + const char* res = typst_generateSVG("Hello world"); + printf("%s\n", res); + typst_freeString(res); + return 0; +} -- cgit v1.2.3