diff options
author | alon@honor <none@none> | 2010-10-08 21:54:49 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-08 21:54:49 -0700 |
commit | 597a3dc5c2c02aca72df52e6e06002b510b7453a (patch) | |
tree | d8fe08a393dfecbb139f372441f942ee230a5a10 /src/jsifier.js | |
parent | 7ae56ec8ee8e7c1166afaa7c7305fd73996c483f (diff) |
fix bug with last commit, and better GUARD_MEMORY option
Diffstat (limited to 'src/jsifier.js')
-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 cd118644..d21e44d4 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -65,8 +65,8 @@ function JSify(data) { } function alignStruct(values, type) { + // XXX Need to add padding at the end of structures, using alignMemory()? dprint('types', 'alignStruct: ' + dump(type)); - // XXX hardcoded ptr impl var ret = []; var typeData = TYPES[type]; assertTrue(typeData); |