v/vlib/builtin
2024-01-01 23:29:54 +02:00
..
js all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
linux_bare all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
wasm all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
wasm_bare vlib: change byte to u8 (#19930) 2023-11-19 04:23:32 +03:00
wchar all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
array.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
array_d_gcboehm_opt.v Revert "strings: fix using array_push_many inside write_string + gc, not using array_push_many_noscan (part 1)" 2023-12-01 21:45:35 +02:00
array_flags_test.v builtin: add .nogrow and .nofree flags to array (#16661) 2022-12-14 09:44:14 +02:00
array_notd_gcboehm_opt.v builtin, cgen: fix array of struct with map field initialize (fix #17325) (#17340) 2023-02-18 20:34:15 +02:00
array_sorted_test.v builtin: implement array.sorted() and array.sorted_with_compare() methods, that do not modify their receivers (#19251) 2023-09-01 09:12:00 +03:00
array_test.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
backtraces.c.v native, builtin, ast: handle ast.HashStmt correctly and reduce macro usage in builtin (#19498) 2023-10-04 16:42:15 +03:00
backtraces_nix.c.v native, builtin, ast: handle ast.HashStmt correctly and reduce macro usage in builtin (#19498) 2023-10-04 16:42:15 +03:00
backtraces_windows.c.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
builtin.c.v vlib: use the builtin flush functions, instead of the C. ones (#20108) 2023-12-07 18:24:27 +02:00
builtin.v all: implement $for comptime T.variants (#20193) 2023-12-16 18:27:30 +03:00
builtin_android_outside_termux.c.v android: provide more predictable logging, add comptime termux support (#14984) 2022-07-07 18:28:29 +03:00
builtin_backtraces_d_musl.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
builtin_backtraces_nix.c.v builtin: improve musl/Alpine support (define weak backtrace/backtrace_symbols/backtrace_symbols_fd symbols) (#14250) 2022-05-03 09:17:53 +03:00
builtin_d_gcboehm.c.v builtin: pass USE_MMAP when compiling the GC library on freebsd, when tcc is not used (#20006) 2023-11-27 07:35:17 +02:00
builtin_d_use_libbacktrace.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
builtin_ios.c.v v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
builtin_nix.c.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
builtin_notd_gcboehm.c.v builtin: heap memory usage api (#18103) 2023-05-03 20:33:52 +03:00
builtin_notd_use_libbacktrace.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
builtin_test.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
builtin_windows.c.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
byte_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
cfns.c.v os: fix File.tell for files > 2GB on windows, by using C._telli64(f.fd) (#20072) 2023-12-03 03:58:01 +02:00
cfns_wrapper.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
chan.v checker: make use of private enum from outside module an error. (#9821) 2021-04-22 07:07:56 +03:00
character_inout.c.v builtin: add input_character/0 and print_character/1 (#19502) 2023-10-04 04:40:03 +03:00
character_inout_test.v builtin: add input_character/0 and print_character/1 (#19502) 2023-10-04 04:40:03 +03:00
float.c.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
float_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
float_x64.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
gated_array_string_test.v all: support slices with negative indexes #[start..end] (gated arrays) (#12914) 2021-12-22 16:34:02 +03:00
int.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
int_notd_new_int.v native: use i32 instead of int 2023-10-08 02:50:01 +03:00
int_test.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
isnil_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
lambda_expr_array_test.v checker: allow for each(a, |x| println(x)), i.e. using lambda expressions, when expecting fn (x int) 2023-09-27 11:49:12 +03:00
map.c.v vlib: change byte to u8 (#19930) 2023-11-19 04:23:32 +03:00
map.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
map_d_gcboehm_opt.v all: assigning 0 to reference fields now requires unsafe blocks (fix #14911) (#19955) 2023-11-23 11:16:26 +02:00
map_of_floats_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_test.v builtin: fix m.len to 0, after calling map.clear() (#16720) 2022-12-22 21:36:33 +02:00
option.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
option.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
prealloc.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
README.md builtin: add more documentation (#13160) 2022-01-14 17:27:38 +02:00
result.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
rune.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
rune_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
sorted_lambda_expr_test.v all: support short lambda expressions like a.sorted(|x,y| x > y), in all callsites that accept a fn callback (#19390) 2023-09-20 17:22:16 +03:00
sorted_map.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
sorting_test.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
string.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
string_charptr_byteptr_helpers.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
string_int_test.v all: add r and R switches for repeating in string interpolation, '${"abc":3r}' == 'abcabcabc' (#20197) 2023-12-17 13:23:17 +03:00
string_interpolation.v all: update copyright year (#20334) 2024-01-01 23:29:54 +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 all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
string_test.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
string_trim_indent_test.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
utf8.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
utf8.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
utf8_test.v vlib: add a new module builtin.wchar, to ease dealing with C APIs that accept wchar_t* (#18794) 2023-07-07 02:40:11 +03:00

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.