1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

remove execinfo.h header

This commit is contained in:
Alexander Medvednikov
2019-10-25 12:07:50 +03:00
parent 4e21e9ed44
commit ea3f9b5b9a
5 changed files with 14 additions and 12 deletions

View File

@@ -58,15 +58,10 @@ pub:
len int
}
// For C strings only
fn C.strlen(s byteptr) int
pub fn vstrlen(s byteptr) int {
return C.strlen(*char(s))
}
fn todo() { }
// Converts a C string to a V string.
// String data is reused, not copied.
pub fn tos(s byteptr, len int) string {