]> Kevux Git Server - fll/commit
Update: remove common type wrappers and use typedef instead of '#define'
authorKevin Day <thekevinday@gmail.com>
Mon, 9 Sep 2019 04:19:10 +0000 (23:19 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 9 Sep 2019 04:19:10 +0000 (23:19 -0500)
commit2a6fb055c65e40f3a0d9c9158331942af51833b0
tree344de8b1e4fb392d228b95ef2957fc87d17291d1
parentf1000a0d576666664bbd54cddb8eb5662be92cc7
Update: remove common type wrappers and use typedef instead of '#define'

I intend to begin transitioning from the core types like 'int', 'char', etc...
As part of this, I need to remove a number of the type #define wrappers.
This is also done, in part, because I learned that there are some equivalents to f_min_s_int.

Using explicit types is safer and better designed than something like 'char'.
The goal will be to replace 'char' with uint8_t (or int8_t as needed).

Furthermore, specifying int32_t and int64_t (and similar) should improve the code quality.
The use of types like "wchar", is dangerous because some systems use different sizes.
Instead, for something like "wchar", an uint32_t, might be used.
(although this project is to be designed around UTF-8 so the use of wchar is wrong anyway but it does make good example.)
29 files changed:
level_0/f_color/c/color.h
level_0/f_console/c/console.h
level_0/f_conversion/c/conversion.c
level_0/f_conversion/c/conversion.h
level_0/f_file/c/file.c
level_0/f_file/c/file.h
level_0/f_fss/c/fss.h
level_0/f_socket/c/socket.h
level_0/f_string/c/string.h
level_0/f_type/c/type.h
level_0/f_utf/c/utf.c
level_0/f_utf/c/utf.h
level_1/fl_console/c/console.c
level_1/fl_directory/c/directory.c
level_1/fl_fss/c/fss.c
level_1/fl_serialized/c/serialized.c
level_1/fl_socket/c/socket.c
level_1/fl_socket/c/socket.h
level_1/fl_string/c/string.c
level_2/fll_execute/c/execute.c
level_2/fll_execute/c/execute.h
level_3/firewall/c/firewall.c
level_3/firewall/c/main.c
level_3/firewall/c/private-firewall.c
level_3/fss_status_code/c/fss_status_code.c
level_3/init/c/init.c
level_3/init/c/private-init.c
level_3/init/c/private-init.h
level_3/status_code/c/status_code.c