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
2018de00
Commit
2018de00
authored
May 28, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
May 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Constify some parameters.
parent
50d75d48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
create.c
dlls/msi/create.c
+4
-4
query.h
dlls/msi/query.h
+1
-1
sql.y
dlls/msi/sql.y
+2
-2
No files found.
dlls/msi/create.c
View file @
2018de00
...
...
@@ -42,7 +42,7 @@ typedef struct tagMSICREATEVIEW
{
MSIVIEW
view
;
MSIDATABASE
*
db
;
LP
WSTR
name
;
LP
CWSTR
name
;
BOOL
bIsTemp
;
BOOL
hold
;
column_info
*
col_info
;
...
...
@@ -145,9 +145,9 @@ static const MSIVIEWOPS create_ops =
NULL
,
};
static
UINT
check_columns
(
column_info
*
col_info
)
static
UINT
check_columns
(
co
nst
co
lumn_info
*
col_info
)
{
column_info
*
c1
,
*
c2
;
co
nst
co
lumn_info
*
c1
,
*
c2
;
/* check for two columns with the same name */
for
(
c1
=
col_info
;
c1
;
c1
=
c1
->
next
)
...
...
@@ -158,7 +158,7 @@ static UINT check_columns( column_info *col_info )
return
ERROR_SUCCESS
;
}
UINT
CREATE_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
LPWSTR
table
,
UINT
CREATE_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
LP
C
WSTR
table
,
column_info
*
col_info
,
BOOL
hold
)
{
MSICREATEVIEW
*
cv
=
NULL
;
...
...
dlls/msi/query.h
View file @
2018de00
...
...
@@ -98,7 +98,7 @@ UINT ORDER_CreateView( MSIDATABASE *db, MSIVIEW **view, MSIVIEW *table,
UINT
WHERE_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
MSIVIEW
*
table
,
struct
expr
*
cond
);
UINT
CREATE_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
LPWSTR
table
,
UINT
CREATE_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
LP
C
WSTR
table
,
column_info
*
col_info
,
BOOL
hold
);
UINT
INSERT_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
LPCWSTR
table
,
...
...
dlls/msi/sql.y
View file @
2018de00
...
...
@@ -54,7 +54,7 @@ static UINT SQL_getstring( void *info, const struct sql_str *strdata, LPWSTR *st
static INT SQL_getint( void *info );
static int sql_lex( void *SQL_lval, SQL_input *info );
static LPWSTR parser_add_table( LPWSTR list, LPWSTR table );
static LPWSTR parser_add_table( LPWSTR list, LP
C
WSTR table );
static void *parser_alloc( void *info, unsigned int sz );
static column_info *parser_alloc_column( void *info, LPCWSTR table, LPCWSTR column );
...
...
@@ -696,7 +696,7 @@ number:
%%
static LPWSTR parser_add_table(LPWSTR list, LPWSTR table)
static LPWSTR parser_add_table(LPWSTR list, LP
C
WSTR table)
{
DWORD size = lstrlenW(list) + lstrlenW(table) + 2;
static const WCHAR space[] = {' ',0};
...
...
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