We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 645750c commit 0c8e89dCopy full SHA for 0c8e89d
src/library_ccall.js
@@ -32,7 +32,6 @@ addToLibrary({
32
'string': (str) => {
33
var ret = 0;
34
if (str !== null && str !== undefined && str !== 0) { // null string
35
- // at most 4 bytes per UTF-8 code point, +1 for the trailing '\0'
36
ret = stringToUTF8OnStack(str);
37
}
38
return {{{ to64('ret') }}};
0 commit comments