|
|
|
|
|
by _vvhw
1372 days ago
|
|
Thanks, it's a pleasure! Yes, with packed structs it's important to keep things carefully aligned. Have you seen this post [1] about struct packing? This is what we did for TB's structures, so that we can switch them to `extern struct` for C ABI compatibility. It also helped side step the packed struct bugs. [1] http://www.catb.org/esr/structure-packing/ |
|