mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 13:50:36 +02:00
webidl: wasmjob: started return type array
This commit is contained in:
parent
7bad177139
commit
7486782674
@ -381,7 +381,7 @@ Var
|
||||
I: Integer;
|
||||
AddFuncBody: Boolean;
|
||||
ArgDefList: TIDLDefinitionList;
|
||||
CurDef, ArgType: TIDLDefinition;
|
||||
CurDef, ArgType, ReturnDef: TIDLDefinition;
|
||||
ArgDef: TIDLArgumentDefinition absolute CurDef;
|
||||
begin
|
||||
Result:=True;
|
||||
@ -414,8 +414,10 @@ begin
|
||||
InvokeName:='InvokeJSNoResult';
|
||||
end;
|
||||
else
|
||||
InvokeName:='InvokeJSObjectResult';;
|
||||
RT:=ClassToPasIntfName(RT);
|
||||
InvokeName:='InvokeJSObjectResult';
|
||||
ReturnDef:=FindGlobalDef(aDef.ReturnType.TypeName);
|
||||
if ReturnDef is TIDLInterfaceDefinition then
|
||||
RT:=ClassToPasIntfName(RT);
|
||||
end;
|
||||
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user