noStackFrame -> asmNoStackFrame
This commit is contained in:
parent
05712fe805
commit
8d19b09959
3 changed files with 3 additions and 3 deletions
|
|
@ -360,7 +360,7 @@ Example:
|
|||
static int cvariable = 420;
|
||||
""".}
|
||||
|
||||
proc embedsC() {.noStackFrame.} =
|
||||
proc embedsC() {.asmNoStackFrame.} =
|
||||
var nimrodVar = 89
|
||||
# use backticks to access Nimrod symbols within an emit section:
|
||||
{.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue