Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Alexandre Julliard
1492028a96
Get rid of the winapi_check_dir config parameter.
2005-05-04 10:43:00 +00:00
Francois Gouget
a8b09d11ca
Add function prototypes.
...
Change the way functions are called and either alter their declaration
order or predeclare them so perl can check the prototypes.
2004-10-26 00:12:21 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Francois Gouget
7421a7b560
Don't output the DECLSPEC_ALIGN() directives in the TYPE_FIELD tests.
2004-09-01 04:53:22 +00:00
Francois Gouget
09747e50e7
Fix packing bug in shlobj.h.
...
Fix the declaration of bitfields so their layout matches what MSVC
generates.
Modify winapi_test to compute the bitfields size/alignment like MSVC
does.
Update the impacted generated.c files.
2004-08-20 19:33:17 +00:00
Francois Gouget
e69f38551e
Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros.
...
Add a couple base types that winapi_test does not know how to parse.
Fix a bug so that 'signed' and 'unsigned' are recognised as valid
types.
2004-08-16 19:46:09 +00:00
Hans Leidekker
e2bf33437d
- Assume 8 byte maximum alignment.
...
- Sync type testing data with the headers.
2004-05-04 00:38:27 +00:00
Francois Gouget
b358b7ad4f
Generate ok("...\n") calls.
2004-01-20 21:50:01 +00:00
Alexandre Julliard
2f31228dfe
Specify include quotes in the tests.dat file.
2003-10-24 04:43:16 +00:00
Francois Gouget
56b63e85c3
Update tests.dat to include the various #include fixes.
...
gcc says that sizeof(long double)==12.
Fix the detection of pragma packs to detect #include <...>.
Generate ok("...\n") calls.
2003-10-21 23:48:13 +00:00
Daniel Marmier
a613de2a22
Use #ifdef instead of #if for all feature tests.
...
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Patrik Stridvall
b3da4abc57
Added tests for a few new DLLs.
2002-11-12 01:05:17 +00:00
Patrik Stridvall
aac9ff400c
- Added code for detection of missing types.
...
- Added missing types.
- Added a function for each type test to improve compiling with -O2.
2002-11-06 21:58:50 +00:00
Patrik Stridvall
5554838292
Added tests for normal types (not just structures).
2002-11-04 22:40:13 +00:00
Patrik Stridvall
1a6898b8ef
Added support for excluding optional fields.
2002-10-29 21:23:44 +00:00
Patrik Stridvall
3007bd437e
Minor modifications and improvements.
2002-10-23 18:44:46 +00:00
Patrik Stridvall
90fb04604d
Don't use a special header file for macros used in generated tests.
...
Have a copy in each generated file instead.
2002-10-15 01:24:03 +00:00
Patrik Stridvall
65442cd763
- Improved alignment and offset calculations.
...
- Reorganized and improved enum/union/struct parsing.
2002-10-11 17:53:13 +00:00
Patrik Stridvall
91a3686853
Reorganized the code for better support of data structures parsing.
2002-10-09 18:12:02 +00:00
Patrik Stridvall
df6d37e0f2
- Minor improvements.
...
- Added tests for GDI and USER.
2002-10-02 19:54:14 +00:00
Patrik Stridvall
a40a4f719e
- Added a new tool winapi_test for generating tests.
...
- Added a data structure packing test to winapi_test.
- Reorganized and optimized a few things.
2002-10-01 18:10:54 +00:00