mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 14:46:06 +02:00
* allow making a TValue with a pointer
git-svn-id: trunk@36990 -
This commit is contained in:
parent
e74034dc34
commit
a8167f897d
@ -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)^;
|
||||
|
Loading…
Reference in New Issue
Block a user