Add Python doxygen example

This commit is contained in:
William S Fulton 2018-05-31 20:48:02 +01:00
commit 89a25055d9
7 changed files with 380 additions and 0 deletions

View file

@ -0,0 +1,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>;