mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 00:29:33 +02:00
webidl: wasmjob: invoke function with primitive args
This commit is contained in:
parent
29d1212bf3
commit
2333af5cfd
@ -412,11 +412,13 @@ begin
|
||||
Args:='';
|
||||
for CurDef in ArgDefList do
|
||||
begin
|
||||
if Args='' then
|
||||
if Args<>'' then
|
||||
Args:=Args+',';
|
||||
CurName:=GetName(ArgDef);
|
||||
Args:=Args+CurName;
|
||||
end;
|
||||
Args:=',['+Args+']';
|
||||
|
||||
|
||||
InvokeStr:=InvokeStr+InvokeName+'('''+aDef.Name+''''+Args+')';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user