citron icon indicating copy to clipboard operation
citron copied to clipboard

Unions are interpreted as sequential structs in Interop/C

Open alimpfard opened this issue 7 years ago • 0 comments

inject.c:179 distinguish unions and structs

  • can leave sequential layout as-is, but modify padinfo with same offsets
  • Somehow make that copyable into a new struct object (CTypes_struct::'copy')

alimpfard avatar Jan 15 '19 14:01 alimpfard