On 14/11/06, Markus Amsler markus.amsler@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.
H. Verbeet wrote:
On 14/11/06, Markus Amsler markus.amsler@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?
On 14/11/06, Markus Amsler markus.amsler@oribi.org wrote:
so i thought it's fine. Should we remove them?
Possibly.