d3d8 2: Test refcount forwarding.

Markus Amsler markus.amsler at oribi.org
Tue Nov 14 04:16:49 CST 2006


H. Verbeet wrote:
> On 14/11/06, Markus Amsler <markus.amsler at oribi.org> wrote:
>> +extern int get_refcount(IUnknown *object);
> ---
>> -static int get_refcount(IUnknown *object)
>> +int get_refcount(IUnknown *object)
>
> We don't really want to do that. The idea is that a test should depend
> only on the .c file it's defined in. That's also why eg. the code to
> initialise a D3D device is duplicated everywhere.
Ok. In the following test headers are extern functions:

dlls/dinput/tests/dinput_test.h
dlls/dsound/tests/dsound_test.h
dlls/winmm/tests/winmm_test.h

so i thought it's fine. Should we remove them?



More information about the wine-devel mailing list