]> Kevux Git Server - fll/commit
Update: memory changes, macro changes, and return type changes.
authorKevin Day <thekevinday@gmail.com>
Tue, 5 Jan 2021 06:01:57 +0000 (00:01 -0600)
committerKevin Day <thekevinday@gmail.com>
Tue, 5 Jan 2021 06:01:57 +0000 (00:01 -0600)
commit36879628ed43c462be1b31fd4b590fe2d7548394
tree00cbac564f2a00aea13f19ab35a122f72b1b86fb
parenta96a694660fc34224221238e35d7c862167568d3
Update: memory changes, macro changes, and return type changes.

The practice of having an increase(), increase_by(), etc.. has become standard.
Redesign the code to better follow this, simplifying the code base some.
There is more work to do in this regard, but this focuses on just changing the existing code.

While I prefer to always return "const" where I can, simplify the design to always return "f_status_t" instead of using the wrapping macro "f_return_status".
This will make things between C and C++ more consistent.
264 files changed:
build/level_0/settings
build/monolithic/settings
level_0/f_account/c/account.c
level_0/f_account/c/account.h
level_0/f_account/c/private-account.c
level_0/f_account/c/private-account.h
level_0/f_capability/c/capability.c
level_0/f_capability/c/capability.h
level_0/f_console/c/console.c
level_0/f_console/c/console.h
level_0/f_conversion/c/conversion.c
level_0/f_conversion/c/conversion.h
level_0/f_directory/c/directory.c
level_0/f_directory/c/directory.h
level_0/f_directory/c/private-directory.c
level_0/f_directory/c/private-directory.h
level_0/f_environment/c/environment.c
level_0/f_environment/c/environment.h
level_0/f_environment/c/private-environment.c
level_0/f_environment/c/private-environment.h
level_0/f_file/c/file.c
level_0/f_file/c/file.h
level_0/f_file/c/private-file.c
level_0/f_file/c/private-file.h
level_0/f_fss/c/fss-common.h
level_0/f_fss/c/fss.c
level_0/f_fss/c/fss.h
level_0/f_fss/c/fss_delimit.h
level_0/f_iki/c/iki.c
level_0/f_iki/c/iki.h
level_0/f_iki/c/private-iki.c
level_0/f_iki/c/private-iki.h
level_0/f_limit/c/limit-common.h
level_0/f_limit/c/limit.c
level_0/f_limit/c/limit.h
level_0/f_limit/c/private-limit.c [deleted file]
level_0/f_limit/c/private-limit.h [deleted file]
level_0/f_limit/data/build/settings
level_0/f_memory/c/memory-common.h [new file with mode: 0644]
level_0/f_memory/c/memory.c
level_0/f_memory/c/memory.h
level_0/f_memory/c/memory_structure.c [new file with mode: 0644]
level_0/f_memory/c/memory_structure.h
level_0/f_memory/c/private-memory.c [new file with mode: 0644]
level_0/f_memory/c/private-memory.h [new file with mode: 0644]
level_0/f_memory/data/build/defines
level_0/f_memory/data/build/settings
level_0/f_path/c/path.c
level_0/f_path/c/path.h
level_0/f_path/c/private-path.c
level_0/f_path/c/private-path.h
level_0/f_pipe/c/pipe.c
level_0/f_pipe/c/pipe.h
level_0/f_print/c/print.c
level_0/f_print/c/print.h
level_0/f_print/c/private-print.c
level_0/f_print/c/private-print.h
level_0/f_serialize/c/private-serialize.c
level_0/f_serialize/c/private-serialize.h
level_0/f_serialize/c/serialize.c
level_0/f_serialize/c/serialize.h
level_0/f_signal/c/signal.c
level_0/f_signal/c/signal.h
level_0/f_socket/c/socket.c
level_0/f_socket/c/socket.h
level_0/f_string/c/string-common.h
level_0/f_string/c/string_quantity.h
level_0/f_string/c/string_range.h
level_0/f_thread/c/private-thread.c [deleted file]
level_0/f_thread/c/private-thread.h [deleted file]
level_0/f_thread/c/thread-common.h
level_0/f_thread/c/thread.c
level_0/f_thread/c/thread.h
level_0/f_thread/data/build/settings
level_0/f_type/c/type.h
level_0/f_type/c/type_array.h
level_0/f_utf/c/private-utf.c
level_0/f_utf/c/private-utf.h
level_0/f_utf/c/utf.c
level_0/f_utf/c/utf.h
level_1/fl_color/c/color.c
level_1/fl_color/c/color.h
level_1/fl_console/c/console.c
level_1/fl_console/c/console.h
level_1/fl_control_group/c/control_group.c
level_1/fl_control_group/c/control_group.h
level_1/fl_conversion/c/conversion.c
level_1/fl_conversion/c/conversion.h
level_1/fl_directory/c/directory.c
level_1/fl_directory/c/directory.h
level_1/fl_directory/c/private-directory.c
level_1/fl_directory/c/private-directory.h
level_1/fl_environment/c/environment.c
level_1/fl_environment/c/environment.h
level_1/fl_fss/c/fss_basic.c
level_1/fl_fss/c/fss_basic.h
level_1/fl_fss/c/fss_basic_list.c
level_1/fl_fss/c/fss_basic_list.h
level_1/fl_fss/c/fss_embedded_list.c
level_1/fl_fss/c/fss_embedded_list.h
level_1/fl_fss/c/fss_extended.c
level_1/fl_fss/c/fss_extended.h
level_1/fl_fss/c/fss_extended_list.c
level_1/fl_fss/c/fss_extended_list.h
level_1/fl_fss/c/private-fss.c
level_1/fl_fss/c/private-fss.h
level_1/fl_fss/c/private-fss_macro.h
level_1/fl_iki/c/iki.c
level_1/fl_iki/c/iki.h
level_1/fl_print/c/print.c
level_1/fl_print/c/print.h
level_1/fl_print/c/private-print.c
level_1/fl_print/c/private-print.h
level_1/fl_status/c/status.c
level_1/fl_status/c/status.h
level_1/fl_string/c/private-string.c
level_1/fl_string/c/private-string.h
level_1/fl_string/c/string.c
level_1/fl_string/c/string.h
level_1/fl_type/c/private-type.c
level_1/fl_type/c/private-type.h
level_1/fl_type/c/type.c
level_1/fl_type/c/type.h
level_1/fl_utf/c/private-utf.c
level_1/fl_utf/c/private-utf.h
level_1/fl_utf/c/utf.c
level_1/fl_utf/c/utf.h
level_1/fl_utf_file/c/private-utf_file.c
level_1/fl_utf_file/c/private-utf_file.h
level_1/fl_utf_file/c/utf_file.c
level_1/fl_utf_file/c/utf_file.h
level_2/fll_control_group/c/control_group.c
level_2/fll_control_group/c/control_group.h
level_2/fll_environment/c/environment.c
level_2/fll_environment/c/environment.h
level_2/fll_error/c/error.c
level_2/fll_error/c/error.h
level_2/fll_error/c/private-error.c
level_2/fll_error/c/private-error.h
level_2/fll_execute/c/execute.c
level_2/fll_execute/c/execute.h
level_2/fll_execute/c/private-execute.c
level_2/fll_execute/c/private-execute.h
level_2/fll_file/c/file.c
level_2/fll_file/c/file.h
level_2/fll_file/c/private-file.c
level_2/fll_file/c/private-file.h
level_2/fll_fss/c/fss.c
level_2/fll_fss/c/fss.h
level_2/fll_fss/c/fss_basic.c
level_2/fll_fss/c/fss_basic.h
level_2/fll_fss/c/fss_basic_list.c
level_2/fll_fss/c/fss_basic_list.h
level_2/fll_fss/c/fss_embedded_list.c
level_2/fll_fss/c/fss_embedded_list.h
level_2/fll_fss/c/fss_extended.c
level_2/fll_fss/c/fss_extended.h
level_2/fll_fss/c/fss_extended_list.c
level_2/fll_fss/c/fss_extended_list.h
level_2/fll_fss/c/fss_status.c
level_2/fll_fss/c/fss_status.h
level_2/fll_fss/c/private-fss.c
level_2/fll_fss/c/private-fss.h
level_2/fll_iki/c/iki.c
level_2/fll_iki/c/iki.h
level_2/fll_iki/c/private-iki.c
level_2/fll_iki/c/private-iki.h
level_2/fll_path/c/path.c
level_2/fll_path/c/path.h
level_2/fll_program/c/program.c
level_2/fll_program/c/program.h
level_2/fll_status/c/status.c
level_2/fll_status/c/status.h
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/c/byte_dump.h
level_3/byte_dump/c/private-byte_dump.c
level_3/byte_dump/c/private-byte_dump.h
level_3/control/c/control.c
level_3/control/c/control.h
level_3/controller/c/controller.c
level_3/controller/c/controller.h
level_3/controller/c/private-common.h
level_3/controller/c/private-controller.c
level_3/controller/c/private-controller.h
level_3/controller/c/private-entry.c
level_3/controller/c/private-entry.h
level_3/controller/c/private-rule.c
level_3/controller/c/private-rule.h
level_3/fake/c/fake.c
level_3/fake/c/fake.h
level_3/fake/c/private-build.c
level_3/fake/c/private-build.h
level_3/fake/c/private-clean.c
level_3/fake/c/private-clean.h
level_3/fake/c/private-fake.c
level_3/fake/c/private-fake.h
level_3/fake/c/private-make.c
level_3/fake/c/private-make.h
level_3/fake/c/private-skeleton.c
level_3/fake/c/private-skeleton.h
level_3/firewall/c/firewall.c
level_3/firewall/c/firewall.h
level_3/firewall/c/private-firewall.c
level_3/firewall/c/private-firewall.h
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/fss_basic_list_read.h
level_3/fss_basic_list_read/c/private-fss_basic_list_read.c
level_3/fss_basic_list_read/c/private-fss_basic_list_read.h
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/fss_basic_list_write.h
level_3/fss_basic_list_write/c/private-fss_basic_list_write.c
level_3/fss_basic_list_write/c/private-fss_basic_list_write.h
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/fss_basic_read.h
level_3/fss_basic_read/c/private-fss_basic_read.c
level_3/fss_basic_read/c/private-fss_basic_read.h
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/fss_basic_write.h
level_3/fss_basic_write/c/private-fss_basic_write.c
level_3/fss_basic_write/c/private-fss_basic_write.h
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/fss_embedded_list_read.h
level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.h
level_3/fss_embedded_list_write/c/fss_embedded_list_write.c
level_3/fss_embedded_list_write/c/fss_embedded_list_write.h
level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.c
level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.h
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/fss_extended_list_read.h
level_3/fss_extended_list_read/c/private-fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-fss_extended_list_read.h
level_3/fss_extended_list_write/c/fss_extended_list_write.c
level_3/fss_extended_list_write/c/fss_extended_list_write.h
level_3/fss_extended_list_write/c/private-fss_extended_list_write.c
level_3/fss_extended_list_write/c/private-fss_extended_list_write.h
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/fss_extended_read.h
level_3/fss_extended_read/c/private-fss_extended_read.c
level_3/fss_extended_read/c/private-fss_extended_read.h
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/fss_extended_write.h
level_3/fss_extended_write/c/private-fss_extended_write.c
level_3/fss_extended_write/c/private-fss_extended_write.h
level_3/fss_status_code/c/fss_status_code.c
level_3/fss_status_code/c/fss_status_code.h
level_3/fss_status_code/c/private-fss_status_code.c
level_3/fss_status_code/c/private-fss_status_code.h
level_3/iki_read/c/iki_read.c
level_3/iki_read/c/iki_read.h
level_3/iki_read/c/private-iki_read.c
level_3/iki_read/c/private-iki_read.h
level_3/iki_write/c/iki_write.c
level_3/iki_write/c/iki_write.h
level_3/iki_write/c/private-iki_write.c
level_3/iki_write/c/private-iki_write.h
level_3/init/c/init.c
level_3/init/c/init.h
level_3/init/c/private-init.c
level_3/init/c/private-init.h
level_3/status_code/c/private-status_code.c
level_3/status_code/c/private-status_code.h
level_3/status_code/c/status_code.c
level_3/status_code/c/status_code.h