summaryrefslogtreecommitdiff
path: root/Examples/android/extend/jni/example.i
blob: e550aac2c8dd9c62c4beebd7611541bf514a8549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* File : example.i */
%module(directors="1") example
%{
#include "example.h"
%}

%include "std_vector.i"
%include "std_string.i"

/* turn on director wrapping for Manager */
%feature("director") Employee;
%feature("director") Manager;

/* A base class for callbacks from C++ to output text on the Java side */
%feature("director") Streamer;

%include "example.h"