Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d2364d5d
Commit
d2364d5d
authored
May 06, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
May 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a comment warning when a table must be kept sorted for later use with bsearch().
parent
42a61d7e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
tokenize.c
dlls/msi/tokenize.c
+1
-0
opengl_ext.c
dlls/opengl32/opengl_ext.c
+3
-1
parser.l
tools/widl/parser.l
+4
-1
typelib.c
tools/widl/typelib.c
+3
-2
No files found.
dlls/msi/tokenize.c
View file @
d2364d5d
...
...
@@ -77,6 +77,7 @@ static const WCHAR WHERE_W[] = { 'W','H','E','R','E',0 };
/*
** These are the keywords
** They MUST be in alphabetical order
*/
static
const
Keyword
aKeywordTable
[]
=
{
{
ADD_W
,
TK_ADD
},
...
...
dlls/opengl32/opengl_ext.c
View file @
d2364d5d
...
...
@@ -9706,7 +9706,9 @@ static void WINAPI wine_glWriteMaskEXT( GLuint res, GLuint in, GLenum outX, GLen
}
/* The table giving the correspondence between names and functions */
/* The table giving the correspondence between names and functions
* This table MUST be alphabetically sorted on the name field
*/
const
OpenGL_extension
extension_registry
[
1197
]
=
{
{
"glActiveStencilFaceEXT"
,
"GL_EXT_stencil_two_side"
,
(
void
*
)
wine_glActiveStencilFaceEXT
},
{
"glActiveTexture"
,
"GL_VERSION_1_3"
,
(
void
*
)
wine_glActiveTexture
},
...
...
tools/widl/parser.l
View file @
d2364d5d
...
...
@@ -198,6 +198,7 @@ struct keyword {
int token;
};
/* This table MUST be alphabetically sorted on the kw field */
static const struct keyword keywords[] = {
{"FALSE", tFALSE},
{"NULL", tNULL},
...
...
@@ -256,7 +257,9 @@ static const struct keyword keywords[] = {
};
#define NKEYWORDS (sizeof(keywords)/sizeof(keywords[0]))
/* keywords only recognized in attribute lists */
/* keywords only recognized in attribute lists
* This table MUST be alphabetically sorted on the kw field
*/
static const struct keyword attr_keywords[] =
{
{"aggregatable", tAGGREGATABLE},
...
...
tools/widl/typelib.c
View file @
d2364d5d
...
...
@@ -101,8 +101,9 @@ int is_array(const type_t *t)
}
/* List of oleauto types that should be recognized by name.
* (most of) these seem to be intrinsic types in mktyplib. */
* (most of) these seem to be intrinsic types in mktyplib.
* This table MUST be alphabetically sorted on the kw field.
*/
static
const
struct
oatype
{
const
char
*
kw
;
unsigned
short
vt
;
...
...
Write
Preview
Markdown
is supported
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