mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 17:30:38 +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;
|
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
|
Subroutines for String handling
|
||||||
****************************************************************************}
|
****************************************************************************}
|
||||||
@ -488,19 +500,6 @@ function aligntoqword(p : pointer) : pointer;inline;
|
|||||||
Run-Time Type Information (RTTI) declarations
|
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}
|
{$ifdef FPC_HAS_FEATURE_RTTI}
|
||||||
{$i rttidecl.inc}
|
{$i rttidecl.inc}
|
||||||
{$endif FPC_HAS_FEATURE_RTTI}
|
{$endif FPC_HAS_FEATURE_RTTI}
|
||||||
|
Loading…
Reference in New Issue
Block a user