Bug #1472089 - clearer first example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ce02b53196
commit
53a771ffc9
2 changed files with 13 additions and 9 deletions
|
|
@ -207,9 +207,10 @@ Suppose that you defined a SWIG module such as the following:
|
|||
|
||||
<div class="code">
|
||||
<pre>
|
||||
%module example
|
||||
/* File: example.i */
|
||||
%module test
|
||||
%{
|
||||
#include "header.h"
|
||||
#include "stuff.h"
|
||||
%}
|
||||
int fact(int n);
|
||||
</pre>
|
||||
|
|
@ -245,6 +246,11 @@ To change this, you can use the <tt>-o</tt> option.
|
|||
It is also possible to change the <a href="SWIG.html#output">output directory </a> that the Java files are generated into using <tt>-outdir</tt>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The following sections have further practical examples and details on how you might go about
|
||||
compiling and using the generated files.
|
||||
</p>
|
||||
|
||||
<H3><a name="java_commandline"></a>20.2.2 Additional Commandline Options</H3>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue