浏览代码

* fixed largeint declarations

git-svn-id: trunk@7781 -
florian 18 年之前
父节点
当前提交
30c6b37c8d
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 0
      packages/base/winunits/activex.pp
  2. 2 2
      rtl/objpas/types.pp

+ 1 - 0
packages/base/winunits/activex.pp

@@ -31,6 +31,7 @@ type
    TBStr = POleStr;
    TBStr = POleStr;
    PBStr = ^TBStr;
    PBStr = ^TBStr;
    TOleEnum = type LongWord;
    TOleEnum = type LongWord;
+   LargeInt = Types.LargeInt;
 
 
 {Glue types, should be linked to the proper windows unit types}
 {Glue types, should be linked to the proper windows unit types}
 TYPE
 TYPE

+ 2 - 2
rtl/objpas/types.pp

@@ -37,6 +37,8 @@ type
   PSmallInt = System.PSmallInt;
   PSmallInt = System.PSmallInt;
   PDouble = System.PDouble;
   PDouble = System.PDouble;
   PByte = System.PByte;
   PByte = System.PByte;
+  Largeint = int64;
+  LARGE_INT = LargeInt;
 
 
   TIntegerDynArray = array of Integer;
   TIntegerDynArray = array of Integer;
   TCardinalDynArray = array of Cardinal;
   TCardinalDynArray = array of Cardinal;
@@ -187,8 +189,6 @@ type
   PCLSID = PGUID;
   PCLSID = PGUID;
   TCLSID = TGUID;
   TCLSID = TGUID;
 
 
-  LARGE_INT = Int64;
-  Largeint = LARGE_INT;
   PDWord = ^DWord;
   PDWord = ^DWord;
 
 
   PDisplay = Pointer;
   PDisplay = Pointer;