🩹 Remove poison wchar_t macro
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct _dwin_charmap_t {
|
||||
wchar_t uchar; // the unicode char
|
||||
lchar_t uchar; // the unicode char
|
||||
uint8_t idx; // the glyph of the char in the ROM
|
||||
uint8_t idx2; // the char used to be combined with the idx to simulate a single char
|
||||
} dwin_charmap_t;
|
||||
@@ -69,10 +69,10 @@ class DWIN_String {
|
||||
/**
|
||||
* @brief Append a UTF-8 character
|
||||
*
|
||||
* @param character The UTF-8 character
|
||||
* @param wc The UTF-8 character
|
||||
*/
|
||||
static void add(wchar_t character);
|
||||
static void set(wchar_t character) { set(); add(character); }
|
||||
static void add(const lchar_t &wc);
|
||||
static void set(const lchar_t &wc) { set(); add(wc); }
|
||||
|
||||
/**
|
||||
* @brief Append / Set C-string
|
||||
|
Reference in New Issue
Block a user