winapi_test: Improve DECLSPEC_ALIGN() support

Francois Gouget fgouget at free.fr
Tue Aug 31 21:24:17 CDT 2004


Changelog:

 * tools/winapi/winapi_test

   Don't output the DECLSPEC_ALIGN() directives in the TYPE_FIELD tests.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
          tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY
-------------- next part --------------
Index: tools/winapi/winapi_test
===================================================================
RCS file: /var/cvs/wine/tools/winapi/winapi_test,v
retrieving revision 1.17
diff -u -r1.17 winapi_test
--- tools/winapi/winapi_test	20 Aug 2004 19:33:17 -0000	1.17
+++ tools/winapi/winapi_test	1 Sep 2004 00:57:45 -0000
@@ -706,6 +706,7 @@
 
     foreach my $field ($type->fields()) {
 	my $field_type_name = $field->type_name;
+	$field_type_name =~ s/\s+DECLSPEC_ALIGN\(\d+\)//;
 	my $field_name = $field->name;
 	my $field_size = $field->size;
 	my $field_offset = $field->offset;


More information about the wine-patches mailing list