mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 12:26:02 +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
|
if (VarType <> nil) and (VarType.DefType = dtJniEnv) then
|
||||||
continue;
|
continue;
|
||||||
s:=s + '; ' + Name + ': ';
|
s:=s + '; ' + Name + ': ';
|
||||||
|
ss:=DefToJniType(VarType, err);
|
||||||
if not IsJavaVarParam(vd) then
|
if not IsJavaVarParam(vd) then
|
||||||
s:=s + DefToJniType(VarType, err)
|
s:=s + ss
|
||||||
else begin
|
else begin
|
||||||
s:=s + 'jarray';
|
if not err then
|
||||||
|
ss:='jarray';
|
||||||
|
s:=s + ss;
|
||||||
if tempvars = nil then
|
if tempvars = nil then
|
||||||
tempvars:=TStringList.Create;
|
tempvars:=TStringList.Create;
|
||||||
if VarType = nil then
|
if VarType = nil then
|
||||||
|
Loading…
Reference in New Issue
Block a user