Ugly dclipper winapi_check hack

Christian Costa titan.costa at wanadoo.fr
Wed Apr 20 05:43:33 CDT 2005


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 at 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 at free.fr http://fgouget.free.fr/
> tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY>
> [ p20050420-dclipper.diff (0.8 Ko) ]





More information about the wine-devel mailing list