Type Definition MacTypes_sys::Str32Field

source ·
pub type Str32Field = [c_uchar; 34];
Expand description

The type Str32 is used in many AppleTalk based data structures. It holds up to 32 one byte chars. The problem is that with the length byte it is 33 bytes long. This can cause weird alignment problems in structures. To fix this the type Str32Field has been created. It should only be used to hold 32 chars, but it is 34 bytes long so that there are no alignment problems.