first commit
This commit is contained in:
commit
d2f10f3bbc
84 changed files with 13382 additions and 0 deletions
7
livedemo/codegendecl.nim
Normal file
7
livedemo/codegendecl.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
var
|
||||
a {.codegenDecl: "$# progmem $#".}: int
|
||||
|
||||
proc myinterrupt() {.codegenDecl: "$# __interrupt $#$# __attribute__(weirdo)",
|
||||
exportc: "nim_interrupt".} =
|
||||
echo "realistic interrupt handler"
|
||||
Loading…
Add table
Add a link
Reference in a new issue