From 3c2148042955ea73cbeb62d477b4b9cc6c0890e1 Mon Sep 17 00:00:00 2001 From: FoZard Date: Sat, 16 May 2026 20:05:59 -0400 Subject: [PATCH] fix WASM_EXPORT typo of function Clay_GetLayoutDimensions While clang didn't complain about this, the execution of the output .wasm file would break once on the browser. --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index 0384bb3..76689b9 100644 --- a/clay.h +++ b/clay.h @@ -4074,7 +4074,7 @@ void Clay_SetLayoutDimensions(Clay_Dimensions dimensions) { context->layoutDimensions = dimensions; } -CLAY_WASM_EXPORT("Clay_SetLayoutDimensions") +CLAY_WASM_EXPORT("Clay_GetLayoutDimensions") Clay_Dimensions Clay_GetLayoutDimensions() { Clay_Context* context = Clay_GetCurrentContext(); return context->layoutDimensions;