Sfoglia il codice sorgente

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

git-svn-id: trunk@29392 -
yury 10 anni fa
parent
commit
7f23fcd02c
2 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  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
                     ProcOpt:=ProcOpt + [poOverload]
                   else
-                  if s = 'overload' then
-                    ProcOpt:=ProcOpt + [poMethodPtr]
-                  else
                   if s = 'abstract' then
                     TClassDef(Parent).HasAbstractMethods:=True;
                 end;

+ 6 - 0
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.