summaryrefslogtreecommitdiff
path: root/Examples/java/enum/example.i
blob: fb656894387b35364d38e0503e9bfb83c7cc6047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"