瀏覽代碼

+ Removed S_OK declarations, they are in objpash.inc

michael 20 年之前
父節點
當前提交
81fd0bb72c
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      rtl/inc/objpas.inc

+ 6 - 5
rtl/inc/objpas.inc

@@ -93,8 +93,7 @@
       end;
       end;
 
 
     function fpc_intf_as(const S: pointer; const iid: TGUID): pointer;[public,alias: 'FPC_INTF_AS']; {$ifdef hascompilerproc} compilerproc; {$endif}
     function fpc_intf_as(const S: pointer; const iid: TGUID): pointer;[public,alias: 'FPC_INTF_AS']; {$ifdef hascompilerproc} compilerproc; {$endif}
-      const
-        S_OK = 0;
+
       var
       var
         tmpi: pointer; // _AddRef before _Release
         tmpi: pointer; // _AddRef before _Release
       begin
       begin
@@ -110,8 +109,7 @@
 
 
 
 
     function fpc_class_as_intf(const S: pointer; const iid: TGUID): pointer;[public,alias: 'FPC_CLASS_AS_INTF']; {$ifdef hascompilerproc} compilerproc; {$endif}
     function fpc_class_as_intf(const S: pointer; const iid: TGUID): pointer;[public,alias: 'FPC_CLASS_AS_INTF']; {$ifdef hascompilerproc} compilerproc; {$endif}
-      const
-        S_OK = 0;
+
       var
       var
         tmpi: pointer; // _AddRef before _Release
         tmpi: pointer; // _AddRef before _Release
       begin
       begin
@@ -766,7 +764,10 @@
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.49  2005-04-28 17:58:18  florian
+  Revision 1.50  2005-05-04 08:56:03  michael
+  + Removed S_OK declarations, they are in objpash.inc
+
+  Revision 1.49  2005/04/28 17:58:18  florian
     * getinterface fixed
     * getinterface fixed
 
 
   Revision 1.48  2005/04/05 21:05:31  peter
   Revision 1.48  2005/04/05 21:05:31  peter