* string -> shortstring

This commit is contained in:
Michael VAN CANNEYT 2023-01-06 11:31:38 +01:00 committed by Michaël Van Canneyt
parent 29c36aa407
commit c8551879f7

View File

@ -41,7 +41,7 @@
{$ifndef FPC_UNIT_HAS_STRPCOPY} {$ifndef FPC_UNIT_HAS_STRPCOPY}
{$define FPC_UNIT_HAS_STRPCOPY} {$define FPC_UNIT_HAS_STRPCOPY}
function strpcopy(d : PAnsiChar;const s : string) : PAnsiChar;assembler;nostackframe; function strpcopy(d : PAnsiChar;const s : shortstring) : PAnsiChar;assembler;nostackframe;
const const
{ used for an offset fixup for accessing the proc parameters in asm routines { used for an offset fixup for accessing the proc parameters in asm routines
that use nostackframe. We can't use the parameter name directly, because that use nostackframe. We can't use the parameter name directly, because