links added - patch #1524076
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2b307133c7
commit
11fe04c255
1 changed files with 4 additions and 3 deletions
|
|
@ -17,13 +17,14 @@ When SWIG encounters C preprocessor macros and C declarations that look like con
|
|||
it creates Java constant with an identical value. Click <a href="example.i">here</a>
|
||||
to see a SWIG interface with some constant declarations in it.
|
||||
|
||||
|
||||
<h2>Accessing Constants from Java</h2>
|
||||
Click <a href="../../../Doc/Manual/Java.html#constants">here</a> for the section on constants in the SWIG and Java documentation.
|
||||
<p>
|
||||
|
||||
Click <a href="main.java">here</a> to see a Java program that prints out the values
|
||||
of the constants contained in the above file.
|
||||
|
||||
of the constants contained in the above file.</p>
|
||||
<h2>Key points</h2>
|
||||
|
||||
<ul>
|
||||
<li>The values of preprocessor macros are converted into Java constants.
|
||||
<li>Types are inferred by syntax (e.g., "3" is an integer and "3.5" is a float).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue