Make php example C90 compliant
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6f819d1cd1
commit
87ee6da365
3 changed files with 14 additions and 5 deletions
|
|
@ -1,10 +1,8 @@
|
|||
/* File : example.i */
|
||||
%module example
|
||||
|
||||
%{
|
||||
extern double Foo;
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
extern int gcd(int x, int y);
|
||||
extern double Foo;
|
||||
void print_Foo();
|
||||
int gcd(int x, int y);
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue