mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 05:28:07 +02:00
* TRttiDataCommon is required outside of the RTTI and DynArray include files as well
git-svn-id: trunk@42437 -
This commit is contained in:
parent
04a50733ad
commit
55dfb59631
@ -458,6 +458,18 @@ function aligntoqword(p : pointer) : pointer;inline;
|
||||
end;
|
||||
|
||||
|
||||
{$if not defined(VER3_0) and not defined(VER3_2)}
|
||||
type
|
||||
TRttiDataCommon =
|
||||
{$ifdef FPC_REQUIRES_PROPER_ALIGNMENT}
|
||||
packed
|
||||
{$endif}
|
||||
record
|
||||
Attrs: Pointer;
|
||||
end;
|
||||
{$endif not VER3_0 and not VER3_2}
|
||||
|
||||
|
||||
{****************************************************************************
|
||||
Subroutines for String handling
|
||||
****************************************************************************}
|
||||
@ -488,19 +500,6 @@ function aligntoqword(p : pointer) : pointer;inline;
|
||||
Run-Time Type Information (RTTI) declarations
|
||||
****************************************************************************}
|
||||
|
||||
{$if defined(FPC_HAS_FEATURE_RTTI) or defined(FPC_HAS_FEATURE_DYNARRAYS)}
|
||||
{$if not defined(VER3_0) and not defined(VER3_2)}
|
||||
type
|
||||
TRttiDataCommon =
|
||||
{$ifdef FPC_REQUIRES_PROPER_ALIGNMENT}
|
||||
packed
|
||||
{$endif}
|
||||
record
|
||||
Attrs: Pointer;
|
||||
end;
|
||||
{$endif not VER3_0 and not VER3_2}
|
||||
{$endif FPC_HAS_FEATURE_RTTI or FPC_HAS_FEATURE_DYNARRAYS}
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_RTTI}
|
||||
{$i rttidecl.inc}
|
||||
{$endif FPC_HAS_FEATURE_RTTI}
|
||||
|
Loading…
Reference in New Issue
Block a user