* allow making a TValue with a pointer

git-svn-id: trunk@36990 -
This commit is contained in:
svenbarth 2017-08-20 19:50:19 +00:00
parent e74034dc34
commit a8167f897d

View File

@ -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)^;