Added c_abort to ansi_c (#8449)
This commit is contained in:
parent
404f0d64af
commit
6b40114f21
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ proc c_strcmp(a, b: cstring): cint {.
|
|||
importc: "strcmp", header: "<string.h>", noSideEffect.}
|
||||
proc c_strlen(a: cstring): csize {.
|
||||
importc: "strlen", header: "<string.h>", noSideEffect.}
|
||||
proc c_abort() {.
|
||||
importc: "abort", header: "<stdlib.h>", noSideEffect.}
|
||||
|
||||
|
||||
when defined(linux) and defined(amd64):
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue