ui/common/document.c

changeset 1095
e519ecc27cfe
parent 1092
0accf125a65f
--- a/ui/common/document.c	Sat Apr 18 08:07:24 2026 +0200
+++ b/ui/common/document.c	Sun Apr 19 14:52:59 2026 +0200
@@ -78,3 +78,11 @@
         return NULL;
     }
 }
+
+void* ui_context_document(UiContext *ctx) {
+    return ctx->self_doc;
+}
+
+UiObject* ui_context_obj(UiContext *ctx) {
+    return ctx->obj;
+}

mercurial