mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: bootstrap for backtrace functions cleanup
This commit is contained in:
@ -27,12 +27,9 @@ fn C.popen(c byteptr, t byteptr) voidptr
|
||||
|
||||
// <execinfo.h>
|
||||
// backtrace functions are not #included, that's why they have to be defined without C.
|
||||
fn backtrace(a voidptr, b int) int
|
||||
|
||||
fn backtrace_symbols(voidptr, int) &byteptr
|
||||
|
||||
|
||||
fn backtrace_symbols_fd(voidptr, int, int)
|
||||
fn backtrace(a &voidptr, b int) int
|
||||
fn backtrace_symbols(a &voidptr, size int) &charptr
|
||||
fn backtrace_symbols_fd(a &voidptr, size int, fd int) void
|
||||
// <libproc.h>
|
||||
fn proc_pidpath(int, voidptr, int) int
|
||||
|
||||
|
Reference in New Issue
Block a user