Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7ddbd1b

Browse filesBrowse files
committed
unicode: Add trivial implementation of unichar_charlen().
1 parent b0bb458 commit 7ddbd1b
Copy full SHA for 7ddbd1b

1 file changed

+1Lines changed: 1 addition & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎py/misc.h‎

Copy file name to clipboardExpand all lines: py/misc.h
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.