1 %module example
2 
3 %{
4 #include "example.h"
5 %}
6 
7 %immutable NumSquares;
8 %immutable NumCircles;
9 
10 %include "example.h"
11 
12 /*! - this instantiation uses type int */
13 %template(RectangleInt) Rectangle<int>;
14 
15 /*! - this instantiation uses type int */
16 %template(MakeRectangleInt) MakeRectangle<int>;
17 
18