mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 14:30:52 +02:00
* string -> shortstring
This commit is contained in:
parent
c8551879f7
commit
40bb7d9bdf
@ -17,7 +17,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;
|
function strpcopy(d : PAnsiChar;const s : shortstring) : PAnsiChar;assembler;
|
||||||
asm
|
asm
|
||||||
{ get length }
|
{ get length }
|
||||||
lbz r0,0(r4)
|
lbz r0,0(r4)
|
||||||
|
Loading…
Reference in New Issue
Block a user