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

proc display() {.cdecl.} =
    ...

glutDisplayFunc(display)

Reply via email to