Bläddra i källkod

* allow for AlignTypeData() to be inlined

git-svn-id: trunk@35322 -
svenbarth 8 år sedan
förälder
incheckning
3b1ae57844
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      rtl/objpas/typinfo.pp

+ 1 - 1
rtl/objpas/typinfo.pp

@@ -495,7 +495,7 @@ unit typinfo;
 
 // general property handling
 Function GetTypeData(TypeInfo : PTypeInfo) : PTypeData;
-Function AlignTypeData(p : Pointer) : Pointer;
+Function AlignTypeData(p : Pointer) : Pointer; inline;
 
 Function GetPropInfo(TypeInfo: PTypeInfo;const PropName: string): PPropInfo;
 Function GetPropInfo(TypeInfo: PTypeInfo;const PropName: string; AKinds: TTypeKinds): PPropInfo;