fix extern declarations

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-06-28 21:14:24 +00:00
commit 7022f2091e
51 changed files with 237 additions and 21 deletions

View file

@ -42,7 +42,11 @@ C functions might look like this :
/* example.i */
%module example
%{
/* Put header files here (optional) */
/* Put header files here or function declarations like below */
extern double My_variable;
extern int fact(int n);
extern int my_mod(int x, int y);
extern char *get_time();
%}
extern double My_variable;