rename java run tests from main to runme for consistency across the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a5d91ce4f1
commit
9cf5256b93
34 changed files with 55 additions and 55 deletions
|
|
@ -85,7 +85,7 @@ Note that SWIG parses the templated function <tt>max</tt> and templated class <t
|
|||
|
||||
<h2>A sample Java program</h2>
|
||||
|
||||
Click <a href="main.java">here</a> to see a Java program that calls the C++ functions from Java.
|
||||
Click <a href="runme.java">here</a> to see a Java program that calls the C++ functions from Java.
|
||||
|
||||
<h2>Notes</h2>
|
||||
Use templated classes just like you would any other SWIG generated Java class. Use the classnames specified by the %template directive.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// This example illustrates how C++ templates can be used from Java.
|
||||
|
||||
public class main {
|
||||
public class runme {
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("example");
|
||||
Loading…
Add table
Add a link
Reference in a new issue