Author: tkreuzer
Date: Tue Nov 9 13:07:59 2010
New Revision: 49540
URL:
http://svn.reactos.org/svn/reactos?rev=49540&view=rev
Log:
[SPEC2PDEF]
Handle varargs like cdecl
Modified:
branches/cmake-bringup/tools/spec2pdef/spec2pdef.c
Modified: branches/cmake-bringup/tools/spec2pdef/spec2pdef.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/tools/spec2pdef/s…
==============================================================================
--- branches/cmake-bringup/tools/spec2pdef/spec2pdef.c [iso-8859-1] (original)
+++ branches/cmake-bringup/tools/spec2pdef/spec2pdef.c [iso-8859-1] Tue Nov 9 13:07:59
2010
@@ -95,7 +95,8 @@
{
pexp->nCallingConvention = CC_STDCALL;
}
- else if (_strcmpx(pcCurrent, "cdecl ") == 0)
+ else if ( (_strcmpx(pcCurrent, "cdecl ") == 0) ||
+ (_strcmpx(pcCurrent, "varargs ") == 0) )
{
pexp->nCallingConvention = CC_CDECL;
}