fix extern declarations documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
62552082be
commit
06adaed870
8 changed files with 89 additions and 4 deletions
|
|
@ -181,6 +181,9 @@ suffix) :
|
|||
%module example
|
||||
%{
|
||||
/* Put headers and other declarations here */
|
||||
extern double My_variable;
|
||||
extern int fact(int);
|
||||
extern int my_mod(int n, int m);
|
||||
%}
|
||||
|
||||
extern double My_variable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue