mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-20 23:59:33 +01:00
* Fix string type in AnsiLastChar declaration
This commit is contained in:
parent
cb7a8dfea7
commit
ea63bfb32f
@ -538,7 +538,7 @@ begin
|
||||
AnsiSameStr:=AnsiCompareStr(S1,S2)=0;
|
||||
end;
|
||||
|
||||
function AnsiLastChar(const S: string): PAnsiChar;
|
||||
function AnsiLastChar(const S: AnsiString): PAnsiChar;
|
||||
|
||||
begin
|
||||
//!! No multibyte yet, so we return the last one.
|
||||
|
||||
@ -100,7 +100,7 @@ function AnsiStrLComp(S1, S2: PAnsiChar; MaxLen: SizeUInt): Integer;{$ifdef SYSU
|
||||
function AnsiStrLIComp(S1, S2: PAnsiChar; MaxLen: SizeUInt): Integer;{$ifdef SYSUTILSINLINE}inline;{$endif}
|
||||
function AnsiStrLower(Str: PAnsiChar): PAnsiChar;{$ifdef SYSUTILSINLINE}inline;{$endif}
|
||||
function AnsiStrUpper(Str: PAnsiChar): PAnsiChar;{$ifdef SYSUTILSINLINE}inline;{$endif}
|
||||
function AnsiLastChar(const S: string): PAnsiChar;
|
||||
function AnsiLastChar(const S: AnsiString): PAnsiChar;
|
||||
function AnsiStrLastChar(Str: PAnsiChar): PAnsiChar;
|
||||
|
||||
function Trim(const S: ansistring): ansistring;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user