[Mono-dev] WriteWindowsDebugString Patch
Jon Chambers
joncham at gmail.com
Tue Oct 17 17:26:19 EDT 2006
The icall for
ves_icall_System_Diagnostics_DefaultTraceListener_WriteWindowsDebugString
was calling the OutputDebugString function in kernel32 via loading the
module and getting the symbol. The function pointer should have been
declared as STDCALL. But, I couldn't see a reason why we couldn't just call
OutputDebugString directly, since it's on all windows platforms mono
supports so I just made that change instead.
Please review changes.
Signed-off-by: Jonathan Chambers <joncham at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061017/d3e442ed/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icall.diff
Type: text/x-patch
Size: 1267 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061017/d3e442ed/attachment.bin
More information about the Mono-devel-list
mailing list