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

urllib: switch => match

This commit is contained in:
Alexander Medvednikov
2019-10-25 17:54:34 +03:00
parent d0cbb4041b
commit a83aa28a67
4 changed files with 26 additions and 14 deletions

25
vlib/builtin/cfns.v Normal file
View File

@@ -0,0 +1,25 @@
module builtin
fn C.memcpy(byteptr, byteptr, int)
fn C.memmove(byteptr, byteptr, int)
//fn C.malloc(int) byteptr
fn C.realloc(a byteptr, b int) byteptr
fn C.qsort(voidptr, int, int, voidptr)
fn C.sprintf(a ...voidptr) byteptr
fn C.strlen(s byteptr) int
//fn C.backtrace(a voidptr, b int) int
//fn C.backtrace_symbols_fd(voidptr, int, int)
// Windows
fn C._setmode(int, int)
fn C._fileno(int) int