Skip to content

Commit

Permalink
Fix example code in Nim manual that cannot be compiled without error (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
demotomohiro authored Jun 15, 2024
1 parent 948bb38 commit de1f718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -8703,7 +8703,7 @@ after the last specified parameter. Nim string values will be converted to C
strings automatically:

```Nim
proc printf(formatstr: cstring) {.nodecl, varargs.}
proc printf(formatstr: cstring) {.header: "<stdio.h>", varargs.}
printf("hallo %s", "world") # "world" will be passed as C string
```
Expand Down

0 comments on commit de1f718

Please sign in to comment.