浏览代码

--- Merging r29429 into '.':
U utils/pas2jni/readme.txt

# revisions: 29429

git-svn-id: branches/fixes_3_0@30823 -

marco 10 年之前
父节点
当前提交
3785eeda92
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      utils/pas2jni/readme.txt

+ 5 - 3
utils/pas2jni/readme.txt

@@ -1,9 +1,11 @@
 pas2jni - JNI bridge generator for Pascal.
 pas2jni - JNI bridge generator for Pascal.
 
 
-Copyright (c) 2013 by Yury Sidorov.
+Copyright (c) 2013-2015 by Yury Sidorov.
 
 
 The pas2jni utility generates a JNI (Java Native Interface) bridge for a Pascal code. Then the Pascal code (including classes and other advanced features) can be easily used in Java programs.
 The pas2jni utility generates a JNI (Java Native Interface) bridge for a Pascal code. Then the Pascal code (including classes and other advanced features) can be easily used in Java programs.
 
 
+The pas2jni wiki page is available here: http://wiki.freepascal.org/pas2jni
+
 For example you can do the following in Java:
 For example you can do the following in Java:
 
 
 import pas.classes.*;
 import pas.classes.*;
@@ -31,7 +33,7 @@ The following Pascal features are supported by pas2jni:
 - pointer type;
 - pointer type;
 - string types;
 - string types;
 - all numeric types;
 - all numeric types;
-- method poiner.
+- method pointer.
 
 
 USUPPORTED features:
 USUPPORTED features:
 - array;
 - array;
@@ -51,7 +53,7 @@ pas2jni myunit -U/path/to/my/units;/path/to/FPC/units/*
 
 
 Here you specify myunit as the main unit and provide path to your compiled units and FPC compiled units. 
 Here you specify myunit as the main unit and provide path to your compiled units and FPC compiled units. 
 
 
-After successfull run of pas2jni you will get the following output files:
+After successful run of pas2jni you will get the following output files:
 - file "myunitjni.pas" - a generated library unit to be compiled to a shared library. It will contain all your Pascal code to be used from Java.
 - file "myunitjni.pas" - a generated library unit to be compiled to a shared library. It will contain all your Pascal code to be used from Java.
 - folder "pas" - generated Java package "pas" to be used in your Java program. Interface to each Pascal unit is placed to a separate Java public class. 
 - folder "pas" - generated Java package "pas" to be used in your Java program. Interface to each Pascal unit is placed to a separate Java public class.