Skip to content

Commit

Permalink
change doc wording a bit and remove spacing in pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed Apr 17, 2024
1 parent 55ad0b8 commit 6653e8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uing.nim
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ proc quit* =
rawui.quit()

proc quitAll*(errorcode: int = QuitSuccess) =
## Both quit UIng and the program altogether
## Quit both UIng and the program altogether

rawui.quit()
system.quit(errorcode)
Expand Down Expand Up @@ -74,7 +74,7 @@ template newFinal(result) =

new result#, finalize

template genCallback(name, typ, on) {. dirty .} =
template genCallback(name, typ, on) {.dirty.} =
proc name(w: ptr rawui.typ; data: pointer) {.cdecl.} =
let widget = cast[typ](data)
if widget.on != nil: widget.on(widget)
Expand Down

0 comments on commit 6653e8d

Please sign in to comment.