Extra Examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
719abc61cc
commit
ad0a3d9179
9 changed files with 63 additions and 16 deletions
|
|
@ -2,6 +2,10 @@
|
|||
%module example
|
||||
|
||||
%inline %{
|
||||
/*! Function foo
|
||||
\param x int x
|
||||
\param y int y
|
||||
\return the gcd */
|
||||
extern int gcd(int x, int y);
|
||||
extern double Foo;
|
||||
extern double Foo; /*!< description of double foo
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue