-{$ifdef cpu386}{$define i386}{$endif}\r
-{$ifdef i386}{$define ENDIAN_LITTLE}{$endif}\r
+\r
+{$include pgtypes.inc}\r
\r
{$include uint32.inc}\r
\r
\r
{$include uint32.inc}\r
\r
--- /dev/null
+{$ifdef cpu386}{$define i386}{$endif}
+{$ifdef i386}{$define ENDIAN_LITTLE}{$endif}
+
\r
unit pgtypes;\r
interface\r
\r
unit pgtypes;\r
interface\r
+\r
+{$include pgtypes.inc}\r
+\r
- {$ifdef cpu386}{$define i386}{$endif}\r
{$ifdef i386}\r
taddrint=longint;\r
{$else}\r
{$ifdef i386}\r
taddrint=longint;\r
{$else}\r
thostname = ansistring;\r
{ string type for storing data (bytes) }\r
tbufferstring = ansistring;\r
thostname = ansistring;\r
{ string type for storing data (bytes) }\r
tbufferstring = ansistring;\r
+ \r
+ {another name for a string with bytes, not implying it's to be used for a buffer}\r
+ bytestring = tbufferstring;\r
+\r
+ {a char that is always one byte}\r
+ bytechar = ansichar;\r
\r
implementation\r
end.\r
\r
implementation\r
end.\r