Skip to content

Commit 7ddbd1b

Browse files
committed
unicode: Add trivial implementation of unichar_charlen().
1 parent b0bb458 commit 7ddbd1b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

py/misc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ bool unichar_isupper(unichar c);
100100
bool unichar_islower(unichar c);
101101
unichar unichar_tolower(unichar c);
102102
unichar unichar_toupper(unichar c);
103+
#define unichar_charlen(s, bytelen) (bytelen)
103104

104105
/** variable string *********************************************/
105106

0 commit comments

Comments
 (0)