--- a/ui/common/document.h Sun Aug 24 15:24:16 2025 +0200 +++ b/ui/common/document.h Sat Oct 04 14:52:59 2025 +0200 @@ -36,7 +36,11 @@ extern "C" { #endif -void uic_docmgr_init(); +typedef struct UiDoc { + UiContext *ctx; + char doc[]; +} UiDoc; + void uic_document_addvar(void *doc, char *name, int type, size_t vs);