mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 05:37:41 +02:00
* Fix writing of interface methods with calling convention
git-svn-id: trunk@37145 -
This commit is contained in:
parent
4761b22ef3
commit
9ad7c50cdd
@ -828,7 +828,7 @@ begin
|
|||||||
if AProc.IsOverload then
|
if AProc.IsOverload then
|
||||||
Add(' overload;');
|
Add(' overload;');
|
||||||
if AProc.CallingConvention<>ccDefault then
|
if AProc.CallingConvention<>ccDefault then
|
||||||
Add(' '+cCallingConventions[AProc.CallingConvention]);
|
Add(' '+cCallingConventions[AProc.CallingConvention]+';');
|
||||||
If Assigned(AProc.LibraryExpr) or Assigned(AProc.LibrarySymbolName) then
|
If Assigned(AProc.LibraryExpr) or Assigned(AProc.LibrarySymbolName) then
|
||||||
begin
|
begin
|
||||||
if AProc.Parent is TPasClassType then
|
if AProc.Parent is TPasClassType then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user