scripts/Defaults.js
// Like above but for wide (utf 16) strings.
Like above but for wide (utf 16) strings.
Like above but for wide ( utf 16 ) strings .
function allocateWideStr(str) {
    var mem = allocateMemory(str.length * 2 + 2);
    writeWideStr(mem, str);
    return mem;
}
function allocateWideStr ( str ) { var mem = allocateMemory ( str . length * 2 + 2 ) ; writeWideStr ( mem , str ) ; return mem ; }
Like above but for wide (utf 16) strings.
Like above but for wide ( utf 16 ) strings .