mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 07:21:19 +00:00
Added c_abort to ansi_c (#8449)
This commit is contained in:
committed by
Andreas Rumpf
parent
404f0d64af
commit
6b40114f21
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user