diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index ab10f455..ef15088e 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -325,7 +325,7 @@ function JSify(data, functionsOnly) { // NOTE: This is the only place that could potentially create static // allocations in a shared library. - if (typeof constant === 'object') { + if (typeof constant !== 'string') { constant = makePointer(constant, null, allocator, item.type, index); } |