diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-10 17:36:06 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-10 17:37:32 +0100 |
commit | 4e14d3dff17f798dfed9e69f759cdfa6103ff03a (patch) | |
tree | f244fc1e43203ab08c35c21e6be5d437a7642fe0 /libmsi/table.c | |
parent | 9a1151d6474ac7daebc263edc2f37caf3b4c9955 (diff) | |
parent | 92243bbcde2f22b3ada7b665acc70382de369ddb (diff) | |
download | msitools-4e14d3dff17f798dfed9e69f759cdfa6103ff03a.tar.gz msitools-4e14d3dff17f798dfed9e69f759cdfa6103ff03a.tar.xz msitools-4e14d3dff17f798dfed9e69f759cdfa6103ff03a.zip |
Merge branch 'pre-gsf'
Diffstat (limited to 'libmsi/table.c')
-rw-r--r-- | libmsi/table.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libmsi/table.c b/libmsi/table.c index 4b54edf..da6c376 100644 --- a/libmsi/table.c +++ b/libmsi/table.c @@ -783,7 +783,7 @@ unsigned msi_create_table( LibmsiDatabase *db, const char *name, column_info *co if( r ) goto err; - rec = libmsi_record_create( 1 ); + rec = libmsi_record_new( 1 ); if( !rec ) goto err; @@ -814,7 +814,7 @@ unsigned msi_create_table( LibmsiDatabase *db, const char *name, column_info *co if( r ) goto err; - rec = libmsi_record_create( 4 ); + rec = libmsi_record_new( 4 ); if( !rec ) goto err; @@ -1233,7 +1233,7 @@ static unsigned _libmsi_add_stream( LibmsiDatabase *db, const char *name, GsfInp TRACE("%p %s %p\n", db, debugstr_a(name), data); - rec = libmsi_record_create( 2 ); + rec = libmsi_record_new( 2 ); if ( !rec ) return LIBMSI_RESULT_OUTOFMEMORY; @@ -1807,7 +1807,7 @@ static unsigned table_view_remove_column(LibmsiView *view, const char *table, un LibmsiView *columns = NULL; unsigned row, r; - rec = libmsi_record_create(2); + rec = libmsi_record_new(2); if (!rec) return LIBMSI_RESULT_OUTOFMEMORY; @@ -1879,7 +1879,7 @@ static unsigned table_view_add_column(LibmsiView *view, const char *table, unsig LibmsiRecord *rec; unsigned r, i; - rec = libmsi_record_create(4); + rec = libmsi_record_new(4); if (!rec) return LIBMSI_RESULT_OUTOFMEMORY; @@ -1930,7 +1930,7 @@ static unsigned table_view_drop(LibmsiView *view) return r; } - rec = libmsi_record_create(1); + rec = libmsi_record_new(1); if (!rec) return LIBMSI_RESULT_OUTOFMEMORY; @@ -2155,7 +2155,7 @@ static LibmsiRecord *msi_get_transform_record( const LibmsiTableView *tv, const mask = rawdata[0] | (rawdata[1] << 8); rawdata += 2; - rec = libmsi_record_create( tv->num_cols ); + rec = libmsi_record_new( tv->num_cols ); if( !rec ) return rec; |