emscripten-core/emscripten

is allocateUTF8 safe to use ?

Open

#9,786 opened on Nov 5, 2019

View on GitHub
 (9 comments) (0 reactions) (0 assignees)C++ (3,519 forks)batch import
good first bughelp wanted

Repository metrics

Stars
 (27,361 stars)
PR merge metrics
 (Avg merge 19d 10h) (147 merged PRs in 30d)

Description

In sql.js, we use the allocateUTF8OnStack function, and it works. However, the function is nowhere to be found in the official API documentation. Is this an oversight, or is there a reason the function should not be used outside of emscripten itself ?

Contributor guide