mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 17:59:27 +02:00
* Add IndexChar for widechar
This commit is contained in:
parent
1671010086
commit
f75f208992
@ -392,6 +392,13 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
function IndexChar(const buf; len: SizeInt; b: widechar): SizeInt;
|
||||
|
||||
begin
|
||||
IndexChar:=IndexWord(buf,len,Word(b));
|
||||
end;
|
||||
|
||||
|
||||
function CompareChar(Const buf1,buf2;len:SizeInt):SizeInt;
|
||||
begin
|
||||
CompareChar:=CompareByte(buf1,buf2,len);
|
||||
|
Loading…
Reference in New Issue
Block a user