mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 06:29:32 +02:00
* Use RTTIRecordRttiInfoToInitInfo (when FPC_HAS_MANAGEMENT_OPERATORS is not defined) for records/objects in fpc_Copy as well as for fpc_Initialize, fpc_finalize, fpc_Addref
git-svn-id: trunk@35448 -
This commit is contained in:
parent
8a68a7aea8
commit
9a9eb1b840
@ -450,6 +450,9 @@ begin
|
||||
with RTTIRecordOp(typeinfo, typeinfo)^ do
|
||||
{$endif FPC_HAS_MANAGEMENT_OPERATORS}
|
||||
begin
|
||||
{$ifndef FPC_HAS_MANAGEMENT_OPERATORS}
|
||||
typeInfo:=RTTIRecordRttiInfoToInitInfo(typeInfo);
|
||||
{$endif FPC_HAS_MANAGEMENT_OPERATORS}
|
||||
{$ifdef VER3_0}
|
||||
Temp:=aligntoptr(typeInfo+2+PByte(typeInfo)[1]);
|
||||
{$else VER3_0}
|
||||
|
Loading…
Reference in New Issue
Block a user