emscripten-core / emscripten-core/emscripten

is allocateUTF8 safe to use ?

Open
#9,786 9 comments 0 reactions 0 assignees View on GitHub
good first bug help wanted
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

In sql.js, we [use](https://github.com/kripken/sql.js/blob/master/src/api.coffee#L321) the `allocateUTF8OnStack` function, and it works. However, the function is nowhere to be found in [the official API documentation](https://emscripten.org/docs/api_reference/preamble.js.html#preamble-js). Is this an oversight, or is there a reason the function should not be used outside of emscripten itself ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.