update swig on windows
This commit is contained in:
14
winx64/bin/swigwin-4.0.0/Examples/java/enum/example.i
Normal file
14
winx64/bin/swigwin-4.0.0/Examples/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"
|
||||
|
||||
Reference in New Issue
Block a user