mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 06:09:11 +02:00
* Small improvement in setting method prop, by Lipinast Lekrisov
This commit is contained in:
parent
a1892091ed
commit
76e2ee9970
@ -7313,7 +7313,7 @@ begin
|
|||||||
tkClass:
|
tkClass:
|
||||||
SetObjectProp(TObject(Instance), FPropInfo, AValue.AsObject);
|
SetObjectProp(TObject(Instance), FPropInfo, AValue.AsObject);
|
||||||
tkMethod:
|
tkMethod:
|
||||||
SetMethodProp(TObject(Instance), FPropInfo, TMethod(AValue.GetReferenceToRawData^));
|
SetMethodProp(TObject(Instance), FPropInfo, PMethod(AValue.GetReferenceToRawData)^);
|
||||||
tkInterface:
|
tkInterface:
|
||||||
SetInterfaceProp(TObject(Instance), FPropInfo, AValue.AsInterface);
|
SetInterfaceProp(TObject(Instance), FPropInfo, AValue.AsInterface);
|
||||||
tkFloat:
|
tkFloat:
|
||||||
|
Loading…
Reference in New Issue
Block a user