Initial import of Dillo

This commit is contained in:
2025-02-28 13:34:30 -05:00
parent bd4e3eebd8
commit 20fea64cb5
496 changed files with 156174 additions and 0 deletions

30
lout/unicode.hh Normal file
View File

@ -0,0 +1,30 @@
#ifndef __UNICODE_HH__
#define __UNICODE_HH__
namespace lout {
/**
* \brief Stuff dealing with Unicode characters: UTF-8, character classes etc.
*
*/
namespace unicode {
bool isAlpha (int ch);
int decodeUtf8 (const char *s);
int decodeUtf8 (const char *s, int len);
const char *nextUtf8Char (const char *s);
const char *nextUtf8Char (const char *s, int len);
int numUtf8Chars (const char *s);
int numUtf8Chars (const char *s, int len);
} // namespace lout
} // namespace unicode
#endif // __UNICODE_HH__