1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/builtin
Nick Treleaven afbccf79f7
builtin: don't memdup element for array.pop (depends on how cgen works) (#13789)
The voidptr returned is immediately dereferenced in cgen so the memory
is copied before the array can be appended to: `*(int*)array_pop(&a)`
2022-03-21 23:34:35 +02:00
..
js docs, builtin, encoding.csv: update error implementations (#13440) 2022-02-12 11:54:10 +02:00
linux_bare
wasm_bare builtin.wasm_bare: fix malloc invocation (#13740) 2022-03-15 12:55:39 +02:00
array_d_gcboehm_opt.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
array_notd_gcboehm_opt.v
array_test.v builtin: add more documentation (#13160) 2022-01-14 17:27:38 +02:00
array.c.v
array.v builtin: don't memdup element for array.pop (depends on how cgen works) (#13789) 2022-03-21 23:34:35 +02:00
builtin_d_gcboehm.c.v
builtin_ios.c.v
builtin_nix.c.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
builtin_notd_gcboehm.c.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
builtin_windows.c.v
builtin.c.v builtin: use malloc_noscan more (for map metas and in []byte.hex()) 2022-03-11 11:26:22 +02:00
builtin.v
byte_test.v
cfns_wrapper.c.v
cfns.c.v builtin: cleanup [trusted] tags for C function declarations 2022-01-25 19:31:40 +02:00
chan.v
float_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
float_x64.v
float.c.v
gated_array_string_test.v
int_test.v
int.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
isnil_test.v
map_d_gcboehm_opt.v
map_of_floats_test.v
map_test.v
map.c.v
map.v builtin: use malloc_noscan more (for map metas and in []byte.hex()) 2022-03-11 11:26:22 +02:00
option.c.v builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
option.v docs, builtin, encoding.csv: update error implementations (#13440) 2022-02-12 11:54:10 +02:00
prealloc.c.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
README.md builtin: add more documentation (#13160) 2022-01-14 17:27:38 +02:00
rune_test.v
rune.v builtin: use malloc_noscan more (for map metas and in []byte.hex()) 2022-03-11 11:26:22 +02:00
sorted_map.v
sorting_test.v
string_charptr_byteptr_helpers.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
string_int_test.v
string_interpolation.v parser: notice unnecessary parenthesis of reference (fix #11179) (#13739) 2022-03-15 16:11:53 +02:00
string_match_glob_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
string_strip_margin_test.v
string_test.v scanner: remove the restriction for \x00 in strings (#13493) 2022-02-16 23:41:05 +02:00
string.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
utf8_test.v builtin: use a pure V version of string.to_wide() on != windows (#13314) 2022-01-28 20:41:50 +02:00
utf8.c.v builtin: use a pure V version of string.to_wide() on != windows (#13314) 2022-01-28 20:41:50 +02:00
utf8.v

Description:

builtin is a module that is implicitly imported by every V program.

It implements the builtin V types array, string, map.

It also implements builtin functions like println, eprintln, malloc, panic, print_backtrace.

The autogenerated documentation for builtin functions is lacking, so for these functions, please refer to the official V documentation.