mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 17:19:33 +02:00
* pas2jni: Skip var parameters of unsupported types.
git-svn-id: trunk@43381 -
This commit is contained in:
parent
b4e0c72cbe
commit
b988837d1b
@ -864,10 +864,13 @@ begin
|
||||
if (VarType <> nil) and (VarType.DefType = dtJniEnv) then
|
||||
continue;
|
||||
s:=s + '; ' + Name + ': ';
|
||||
ss:=DefToJniType(VarType, err);
|
||||
if not IsJavaVarParam(vd) then
|
||||
s:=s + DefToJniType(VarType, err)
|
||||
s:=s + ss
|
||||
else begin
|
||||
s:=s + 'jarray';
|
||||
if not err then
|
||||
ss:='jarray';
|
||||
s:=s + ss;
|
||||
if tempvars = nil then
|
||||
tempvars:=TStringList.Create;
|
||||
if VarType = nil then
|
||||
|
Loading…
Reference in New Issue
Block a user