mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:29:29 +02:00
* support for getting dispatch interface properties
git-svn-id: trunk@9171 -
This commit is contained in:
parent
b42930f2fa
commit
48c0e3b023
@ -800,6 +800,15 @@ implementation
|
||||
end;
|
||||
InvokeKind:=CallDesc^.CallType;
|
||||
MethodID:=DispIDs^[0];
|
||||
case InvokeKind of
|
||||
DISPATCH_PROPERTYPUT:
|
||||
begin
|
||||
{ !! FIXME}
|
||||
end;
|
||||
DISPATCH_METHOD:
|
||||
if assigned(Result) and (CallDesc^.ArgCount=0) then
|
||||
InvokeKind:=DISPATCH_METHOD or DISPATCH_PROPERTYGET;
|
||||
end;
|
||||
{$ifdef DEBUG_COMDISPATCH}
|
||||
writeln('DispatchInvoke: MethodID: ',MethodID,' InvokeKind: ',InvokeKind);
|
||||
{$endif DEBUG_COMDISPATCH}
|
||||
|
Loading…
Reference in New Issue
Block a user