Skip to content

Commit 28b526a

Browse files
committed
Merge pull request #167 from lambda/add-abort
Add abort
2 parents 30f70ba + d81e4a0 commit 28b526a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ extern {
206206
pub fn malloc(size: size_t) -> *mut c_void;
207207
pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void;
208208
pub fn free(p: *mut c_void);
209+
pub fn abort() -> !;
209210
pub fn exit(status: c_int) -> !;
210211
pub fn _exit(status: c_int) -> !;
211212
pub fn atexit(cb: extern fn()) -> c_int;

0 commit comments

Comments
 (0)