Browse Source

* allow making a TValue with a pointer

git-svn-id: trunk@36990 -
svenbarth 8 years ago
parent
commit
a8167f897d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/rtl-objpas/src/inc/rtti.pp

+ 1 - 0
packages/rtl-objpas/src/inc/rtti.pp

@@ -571,6 +571,7 @@ begin
     tkQWord    : result.FData.FAsUInt64 := PQWord(ABuffer)^;
     tkProcVar  : result.FData.FAsMethod.Code := PCodePointer(ABuffer)^;
     tkMethod   : result.FData.FAsMethod := PMethod(ABuffer)^;
+    tkPointer  : result.FData.FAsPointer := PPointer(ABuffer)^;
     tkInteger  : begin
                    case GetTypeData(ATypeInfo)^.OrdType of
                      otSByte: result.FData.FAsSByte := PShortInt(ABuffer)^;