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 8b3c4f9 commit 7e8b4c0Copy full SHA for 7e8b4c0
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