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

http: remove libcurl dependency; replace it with a simple OpenSSL backend

This commit is contained in:
Alexander Medvednikov
2019-08-06 05:54:47 +02:00
parent 69932758db
commit bea8f6d7e5
10 changed files with 203 additions and 411 deletions

View File

@ -79,10 +79,12 @@ pub fn print(s string) {
}
__global total_m i64 = 0
//__global nr_mallocs int = 0
pub fn malloc(n int) byteptr {
if n < 0 {
panic('malloc(<0)')
}
//nr_mallocs++
/*
TODO
#ifdef VPLAY