Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Open
Description
Documentation
The documentation on the_pack_
and_align_
variables for theStructure
andUnion
classes needs elaboration. Currently, both say something to the effect of "An optional small integer that allows overriding the alignment of the structure..."
The documentation is clear that setting either parameter to 0 has no effect. However, it is unclear what effect setting the value to anything other than 0 has. Is it a true/false value? Does it set the number of bits to which each field should be aligned and/or padded and/or truncated? Does it override the third tuple parameter when setting fields? What happens if it's set to a negative number?
Metadata
Metadata
Assignees
Projects
Status
Todo