]> Kevux Git Server - fll/commit
Update: Return F_data_not when amount or size is 0 in memory allocation functions...
authorKevin Day <thekevinday@gmail.com>
Fri, 25 Feb 2022 04:10:04 +0000 (22:10 -0600)
committerKevin Day <thekevinday@gmail.com>
Fri, 25 Feb 2022 04:10:04 +0000 (22:10 -0600)
commit3a625f6eaee5118e829f8184ddd18152600ada3f
tree767b00b971a1064692a1c67a9dd505dc955f7967
parentf191f458949a3ee733a44d23fb80df5ecc854e58
Update: Return F_data_not when amount or size is 0 in memory allocation functions and add missing F_string_tripless_t.

Return F_data_not rather than return F_parameter (with error bit set).
This allows for more possibilities where a set of data may be calculated without worrying about an error that is not really an error.
If you want to allocate nothing, then nothing is allocated (and the same for deallocated).

The resize and adjust functions still use a length of 0 as synonymous to deleting the data.

The array of an array of F_triple_t is no longer missing.
All appropriate allocation functions are defined.
47 files changed:
level_0/f_account/c/private-account.h
level_0/f_fss/c/fss/named.c
level_0/f_fss/c/fss/named.h
level_0/f_fss/c/fss/nest.c
level_0/f_fss/c/fss/nest.h
level_0/f_fss/c/fss/set.c
level_0/f_fss/c/fss/set.h
level_0/f_iki/c/iki/common.c
level_0/f_iki/c/iki/common.h
level_0/f_string/c/private-string.c
level_0/f_string/c/private-string.h
level_0/f_string/c/string/dynamic.c
level_0/f_string/c/string/dynamic.h
level_0/f_string/c/string/map.c
level_0/f_string/c/string/map.h
level_0/f_string/c/string/quantity.c
level_0/f_string/c/string/quantity.h
level_0/f_string/c/string/range.c
level_0/f_string/c/string/range.h
level_0/f_string/c/string/triple.c
level_0/f_string/c/string/triple.h
level_0/f_thread/c/thread.c
level_0/f_thread/c/thread.h
level_0/f_type_array/c/type_array/array_length.c
level_0/f_type_array/c/type_array/array_length.h
level_0/f_type_array/c/type_array/cell.c
level_0/f_type_array/c/type_array/cell.h
level_0/f_type_array/c/type_array/fll_id.c
level_0/f_type_array/c/type_array/fll_id.h
level_0/f_type_array/c/type_array/int128.c
level_0/f_type_array/c/type_array/int128.h
level_0/f_type_array/c/type_array/int16.c
level_0/f_type_array/c/type_array/int16.h
level_0/f_type_array/c/type_array/int32.c
level_0/f_type_array/c/type_array/int32.h
level_0/f_type_array/c/type_array/int64.c
level_0/f_type_array/c/type_array/int64.h
level_0/f_type_array/c/type_array/int8.c
level_0/f_type_array/c/type_array/int8.h
level_0/f_type_array/c/type_array/state.c
level_0/f_type_array/c/type_array/state.h
level_0/f_type_array/c/type_array/status.c
level_0/f_type_array/c/type_array/status.h
level_0/f_utf/c/utf/dynamic.h
level_0/f_utf/c/utf/map.h
level_0/f_utf/c/utf/triple.c
level_0/f_utf/c/utf/triple.h