mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:29:14 +02:00
* string -> shortstring
This commit is contained in:
parent
e50d90b7e9
commit
29c36aa407
@ -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.}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user