IncompleteStruct pragma

The incompleteStruct pragma tells the compiler to not use the underlying C struct in a sizeof expression:

  1. type
  2. DIR* {.importc: "DIR", header: "<dirent.h>",
  3. pure, incompleteStruct.} = object