Hi Francois,
I plan to flatten the ddraw directory and perform some file renaming. This will fix the problem once done.
Bye, Christian
Message du 20/04/05 11:39 De : "Francois Gouget" A : wine-patches@winehq.org Copie à : Objet : Ugly dclipper winapi_check hack
winapi_check assumes that all the functions declared in a given spec file are implemented in a C file located in the same directory. This seems to hold true except for DirectDrawCreateClipper() which is implemented in a sub-directory.
This causes winapi_check to not notice the DirectDrawCreateClipper() implementation and to complain that it's missing. So I hacked it so it also takes into account C files located in ddraw/dclipper/ for ddraw.spec.
If anyone has an idea for a better fix (or if you know of other APIs that should have the same problem) I'm all ears as I don't like this solution much.
Changelog:
- tools/winapi_check/modules.pm
Francois Gouget Hack so winapi_check finds the DirectDrawCreateClipper() implementation in ddraw/dclipper/main.c.
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY> [ p20050420-dclipper.diff (0.8 Ko) ]
On Wed, 20 Apr 2005, Christian Costa wrote:
Hi Francois,
I plan to flatten the ddraw directory and perform some file renaming. This will fix the problem once done.
Great. Then it's best not to apply my patch. This way we won't have to remove it later.