bootstrapping works again

This commit is contained in:
Araq 2013-01-22 00:37:33 +01:00
commit 09e4b194f5
3 changed files with 16 additions and 4 deletions

View file

@ -0,0 +1,14 @@
type
PButton = ref object
TButtonClicked = proc(button: PButton) {.nimcall.}
proc newButton*(onClick: TButtonClicked) =
nil
proc main() =
newButton(onClick = proc(b: PButton) =
var requestomat = 12
)
main()