Export math functions to Wasm components

This commit is contained in:
udo
2026-07-17 14:52:34 +00:00
parent 88c637f5a4
commit da04af1cbf
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -450,6 +450,10 @@ extern "C" void uce_wasm_link_anchors()
(void*)&isdigit, (void*)&isgraph, (void*)&islower, (void*)&isprint,
(void*)&ispunct, (void*)&isspace, (void*)&isupper, (void*)&isxdigit,
(void*)&tolower, (void*)&toupper,
// math functions used by side modules but not otherwise retained by core
(void*)(double (*)(double))&cos,
(void*)(double (*)(double))&sin,
(void*)(double (*)(double))&round,
};
(void)libc_anchors;
}
+3
View File
@@ -33,3 +33,6 @@ isupper
isxdigit
tolower
toupper
cos
sin
round