t21257.nim 360 B

123456789101112131415161718192021
  1. discard """
  2. action: compile
  3. cmd: "nim check $file"
  4. """
  5. type AC_WINCTRL_Fields* = distinct uint8
  6. type AC_STATUSA_WSTATE0* {.pure.} = enum
  7. ABOVE = 0x0,
  8. INSIDE = 0x1,
  9. BELOW = 0x2,
  10. type AC_WINCTRL_WINTSEL0* {.pure.} = enum
  11. ABOVE = 0x0,
  12. INSIDE = 0x1,
  13. BELOW = 0x2,
  14. OUTSIDE = 0x3,
  15. proc write*(WINTSEL0: AC_WINCTRL_WINTSEL0 = ABOVE) =
  16. discard