Module: wine Branch: master Commit: d7c0e274e88408698862be28a7e49296149f37b9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7c0e274e88408698862be28a7...
Author: Eric Pouech eric.pouech@orange.fr Date: Mon Jan 21 22:05:46 2008 +0100
msvcrt: symbol undecoration: Added support for a couple of more calling conventions.
---
dlls/msvcrt/undname.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/undname.c b/dlls/msvcrt/undname.c index 6c7febd..d1da19b 100644 --- a/dlls/msvcrt/undname.c +++ b/dlls/msvcrt/undname.c @@ -624,7 +624,8 @@ static BOOL get_calling_convention(char ch, const char** call_conv, case 'E': case 'F': *call_conv = "thiscall"; break; case 'G': case 'H': *call_conv = "stdcall"; break; case 'I': case 'J': *call_conv = "fastcall"; break; - case 'K': break; + case 'K': case 'L': break; + case 'M': *call_conv = "clrcall"; break; default: ERR("Unknown calling convention %c\n", ch); return FALSE; } } @@ -638,7 +639,8 @@ static BOOL get_calling_convention(char ch, const char** call_conv, case 'E': case 'F': *call_conv = "__thiscall"; break; case 'G': case 'H': *call_conv = "__stdcall"; break; case 'I': case 'J': *call_conv = "__fastcall"; break; - case 'K': break; + case 'K': case 'L': break; + case 'M': *call_conv = "__clrcall"; break; default: ERR("Unknown calling convention %c\n", ch); return FALSE; } }