mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
7 lines
122 B
Nim
7 lines
122 B
Nim
# Test the new beforeQuit variable:
|
|
|
|
proc myExit() {.noconv.} =
|
|
write(stdout, "just exiting...\n")
|
|
|
|
addQuitProc(myExit)
|