1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/builtin
2023-03-19 01:10:13 +03:00
..
js builtin: improve multi-platform portability for string.split_into_lines() (#17078) 2023-01-24 10:02:25 +02:00
linux_bare builtin: fix wrong module name imported in vlib/builtin/linux_bare/old/.checks/linuxsys/linuxsys.v (#17102) 2023-01-24 22:19:30 +02:00
wasm wasm: bug fixes and memory based changes (#17497) 2023-03-04 11:24:33 +02:00
wasm_bare all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +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 builtin, cgen: fix array of struct with map field initialize (fix #17325) (#17340) 2023-02-18 20:34:15 +02:00
array_test.v all: rename it to index in array inits (#17543) 2023-03-08 20:51:45 +01:00
array.c.v
array.v builtin, cgen: fix array of struct with map field initialize (fix #17325) (#17340) 2023-02-18 20:34:15 +02: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: fix gc.o compilation on macos (#15832) 2022-09-21 12:19:02 +03:00
builtin_d_use_libbacktrace.c.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
builtin_ios.c.v
builtin_nix.c.v cgen: improve generated source compatibility with latest Alpine (lacking libexecinfo-dev and execinfo.h) and the prebuilt tcc (#16743) 2022-12-22 15:01:51 +02:00
builtin_notd_gcboehm.c.v
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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
builtin.c.v all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
builtin.v v: add compile-time enum evaluation with $for item in MyEnum.fields { dump(item.value) dump(item.name) } (#17517) 2023-03-12 12:46:54 +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 builtin: make the C. WIN32 API declarations more precise, to catch errors earlier (#16090) 2022-10-17 20:23:33 +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
float.c.v builtin: fix typo 2022-11-29 14:42:44 +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 checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +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_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 builtin: add a map.reserve/1 method (#17052) 2023-01-23 11:07:25 +02:00
option.c.v
option.v cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
prealloc.c.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
README.md
rune_test.v
rune.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
sorted_map.v builtin, compiler: replace isnil(x) calls with x == unsafe { nil } (a little faster without -prod) (#15759) 2022-09-15 14:59:37 +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
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 checker: require unsafe for Struct(voidptr) casts 2023-01-06 09:28:11 +03:00
string_match_glob_test.v
string_strip_margin_test.v
string_test.v builtin: optimise the common case of s.contains("x") add s.contains_byte(x) (#17702) 2023-03-19 01:10:13 +03:00
string_trim_indent_test.v builtin: add string.trim_indent()` method (#17099) 2023-01-24 21:41:25 +02:00
string.v builtin: optimise the common case of s.contains("x") add s.contains_byte(x) (#17702) 2023-03-19 01:10:13 +03:00
utf8_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
utf8.c.v builtin: document string.to_wide() and string_from_wide()/1 2022-11-28 09:46:04 +02:00
utf8.v checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +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.