Browse Source

* pas2jni: Removed unneeded code. Added unsupported features to the readme.

git-svn-id: trunk@29392 -
yury 10 years ago
parent
commit
7f23fcd02c
2 changed files with 6 additions and 3 deletions
  1. 0 3
      utils/pas2jni/ppuparser.pas
  2. 6 0
      utils/pas2jni/readme.txt

+ 0 - 3
utils/pas2jni/ppuparser.pas

@@ -481,9 +481,6 @@ var
                   if s = 'overload' then
                   if s = 'overload' then
                     ProcOpt:=ProcOpt + [poOverload]
                     ProcOpt:=ProcOpt + [poOverload]
                   else
                   else
-                  if s = 'overload' then
-                    ProcOpt:=ProcOpt + [poMethodPtr]
-                  else
                   if s = 'abstract' then
                   if s = 'abstract' then
                     TClassDef(Parent).HasAbstractMethods:=True;
                     TClassDef(Parent).HasAbstractMethods:=True;
                 end;
                 end;

+ 6 - 0
utils/pas2jni/readme.txt

@@ -26,10 +26,16 @@ The following Pascal features are supported by pas2jni:
 - property;
 - property;
 - constant;
 - constant;
 - enum;
 - enum;
+- set;
 - TGuid type;
 - TGuid type;
 - pointer type;
 - pointer type;
 - string types;
 - string types;
 - all numeric 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.
 Shared libraries, generated by pas2jni were tested with Java on Windows and Android. It should work on other systems as well.