From 7f23fcd02c763e496acf4b825b7662ae3f48e290 Mon Sep 17 00:00:00 2001 From: yury Date: Sun, 4 Jan 2015 19:05:17 +0000 Subject: [PATCH] * pas2jni: Removed unneeded code. Added unsupported features to the readme. git-svn-id: trunk@29392 - --- utils/pas2jni/ppuparser.pas | 3 --- utils/pas2jni/readme.txt | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/utils/pas2jni/ppuparser.pas b/utils/pas2jni/ppuparser.pas index cad95d4982..aefc016340 100644 --- a/utils/pas2jni/ppuparser.pas +++ b/utils/pas2jni/ppuparser.pas @@ -481,9 +481,6 @@ var if s = 'overload' then ProcOpt:=ProcOpt + [poOverload] else - if s = 'overload' then - ProcOpt:=ProcOpt + [poMethodPtr] - else if s = 'abstract' then TClassDef(Parent).HasAbstractMethods:=True; end; diff --git a/utils/pas2jni/readme.txt b/utils/pas2jni/readme.txt index c12ca399ef..8dff3a1a8a 100644 --- a/utils/pas2jni/readme.txt +++ b/utils/pas2jni/readme.txt @@ -26,10 +26,16 @@ The following Pascal features are supported by pas2jni: - property; - constant; - enum; +- set; - TGuid type; - pointer type; - string types; - all numeric types; +- method poiner. + +USUPPORTED features: +- array; +- procedure pointer. Shared libraries, generated by pas2jni were tested with Java on Windows and Android. It should work on other systems as well.