fix prosperon layout

This commit is contained in:
2026-02-20 21:23:21 -06:00
parent e78faccab8
commit ff2e4bd578
44 changed files with 17 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ lay_id VAR; \
if (JS_ToUint32(js, &VAR, ARG)) return JS_EXCEPTION; \
static JSValue js_layout_context_new(JSContext *js, JSValueConst self, int argc, JSValueConst *argv) {
lay_context *lay = js_malloc(js, sizeof(*lay));
lay_context *lay = js_malloc_rt(sizeof(*lay));
lay_init_context(lay);
JSValue obj = JS_NewObjectClass(js, js_layout_class_id);
JS_SetOpaque(obj, lay);