]> Kevux Git Server - fll/commit
Progress: Add memory array allocation functionality and begin to use it where possible.
authorKevin Day <kevin@kevux.org>
Tue, 18 Jul 2023 04:56:33 +0000 (23:56 -0500)
committerKevin Day <kevin@kevux.org>
Tue, 18 Jul 2023 04:56:33 +0000 (23:56 -0500)
commitb0d12f282b13823900f30cac20bd0a6f2c8bc6cd
tree52c7ecd0b61b0697d8623595ae48333b5ec4d3a8
parent8d16ee282779b899eb1921e0fa3e3f15cf11695c
Progress: Add memory array allocation functionality and begin to use it where possible.

The pattern for handling the standard array structure is now well established.
Provide a memory array functionality for handling the most basic form.

This should reduce repeated code where possible.
It would be interesting if this reduces the size of the resulting binary but with inline optimizations it may be possible that this actually increases the size of the resulting binary.

Update the comments and tests.

There are a lot of files that will need to be updated to use these new functions.
Most of these are in the f_type_array project.
43 files changed:
build/level_0/settings
build/monolithic/settings
build/stand_alone/fake.config.h
level_0/f_fss/c/fss/private-simple_packet.c
level_0/f_fss/c/fss/private-simple_packet.h
level_0/f_fss/c/fss/simple_packet.c
level_0/f_fss/c/fss/simple_packet.h
level_0/f_fss/c/private-fss.c [deleted file]
level_0/f_fss/c/private-fss.h [deleted file]
level_0/f_limit/c/limit/private-set.c
level_0/f_limit/c/limit/private-set.h
level_0/f_limit/c/limit/private-value.c
level_0/f_limit/c/limit/private-value.h
level_0/f_limit/c/limit/set.c
level_0/f_limit/c/limit/set.h
level_0/f_limit/c/limit/value.c
level_0/f_limit/c/limit/value.h
level_0/f_memory/c/memory.h
level_0/f_memory/c/memory/array.c [new file with mode: 0644]
level_0/f_memory/c/memory/array.h [new file with mode: 0644]
level_0/f_memory/c/memory/private-array.c [new file with mode: 0644]
level_0/f_memory/c/memory/private-array.h [new file with mode: 0644]
level_0/f_memory/c/memory/structure.c
level_0/f_memory/data/build/settings
level_0/f_memory/data/build/settings-tests
level_0/f_memory/tests/unit/c/test-memory-array_adjust.c [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_adjust.h [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_decimate_by.c [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_decimate_by.h [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_decrease_by.c [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_decrease_by.h [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_increase.c [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_increase.h [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_increase_by.c [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_increase_by.h [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_resize.c [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory-array_resize.h [new file with mode: 0644]
level_0/f_memory/tests/unit/c/test-memory.c
level_0/f_memory/tests/unit/c/test-memory.h
level_0/f_socket/c/socket/private-socket.c
level_0/f_socket/c/socket/private-socket.h
level_0/f_socket/c/socket/socket.c
level_0/f_socket/c/socket/socket.h