You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where is this parameter not declared? Are you referring perhaps the automaticly generated typescript bindings? Can you perhaps share all of the link flags you are using?
When I build a program using this function I see the correct signature in the output, and it does use the upper argument:
/** @param {number|boolean=} upper */ function _uuid_unparse(uu, out, upper) {
uu >>>= 0;
out >>>= 0;
var i = 0;
var uuid = "xxxx-xx-xx-xx-xxxxxx".replace(/[x]/g, function(c) {
var r = upper ? (HEAPU8[(uu) + (i) >>> 0]).toString(16).toUpperCase() : (HEAPU8[(uu) + (i) >>> 0]).toString(16);
r = (r.length === 1) ? "0" + r : r;
i++;
return r;
});
stringToUTF8(uuid, out, 37);
}
If MAXIMUM-MEMORY=4GB is set and the uuid library is used, there will be issues with the code in the'. js' file after compilation;
Interface: _uid_unparse (uu, out) {}
The function uses the 'upper' parameter, but it is not declared;
But if automatic growth is not set and the MAXIMUM-MEMORY compilation instruction is removed, the above function takes the parameter: 'upper'
The text was updated successfully, but these errors were encountered: