mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
c defs
This commit is contained in:
@ -17,11 +17,6 @@ fn init() {
|
||||
}
|
||||
}
|
||||
|
||||
fn C.memcpy(byteptr, byteptr, int)
|
||||
fn C.memmove(byteptr, byteptr, int)
|
||||
//fn C.malloc(int) byteptr
|
||||
fn C.realloc(byteptr, int) byteptr
|
||||
|
||||
pub fn exit(code int) {
|
||||
C.exit(code)
|
||||
}
|
||||
|
Reference in New Issue
Block a user