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.
This commit is contained in:
FoZard 2026-05-16 20:05:59 -04:00
parent 583573f869
commit 3c21480429

2
clay.h
View file

@ -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;