Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    00284c2f
    Alignment of objects inside of structures is weird on Mac OS X. The · 00284c2f
    rtoy authored
    first slot gets the natural alignment, but all subsequent slots get
    4-byte alignment, even if the object is a double or long long.
    
    o Add EMBEDDED-ALIGNMENT to compute this alignment of embedded
      objects.
    o Modify PARSE-ALIEN-RECORD-FIELDS to cause the appropriate alignment
      of slots in a struct.
    00284c2f
    History
    Alignment of objects inside of structures is weird on Mac OS X. The
    rtoy authored
    first slot gets the natural alignment, but all subsequent slots get
    4-byte alignment, even if the object is a double or long long.
    
    o Add EMBEDDED-ALIGNMENT to compute this alignment of embedded
      objects.
    o Modify PARSE-ALIEN-RECORD-FIELDS to cause the appropriate alignment
      of slots in a struct.