Added a new Examples folder with modified Examples/java files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4f2a579d6d
commit
311ddbc2bf
78 changed files with 3668 additions and 0 deletions
14
Examples/doxygencomments/java/enum/example.i
Normal file
14
Examples/doxygencomments/java/enum/example.i
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/** File : example.i */
|
||||
%module example
|
||||
|
||||
%{
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
/** Force the generated Java code to use the C enum values rather than making a JNI call */
|
||||
%javaconst(1);
|
||||
|
||||
/** Let's just grab the original header file here */
|
||||
|
||||
%include "example.h"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue