use .} instead of } for code highlighters
This commit is contained in:
parent
8c7ee96457
commit
e38388eb4e
1 changed files with 2 additions and 2 deletions
|
|
@ -395,7 +395,7 @@ elif defined(netbsd):
|
||||||
|
|
||||||
elif defined(freebsd):
|
elif defined(freebsd):
|
||||||
proc syscall(arg: cint, arg0: ptr cint): cint {.varargs, importc: "syscall", header: "<unistd.h>".}
|
proc syscall(arg: cint, arg0: ptr cint): cint {.varargs, importc: "syscall", header: "<unistd.h>".}
|
||||||
var SYS_thr_self {.importc:"SYS_thr_self", header:"<sys/syscall.h>"}: cint
|
var SYS_thr_self {.importc:"SYS_thr_self", header:"<sys/syscall.h>".}: cint
|
||||||
|
|
||||||
proc getThreadId*(): int =
|
proc getThreadId*(): int =
|
||||||
## Gets the ID of the currently running thread.
|
## Gets the ID of the currently running thread.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue