FPCAdds unit
Contains additional types and routines not currently available in FPC.
fpcadds.pas contains code in its initialization section to set
the code page for conversions and the
RTL file system to
CP_UTF8. The initialization code is included only for platforms or
OS-es where the
RTL (
Run-Time Library) is UTF-8-enabled.
fpcadds.pas is part of the
lazutils package.
Procedures and functions
AlignToInt | function | Aligns the specified pointer to the size of an Integer data type. |
AlignToPtr | function | Aligns the specified pointer to the boundaries required for the FPC compiler. |
GetCompiledTargetCPU | function | |
GetCompiledTargetOS | function | |
StrToByte | function | |
StrToByteDef | function | |
StrToShortInt | function | |
StrToShortIntDef | function | |
StrToSmallInt | function | |
StrToSmallIntDef | function | |
StrToWord | function | Converts the value in a String to a Word data type. |
StrToWordDef | function | |
TryStrToByte | function | |
TryStrToShortInt | function | |
TryStrToSmallInt | function | |
TryStrToWord | function |
Types
TCompareMemSize | type | Alias to the PtrUInt type used when comparing memory blocks. |
TMemStreamSeekType | type | Alias to the PtrInt type used as the origin for TMemoryStream seek operations. |
TStreamSeekType | type | Alias to the Int64 type used as the origin for TStream seek operations. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
