blob: 4631191ede86c2c0452d5bffb9db848da64e579a [file] [log] [blame]
/**
* @license
* Copyright 2020 The Emscripten Authors
* SPDX-License-Identifier: MIT
*/
#if MINIMAL_RUNTIME
#include "runtime_strings_extra.js"
#include "arrayUtils.js"
mergeInto(LibraryManager.library, {
$AsciiToString: AsciiToString,
$stringToAscii: stringToAscii,
$UTF16ToString: UTF16ToString,
$stringToUTF16: stringToUTF16,
$lengthBytesUTF16: lengthBytesUTF16,
$UTF32ToString: UTF32ToString,
$stringToUTF32: stringToUTF32,
$lengthBytesUTF32: lengthBytesUTF32,
$allocateUTF8: allocateUTF8,
$allocateUTF8OnStack: allocateUTF8OnStack,
$writeStringToMemory: writeStringToMemory,
$writeArrayToMemory: writeArrayToMemory,
$writeAsciiToMemory: writeAsciiToMemory,
$intArrayFromString: intArrayFromString,
$intArrayToString: intArrayToString
});
#endif