mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[SDK] wine/test.h: reduce diff to wine-10.0 (#8710)
* test.h: remove obsolete wine specific definitions - __winetest_cdecl, __winetest_va_* aren't used anymore * Add missing winetest_ prefixes * Rename winetest_get_thread_data * Update global variables * Move winetest_thread_data * Make winetest_get_thread_data extern * [ISAPNP_UNITTEST] Use static inline instead of FORCEINLINE (GCC complains when a non-static inine function calls a static inline function) * Move winetest_win_skip and make it static * Move winetest_start_todo and make it static inline * Move winetest_start_todo and make it static inline * Move winetest_get_failures and winetest_add_failures and make them static * Add winetest_print_lock and winetest_print_unlock * Add winetest_get_time and winetest_elapsed * Add flaky support * Add exc_filter and running_under_wine * Move reactos specific things together
This commit is contained in:
@@ -26,7 +26,7 @@ typedef PVOID PDEVICE_OBJECT;
|
||||
#define DPRINT1(...) do { if (0) { trace(__VA_ARGS__); } } while (0)
|
||||
#define KeStallExecutionProcessor(MicroSeconds)
|
||||
|
||||
FORCEINLINE
|
||||
static inline
|
||||
PVOID
|
||||
ExAllocatePoolWithTag(ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag)
|
||||
{
|
||||
@@ -40,7 +40,7 @@ ExAllocatePoolWithTag(ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag)
|
||||
return (PVOID)(Mem + 2);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
static inline
|
||||
PVOID
|
||||
ExAllocatePoolZero(ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag)
|
||||
{
|
||||
@@ -52,7 +52,7 @@ ExAllocatePoolZero(ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag)
|
||||
return Result;
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
static inline
|
||||
VOID
|
||||
ExFreePoolWithTag(PVOID MemPtr, ULONG Tag)
|
||||
{
|
||||
@@ -63,7 +63,7 @@ ExFreePoolWithTag(PVOID MemPtr, ULONG Tag)
|
||||
HeapFree(GetProcessHeap(), 0, Mem);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
static inline
|
||||
SIZE_T
|
||||
GetPoolAllocSize(PVOID MemPtr)
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user