浏览代码

* allow for AlignTypeData() to be inlined

git-svn-id: trunk@35322 -
svenbarth 8 年之前
父节点
当前提交
3b1ae57844
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/objpas/typinfo.pp

+ 1 - 1
rtl/objpas/typinfo.pp

@@ -495,7 +495,7 @@ unit typinfo;
 
 
 // general property handling
 // general property handling
 Function GetTypeData(TypeInfo : PTypeInfo) : PTypeData;
 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): PPropInfo;
 Function GetPropInfo(TypeInfo: PTypeInfo;const PropName: string; AKinds: TTypeKinds): PPropInfo;
 Function GetPropInfo(TypeInfo: PTypeInfo;const PropName: string; AKinds: TTypeKinds): PPropInfo;