Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ctypes _pack_ & _align_ documentation needs elaboration #136520

Open
Labels
@bordenc

Description

@bordenc

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

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp