mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-04-10 15:39:06 +00:00
Clarify packing for structs
This commit is contained in:
parent
efb4f66c88
commit
3f09df9ccd
@ -77,8 +77,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
uint8_t parent_entry_len;
|
||||
};
|
||||
|
||||
// Due to default compiler packing/aignment this may NOT be byte-size identical on disk
|
||||
// but it is in the correct order.
|
||||
// Due to default compiler packing/aignment this may NOT be byte-size identical on disk but it is in the correct order.
|
||||
// NOTE: This does NOT need to be packed/aligned since fields are read/written on a per entry basis.
|
||||
// See: ProDOS_GetVolumeHeader(), ProDOS_SetVolumeHeader()
|
||||
struct ProDOS_VolumeHeader_t
|
||||
@ -108,7 +107,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
} ; //============
|
||||
} ; // 38 $2B
|
||||
|
||||
// NOTE: This does NOT need to be packed/aligned since fields are read/written on a per-entry basis
|
||||
// Due to default compiler packing/aignment this may NOT be byte-size identical on disk but it is in the correct order.
|
||||
// NOTE: This does NOT need to be packed/aligned since fields are read/written on a per-entry basis.
|
||||
// See: ProDOS_GetFileHeader(), ProDOS_SetFileHeader()
|
||||
struct ProDOS_FileHeader_t
|
||||
{ ; //Rel Size Hex
|
||||
|
Loading…
x
Reference in New Issue
Block a user