Explorar o código

* use calling convention that is not the default on any platform

git-svn-id: trunk@14399 -
Jonas Maebe %!s(int64=15) %!d(string=hai) anos
pai
achega
0247d0c2ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/webtbf/tw15303.pp

+ 1 - 1
tests/webtbf/tw15303.pp

@@ -17,7 +17,7 @@ type
   TClass1 = class(TInterfacedObject, IIntf1, IIntf2)
   TClass1 = class(TInterfacedObject, IIntf1, IIntf2)
     private
     private
       FIntf2:IIntf2;
       FIntf2:IIntf2;
-      function GetIntf2:IIntf2;stdcall; // <--- should be forbidden
+      function GetIntf2:IIntf2;cdecl; // <--- should be forbidden
     public
     public
       constructor Create;
       constructor Create;
       property I:IIntf2 read GetIntf2 implements IIntf2;
       property I:IIntf2 read GetIntf2 implements IIntf2;