summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authoryury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-01-04 19:05:17 +0000
committeryury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-01-04 19:05:17 +0000
commit8111899453729a3f34847e2b2a1759e13fb7e628 (patch)
tree0c508529dbee66f1b0cdfac1e553e25fa9a0c1c2 /utils
parent4382d4cdd23c6edab7fb19cfa4f0c2dbe13ee4c4 (diff)
downloadfpc-8111899453729a3f34847e2b2a1759e13fb7e628.tar.gz
* pas2jni: Removed unneeded code. Added unsupported features to the readme.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29392 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'utils')
-rw-r--r--utils/pas2jni/ppuparser.pas3
-rw-r--r--utils/pas2jni/readme.txt6
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.