Bonjour à tous
I was using "BlockMove" but I found it would not work in 64 Bits
And so, "memmove" seems to be the solution
but
where can I find the declaration, the "external name ..." of it ?
( I used to declare :
procedure BlockMove (srcPtr: UnivPtr; destPtr: UnivPtr; byteCount: Size);
{$IFC TARGET_68K} inline $201F, $225F, $205F, $A02E; {$ENDC}
{$IFC TARGET_CARBON} external name '_BlockMove'; {$ENDC}
)
(I found it in a way in "string.h" but don't see the equivalency in pascal)
(extern void *memmove(void *, const void *, size_t); )
( Tried "System.Move" but it doesn't work )
The question could be : how include C-code in Pascal-code
merci d'avance