* string -> shortstring

This commit is contained in:
Michael VAN CANNEYT 2023-01-06 11:26:39 +01:00 committed by Michaël Van Canneyt
parent e50d90b7e9
commit 29c36aa407
2 changed files with 3 additions and 3 deletions

View File

@ -1688,7 +1688,7 @@ end;
label str_int_shortcut;
procedure int_str(l:longword;out s:string);assembler;nostackframe;
procedure int_str(l:longword;out s:shortstring);assembler;nostackframe;
asm
pushl %esi
@ -1699,7 +1699,7 @@ asm
jmp str_int_shortcut
end;
procedure int_str(l:longint;out s:string);assembler;nostackframe;
procedure int_str(l:longint;out s:shortstring);assembler;nostackframe;
{Optimized for speed, but balanced with size.}

View File

@ -17,7 +17,7 @@
{$ifndef FPC_UNIT_HAS_STRPCOPY}
{$define FPC_UNIT_HAS_STRPCOPY}
function strpcopy(d : PAnsiChar;const s : string) : PAnsiChar;assembler;
function strpcopy(d : PAnsiChar;const s : shortstring) : PAnsiChar;assembler;
var
saveesi,saveedi : longint;
asm