Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
afc50635
Commit
afc50635
authored
Dec 28, 2016
by
Damien George
Browse files
py/unicode: Comment-out unused function unichar_isprint.
parent
eae819c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/unicode.c
View file @
afc50635
...
@@ -133,9 +133,11 @@ bool unichar_isalpha(unichar c) {
...
@@ -133,9 +133,11 @@ bool unichar_isalpha(unichar c) {
return
c
<
128
&&
(
attr
[
c
]
&
FL_ALPHA
)
!=
0
;
return
c
<
128
&&
(
attr
[
c
]
&
FL_ALPHA
)
!=
0
;
}
}
/* unused
bool unichar_isprint(unichar c) {
bool unichar_isprint(unichar c) {
return c < 128 && (attr[c] & FL_PRINT) != 0;
return c < 128 && (attr[c] & FL_PRINT) != 0;
}
}
*/
bool
unichar_isdigit
(
unichar
c
)
{
bool
unichar_isdigit
(
unichar
c
)
{
return
c
<
128
&&
(
attr
[
c
]
&
FL_DIGIT
)
!=
0
;
return
c
<
128
&&
(
attr
[
c
]
&
FL_DIGIT
)
!=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment