It seem that we both are trying to improve winetest. It would be nice if you commented on what you think about my spec2pm script for automatically generating Perl modules for calling the Windows API. In the mean time here is some of not so controversal parts of the changes merged with the current CVS. Also, I'm not sure that you are trying to do: The files generated by make_symbols are quite useless, they just contain a lot of LOCAL variables. Here is a patch that makes them more useful. This is perhaps what you meant to do. ----8<---- *** winetest * programs/winetest/include/wine.pm: Added the possibillity (it is optional for backward compabillity) to specify argument types in order to fix a "bug" concerning integer/string scalars. It will probably be useful for other things in the future as well like rejecting wrong number of arguments, currently it only warns about it. *** make_symbols * programs/winetest/make_symbols: - Made the Perl module generated by make_symbols a real exporting module. - Use constants insteed of variables.
Attachment:
winetest.diff
Description: Binary data
Attachment:
make_symbols.diff
Description: Binary data