]> Kevux Git Server - fll/commit
Cleanup: Converted type is actually uint32_t rather than f_utf_char_t.
authorKevin Day <thekevinday@gmail.com>
Sun, 10 Jul 2022 22:26:42 +0000 (17:26 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 10 Jul 2022 22:29:02 +0000 (17:29 -0500)
commit8a299e4b4ebdecec2de938cc7bb2047be2570af5
treef9d7d03636bd04bc2a20814c3b9f9e2e45db3494
parenta6dd9c0685c1590bd6e47c5ca1c3eaff5c69f21e
Cleanup: Converted type is actually uint32_t rather than f_utf_char_t.

The f_utf_char_t is supposed to be an uint32_t so this is not a problem.

The intent and design of this, however, is that f_utf_char_t is a special case representing the character as a string rather than as a digit.
The f_utf_char_t is stored as a 4-byte integer to store each byte representing a character.

The uint32_t is simply a straight up 4-byte integer.

This is the numeric value of the code point rather than the representation as a string.
This is an important semantic difference.
level_0/f_utf/c/utf/convert.c
level_0/f_utf/c/utf/convert.h
level_3/fake/c/private-make-operate_process.c
level_3/utf8/c/private-print.c
level_3/utf8/c/private-print.h
level_3/utf8/c/private-utf8_bytesequence.c
level_3/utf8/c/private-utf8_codepoint.c