1
0
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:
Delyan Angelov
2020-05-15 14:18:49 +03:00
parent 0701c9f204
commit 2c93deb884
3 changed files with 23 additions and 7 deletions

View File

@ -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