aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/preamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 0f3f52c9..4cae05a6 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -524,6 +524,7 @@ function allocate(slab, types, allocator, ptr) {
Module['allocate'] = allocate;
function Pointer_stringify(ptr, /* optional */ length) {
+ // TODO: use TextDecoder
// Find the length, and check for UTF while doing so
var hasUtf = false;
var t;