1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/builtin
2022-12-22 15:01:51 +02:00
..
js js: use write() on the freestanding backend (#16704) 2022-12-20 13:16:06 +02:00
linux_bare vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
wasm_bare all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
array_d_gcboehm_opt.v builtin: apply .nogrow flags to gcboehm array (#16689) 2022-12-16 07:57:50 +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: fix array init with array default (#16664) 2022-12-13 18:05:33 +02:00
array_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
array.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
array.v gg: fix draw_image on macos native; vcreate: vweb template 2022-12-21 19:33:37 +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: 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 v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
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 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
builtin.c.v builtin: move v_segmentation_fault_handler to builtin.c.v, make it more informative 2022-11-27 12:11:06 +02:00
builtin.v builtin: move v_segmentation_fault_handler to builtin.c.v, make it more informative 2022-11-27 12:11:06 +02:00
byte_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
cfns_wrapper.c.v builtin: improve support for large arrays ([]int{len: 1_000_000_000} now works), fix an arr.repeat() bug (#14294) 2022-05-04 18:42:06 +03: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 checker: make use of private enum from outside module an error. (#9821) 2021-04-22 07:07:56 +03: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 2022-01-04 12:21:12 +03:00
float.c.v builtin: fix typo 2022-11-29 14:42:44 +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_test.v builtin,tests: fix int_test.v on macos, m1 2022-08-17 17:18:10 +03:00
int.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
isnil_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
map_d_gcboehm_opt.v all: byte => u8 2022-04-15 14:58:56 +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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map.c.v all: byte => u8 2022-04-15 14:58:56 +03:00
map.v checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03: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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
prealloc.c.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
README.md builtin: add more documentation (#13160) 2022-01-14 17:27:38 +02:00
rune_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
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 all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
string_int_test.v builtin,strconv: append ".0", to float string representations, to ensure clarity (#16079) 2022-10-17 15:41:07 +03:00
string_interpolation.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03: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 2022-01-04 12:21:12 +03:00
string_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string.v builtin: fix bug with string.split_into_lines, when lines have extra CR's at their end (#16620) 2022-12-09 09:15:50 +02: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 vrepl: add support for Home and End keys (#16116) 2022-10-20 20:07:57 +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.