Browse Source

* some new types added like PBoolean

florian 24 years ago
parent
commit
49ed6221f4
1 changed files with 51 additions and 25 deletions
  1. 51 25
      rtl/inc/systemh.inc

+ 51 - 25
rtl/inc/systemh.inc

@@ -45,15 +45,15 @@
 ****************************************************************************}
 ****************************************************************************}
 
 
 Type
 Type
-  shortint = -128..127;
+  ShortInt = -128..127;
   SmallInt = -32768..32767;
   SmallInt = -32768..32767;
   { can't use -2147483648 because of a bug in 1.0.2's val() procedure (JM) }
   { can't use -2147483648 because of a bug in 1.0.2's val() procedure (JM) }
   Longint  = +(-2147483647-1)..$7fffffff;
   Longint  = +(-2147483647-1)..$7fffffff;
-  byte     = 0..255;
+  Byte     = 0..255;
   Word     = 0..65535;
   Word     = 0..65535;
-  dword    = cardinal;
-  longword = cardinal;
-  Integer  = smallint;
+  DWord    = Cardinal;
+  LongWord = Cardinal;
+  Integer  = SmallInt;
 
 
 { at least declare Turbo Pascal real types }
 { at least declare Turbo Pascal real types }
 {$ifdef i386}
 {$ifdef i386}
@@ -84,40 +84,63 @@ Type
 {$endif}
 {$endif}
 
 
 { Zero - terminated strings }
 { Zero - terminated strings }
-  PChar       = ^Char;
-  PPChar      = ^PChar;
+  PChar               = ^Char;
+  PPChar              = ^PChar;
 
 
-{ Delphi types }
-  TAnsiChar   = Char;
-  AnsiChar    = TAnsiChar;
-  PAnsiChar   = PChar;
-  PQWord      = ^QWord;
-  PInt64      = ^Int64;
+  TAnsiChar           = Char;
+  AnsiChar            = TAnsiChar;
+  PAnsiChar           = ^TAnsiChar;
+  PPAnsiChar          = ^PAnsiChar;
 
 
-  currency            = int64;
+  Currency            = Int64;
   HRESULT             = Longint;
   HRESULT             = Longint;
   TDateTime           = Double;
   TDateTime           = Double;
   Error               = Longint;
   Error               = Longint;
 
 
-  PSmallInt           = ^Smallint;
-  PInteger            = ^Longint;
   PSingle             = ^Single;
   PSingle             = ^Single;
   PDouble             = ^Double;
   PDouble             = ^Double;
   PCurrency           = ^Currency;
   PCurrency           = ^Currency;
+{$ifdef SUPPORT_COMP}
+  PComp               = ^Comp;
+{$endif SUPPORT_COMP}
+{$ifdef SUPPORT_EXTENDED}
+  PExtended           = ^Extended;
+{$endif SUPPORT_EXTENDED}
+
+  PSmallInt           = ^Smallint;
+  PInteger            = ^Longint;
+  PByte               = ^Byte;
+  PWord               = ^word;
+  PDWord              = ^DWord;
+  PLongWord           = ^LongWord;
+  PLongint            = ^Longint;
+  PQWord              = ^QWord;
+  PInt64              = ^Int64;
+
+  PPointer            = ^Pointer;
+  PPPointer           = ^PPointer;
+
+  PBoolean            = ^Boolean; 
+  PWordBool           = ^WordBool;
+  PLongBool           = ^LongBool;
+
+  PShortString        = ^ShortString;
+  PAnsiString         = ^AnsiString;
+
   PDate               = ^TDateTime;
   PDate               = ^TDateTime;
-  PPWideChar          = ^PWideChar;
   PError              = ^Error;
   PError              = ^Error;
-  PWordBool           = ^WordBool;
-  PByte               = ^Byte;
-  PWord    = ^word;
-  PDWord   = ^DWord;
-  PLongint = ^Longint;
-  TTextLineBreakStyle = (tlbsLF,tlbsCRLF,tlbsCR);
+{$ifdef HASVARIANT}
+  PVariant            = ^Variant;
+{$endif HASVARIANT}
 
 
 {$ifdef HASWIDECHAR}
 {$ifdef HASWIDECHAR}
-  PWideChar   = ^WideChar;
+  PWideChar           = ^WideChar;
+  PPWideChar          = ^PWideChar;
+  PWideString         = ^WideString;
 {$endif HASWIDECHAR}
 {$endif HASWIDECHAR}
 
 
+  TTextLineBreakStyle = (tlbsLF,tlbsCRLF,tlbsCR);
+
 { procedure type }
 { procedure type }
   TProcedure  = Procedure;
   TProcedure  = Procedure;
 
 
@@ -487,7 +510,10 @@ const
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.17  2001-03-21 23:29:40  florian
+  Revision 1.18  2001-03-22 23:26:05  florian
+    * some new types added like PBoolean
+
+  Revision 1.17  2001/03/21 23:29:40  florian
     + sLineBreak and misc. stuff for Kylix compatiblity
     + sLineBreak and misc. stuff for Kylix compatiblity
 
 
   Revision 1.16  2001/01/24 21:47:18  florian
   Revision 1.16  2001/01/24 21:47:18  florian