Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
566e77ba
Commit
566e77ba
authored
24 years ago
by
Erik Hofman
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added missing const to external tables definitions.
parent
44b5bf59
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/wine/unicode.h
+3
-3
3 additions, 3 deletions
include/wine/unicode.h
with
3 additions
and
3 deletions
include/wine/unicode.h
+
3
−
3
View file @
566e77ba
...
@@ -63,13 +63,13 @@ static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch
...
@@ -63,13 +63,13 @@ static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch
static
inline
WCHAR
tolowerW
(
WCHAR
ch
)
static
inline
WCHAR
tolowerW
(
WCHAR
ch
)
{
{
extern
WCHAR
casemap_lower
[];
extern
const
WCHAR
casemap_lower
[];
return
ch
+
casemap_lower
[
casemap_lower
[
ch
>>
8
]
+
(
ch
&
0xff
)];
return
ch
+
casemap_lower
[
casemap_lower
[
ch
>>
8
]
+
(
ch
&
0xff
)];
}
}
static
inline
WCHAR
toupperW
(
WCHAR
ch
)
static
inline
WCHAR
toupperW
(
WCHAR
ch
)
{
{
extern
WCHAR
casemap_upper
[];
extern
const
WCHAR
casemap_upper
[];
return
ch
+
casemap_upper
[
casemap_upper
[
ch
>>
8
]
+
(
ch
&
0xff
)];
return
ch
+
casemap_upper
[
casemap_upper
[
ch
>>
8
]
+
(
ch
&
0xff
)];
}
}
...
@@ -77,7 +77,7 @@ static inline WCHAR toupperW( WCHAR ch )
...
@@ -77,7 +77,7 @@ static inline WCHAR toupperW( WCHAR ch )
/* and the C2_* type in the high 4 bits */
/* and the C2_* type in the high 4 bits */
static
inline
unsigned
short
get_char_typeW
(
WCHAR
ch
)
static
inline
unsigned
short
get_char_typeW
(
WCHAR
ch
)
{
{
extern
unsigned
short
wctype_table
[];
extern
const
unsigned
short
wctype_table
[];
return
wctype_table
[
wctype_table
[
ch
>>
8
]
+
(
ch
&
0xff
)];
return
wctype_table
[
wctype_table
[
ch
>>
8
]
+
(
ch
&
0xff
)];
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment