* Fix writing of interface methods with calling convention

git-svn-id: trunk@37145 -
This commit is contained in:
michael 2017-09-05 07:07:59 +00:00
parent 4761b22ef3
commit 9ad7c50cdd

View File

@ -828,7 +828,7 @@ begin
if AProc.IsOverload then
Add(' overload;');
if AProc.CallingConvention<>ccDefault then
Add(' '+cCallingConventions[AProc.CallingConvention]);
Add(' '+cCallingConventions[AProc.CallingConvention]+';');
If Assigned(AProc.LibraryExpr) or Assigned(AProc.LibrarySymbolName) then
begin
if AProc.Parent is TPasClassType then