1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/builtin
2023-07-15 17:48:28 +03:00
..
js time: add more detailed error descriptions, add custom format parsing with time.parse_format (#18257) 2023-06-06 18:43:10 +03:00
linux_bare builtin: fix byte deprecation warnings for v test-all (the -freestanding compilation) 2023-05-29 13:20:29 +03:00
wasm wasm: remove dependency on thirdparty/binaryen, webassembly backend rewrite (#18120) 2023-07-12 15:24:38 +03:00
wasm_bare all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
wchar 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
array_d_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_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 implement missing builtin _noscan fns/methods for array and map, so that cgen can work more uniformly 2023-07-15 17:48:28 +03:00
array_test.v ci: workaround flakyness of array_test.v on windows, with the default GC mode 2023-04-09 09:48:15 +03:00
array.c.v
array.v builtin: zero out internal map/array pointers on m.free(), to reduce the work for the GC mark phase for non escaping maps/arrays, used in hot loops (#18415) 2023-06-14 15:00:36 +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 builtin: improve musl/Alpine support (define weak backtrace/backtrace_symbols/backtrace_symbols_fd symbols) (#14250) 2022-05-03 09:17:53 +03: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: heap memory usage api (#18103) 2023-05-03 20:33:52 +03:00
builtin_d_use_libbacktrace.c.v backtrace: use unsafe { nil } 2023-04-14 08:28:22 +02:00
builtin_ios.c.v
builtin_nix.c.v all: 2023 copyright 2023-03-28 22:55:57 +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 builtin: print libbacktrace output to stderr, on panics/segfault crash (#14434) 2022-05-17 14:56:34 +03:00
builtin_test.v builtin: add libbacktrace as option for generating stack traces (#14277) 2022-05-04 21:17:05 +03:00
builtin_windows.c.v parser: remove hardcoded check for function calls for C.stat, C.sigaction, etc (#18535) 2023-06-24 08:03:12 +03:00
builtin.c.v cgen: fix memleak for [][]T{len: x}, or []Struct{len: x} (#18763) 2023-07-04 06:32:19 +03:00
builtin.v all: attr for enum fields (+ json encode/decode) (#18163) 2023-05-13 01:08:30 +02:00
byte_test.v
cfns_wrapper.c.v builtin: support -d trace_vmemset, -d trace_vmemcmp, -d trace_vmemmove and -d trace_vmemcpy too 2022-12-22 20:08:53 +02:00
cfns.c.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
chan.v
float_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
float_x64.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
float.c.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
gated_array_string_test.v
int_test.v builtin,tests: fix int_test.v on macos, m1 2022-08-17 17:18:10 +03:00
int.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
isnil_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
map_d_gcboehm_opt.v cgen: minimise sizeof(EmptyStruct) to 0 for gcc/clang and to 1 for tcc/msvc, by changing EMPTY_STRUCT_DECLARATION and EMPTY_STRUCT_INITIALIZATION (#16733) 2022-12-22 21:47:39 +02:00
map_notd_gcboehm_opt.v implement missing builtin _noscan fns/methods for array and map, so that cgen can work more uniformly 2023-07-15 17:48:28 +03: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
map.c.v
map.v docs: add docstring for map.move() (#18430) 2023-06-16 09:45:16 +03:00
option.c.v
option.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
prealloc.c.v prealloc: use u8 instead of byte 2023-05-29 01:42:52 +02:00
README.md
rune_test.v
rune.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
sorted_map.v builtin: minor cleanup in sorted_map.v (#18502) 2023-06-21 12:34:05 +03:00
sorting_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_charptr_byteptr_helpers.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
string_int_test.v checker: more precise error handling of large binary literals like 0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000 (#16775) 2022-12-27 15:13:15 +02:00
string_interpolation.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
string_match_glob_test.v
string_strip_margin_test.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
string_test.v fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
string_trim_indent_test.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
string.v builtin: zero out internal map/array pointers on m.free(), to reduce the work for the GC mark phase for non escaping maps/arrays, used in hot loops (#18415) 2023-06-14 15:00:36 +03: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
utf8.c.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
utf8.v all: 2023 copyright 2023-03-28 22:55:57 +02: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.