found this specially useful in opengl draw hook proc and other {.cdecl.} where using parameters is not supported.
proc display() {.cdecl.} = ... glutDisplayFunc(display)
found this specially useful in opengl draw hook proc and other {.cdecl.} where using parameters is not supported.
proc display() {.cdecl.} = ... glutDisplayFunc(display)