diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 10:31:27 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:26:29 +0100 |
commit | 73d6f4144fc246161652e43351253a7e9a8ef33e (patch) | |
tree | 5c4c8969d494b90aae675d1a3c68b18bed7d36e6 /libmsi/insert.c | |
parent | 03613cc7fb190dd94623ebe96c72329d4f1d1475 (diff) | |
download | msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.gz msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.xz msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.zip |
get rid of P/LP types
Diffstat (limited to 'libmsi/insert.c')
-rw-r--r-- | libmsi/insert.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libmsi/insert.c b/libmsi/insert.c index bb25729..205b715 100644 --- a/libmsi/insert.c +++ b/libmsi/insert.c @@ -107,8 +107,8 @@ err: */ static BOOL msi_columns_in_order(MSIINSERTVIEW *iv, UINT col_count) { - LPCWSTR a; - LPCWSTR b; + const WCHAR *a; + const WCHAR *b; UINT i; for (i = 1; i <= col_count; i++) @@ -129,8 +129,8 @@ static UINT msi_arrange_record(MSIINSERTVIEW *iv, MSIRECORD **values) MSIRECORD *padded; UINT col_count, val_count; UINT r, i, colidx; - LPCWSTR a; - LPCWSTR b; + const WCHAR *a; + const WCHAR *b; r = iv->table->ops->get_dimensions(iv->table, NULL, &col_count); if (r != ERROR_SUCCESS) @@ -278,8 +278,8 @@ static UINT INSERT_get_dimensions( struct tagMSIVIEW *view, UINT *rows, UINT *co return sv->ops->get_dimensions( sv, rows, cols ); } -static UINT INSERT_get_column_info( struct tagMSIVIEW *view, UINT n, LPCWSTR *name, - UINT *type, BOOL *temporary, LPCWSTR *table_name ) +static UINT INSERT_get_column_info( struct tagMSIVIEW *view, UINT n, const WCHAR **name, + UINT *type, BOOL *temporary, const WCHAR **table_name ) { MSIINSERTVIEW *iv = (MSIINSERTVIEW*)view; MSIVIEW *sv; @@ -358,7 +358,7 @@ static UINT count_column_info( const column_info *ci ) return n; } -UINT INSERT_CreateView( MSIDATABASE *db, MSIVIEW **view, LPCWSTR table, +UINT INSERT_CreateView( MSIDATABASE *db, MSIVIEW **view, const WCHAR *table, column_info *columns, column_info *values, BOOL temp ) { MSIINSERTVIEW *iv = NULL; |