1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 17:27:34 +00:00

Unicode: s/codepoint/code_point/g

Unicode calls them "code points" so let's follow their style.
This commit is contained in:
Andreas Kling 2020-08-03 19:06:41 +02:00
parent b139fb9f38
commit ea9ac3155d
45 changed files with 449 additions and 449 deletions

View file

@ -45,7 +45,7 @@ public:
Utf8CodepointIterator& operator++();
u32 operator*() const;
int codepoint_length_in_bytes() const;
int code_points_length_in_bytes() const;
bool done() const { return !m_length; }
private:
@ -80,7 +80,7 @@ public:
return validate(valid_bytes);
}
size_t length_in_codepoints() const;
size_t length_in_code_pointss() const;
private:
const unsigned char* begin_ptr() const;