summaryrefslogtreecommitdiffstats
path: root/make/lib/archive/cpptasks-patch-orig-c91f003551542c2aab62dd8ef89a7894c7e50689.tar.gz
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-20 08:14:40 +0200
committerSven Gothel <[email protected]>2011-07-20 08:14:40 +0200
commit8b3057585930357bb16546f584d998953b084034 (patch)
tree5d7ffb74a36da6076d05657f2867c68c47068c7b /make/lib/archive/cpptasks-patch-orig-c91f003551542c2aab62dd8ef89a7894c7e50689.tar.gz
parent0a8e1566c766f3b5a5e71b5d80500034f1a614a8 (diff)
FIX StructAccessor / JavaEmitter's struct-emitter: Using byte offsets
Problem: typedef struct { int8_t bits1; // +1 - 0 // +3 (p32) int32_t id; // +4 - 4 int8_t bits2; // +1 - 8 // +3 (p32) - int64_t long0; // +8 - 12 "longBuffer.get(<type-sized index>)" is invalid, but "byteBuffer.getLong(<byte index>)" must be done. The actual impl. doesn't matter, hence dropping the other nio type mappings is good. FIXES 32bit unit test, works well (static) on 32/64 bit (unix). TODO: Respect diff alignment for OS/ARCH either by offset tables for all, or runtime computing.
Diffstat (limited to 'make/lib/archive/cpptasks-patch-orig-c91f003551542c2aab62dd8ef89a7894c7e50689.tar.gz')
0 files changed, 0 insertions, 0 deletions