repo.or.cz
/
free-mc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
changelog fixes
[free-mc.git]
/
slang
/
slupper.c
blob
c493d72489a16fad96ea8542b39a25923c5cc44e
1
#include
"slinclud.h"
2
#include <ctype.h>
3
4
#include
"slang.h"
5
#include
"_slang.h"
6
7
#define DEFINE_PSLWC_TOUPPER_TABLE
8
#include
"slupper.h"
9
10
11
#define MODE_VARIABLE _pSLinterp_UTF8_Mode
12
SLwchar_Type
SLwchar_toupper
(
SLwchar_Type ch
)
13
{
14
if
(
MODE_VARIABLE
)
15
return
ch
+
SL_TOUPPER_LOOKUP
(
ch
);
16
17
return
toupper
(
ch
);
18
}