Add Python doxygen example
This commit is contained in:
parent
12e7926ee2
commit
89a25055d9
7 changed files with 380 additions and 0 deletions
17
Examples/python/doxygen/example.i
Normal file
17
Examples/python/doxygen/example.i
Normal 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>;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue