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