]> Kevux Git Server - fll/commit
Update: Restructure parts of f_utf project, and use f_utf_t, and add 'u' to hexdigits...
authorKevin Day <thekevinday@gmail.com>
Mon, 28 Mar 2022 00:56:35 +0000 (19:56 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 28 Mar 2022 01:45:41 +0000 (20:45 -0500)
commitac9378e6659574958c103f506d432cc45e37f28f
treea6bf45ccc49424ee7dd612fbfad5f37ffc881ad5
parentbd4c3a69ccb727ad61bca93ee212428478d41816
Update: Restructure parts of f_utf project, and use f_utf_t, and add 'u' to hexdigits in common.h.

Move the relevant functions into utf/convert.h, utf/is.h, and utf/is_character.h.

Implement f_utf_t as a type of uint32_t.
This should allow more customizability on that type if need be.
It also provides a more explicit context.

Add 'u' to designate the hexdigits are unsigned (This likely more specifically means it is an unsigned int).
This might be removed if it becomes a problem with architectures where "u" represents 16-bits or less.
Due to the size of the work, I am avoiding making this change in all of the Unicode comparison functions.
There are quite a lot of hexdigits in use.
13 files changed:
build/level_0/settings
build/monolithic/settings
level_0/f_utf/c/utf.c
level_0/f_utf/c/utf.h
level_0/f_utf/c/utf/common.h
level_0/f_utf/c/utf/convert.c [new file with mode: 0644]
level_0/f_utf/c/utf/convert.h [new file with mode: 0644]
level_0/f_utf/c/utf/dynamic.h
level_0/f_utf/c/utf/is.c [new file with mode: 0644]
level_0/f_utf/c/utf/is.h [new file with mode: 0644]
level_0/f_utf/c/utf/is_character.c [new file with mode: 0644]
level_0/f_utf/c/utf/is_character.h [new file with mode: 0644]
level_0/f_utf/data/build/settings