fixes for sub is a perl keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
890d8a9204
commit
6e5ed937ec
4 changed files with 5 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
%{
|
||||
extern void add(int *, int *, int *);
|
||||
extern void sub(int *, int *, int *);
|
||||
extern void subtract(int *, int *, int *);
|
||||
extern int divide(int, int, int *);
|
||||
%}
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ extern void add(int *x, int *y, int *result);
|
|||
/* Next we'll use some typemaps */
|
||||
|
||||
%include typemaps.i
|
||||
extern void sub(int *INPUT, int *INPUT, int *OUTPUT);
|
||||
extern void subtract(int *INPUT, int *INPUT, int *OUTPUT);
|
||||
|
||||
/* Next we'll use typemaps and the %apply directive */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue