ntdll: Fix RtlAssert() prototype.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Nikolay Sivov 2016-11-29 09:50:19 +03:00 committed by Alexandre Julliard
parent 6d89f58ec2
commit 1289a860de
3 changed files with 5 additions and 4 deletions

View File

@ -448,7 +448,7 @@
@ stdcall RtlAreBitsClear(ptr long long)
@ stdcall RtlAreBitsSet(ptr long long)
# @ stub RtlAssert2
@ stdcall RtlAssert(ptr ptr long long)
@ stdcall RtlAssert(ptr ptr long str)
# @ stub RtlCancelTimer
@ stdcall -norelay RtlCaptureContext(ptr)
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr)

View File

@ -564,9 +564,10 @@ void WINAPI RtlCopyMemory(void *dest, const void *src, SIZE_T len)
* NOTES
* Not implemented in non-debug versions.
*/
void WINAPI RtlAssert(LPVOID x1,LPVOID x2,DWORD x3, DWORD x4)
void WINAPI RtlAssert(void *assertion, void *filename, ULONG linenumber, char *message)
{
FIXME("(%p,%p,0x%08x,0x%08x),stub\n",x1,x2,x3,x4);
FIXME("(%s, %s, %u, %s): stub\n", debugstr_a((char*)assertion), debugstr_a((char*)filename),
linenumber, debugstr_a(message));
}
/*************************************************************************

View File

@ -945,7 +945,7 @@
@ stdcall RtlAreAnyAccessesGranted(long long) ntdll.RtlAreAnyAccessesGranted
@ stdcall RtlAreBitsClear(ptr long long) ntdll.RtlAreBitsClear
@ stdcall RtlAreBitsSet(ptr long long) ntdll.RtlAreBitsSet
@ stdcall RtlAssert(ptr ptr long long) ntdll.RtlAssert
@ stdcall RtlAssert(ptr ptr long str) ntdll.RtlAssert
@ stdcall -norelay RtlCaptureContext(ptr) ntdll.RtlCaptureContext
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
@ stdcall RtlCharToInteger(ptr long ptr) ntdll.RtlCharToInteger