IncompleteStruct编译指示

incompleteStruct 编译指示告诉编译器不要在 sizeof 表达式中使用底层的C struct

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