fix for perl keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cb327f2a58
commit
53ceae6a0a
5 changed files with 7 additions and 7 deletions
|
|
@ -5,7 +5,7 @@ int add(int x, int y) {
|
|||
return x+y;
|
||||
}
|
||||
|
||||
int sub(int x, int y) {
|
||||
int subtract(int x, int y) {
|
||||
return x-y;
|
||||
}
|
||||
int mul(int x, int y) {
|
||||
|
|
@ -21,7 +21,7 @@ int divide(int x, int y) {
|
|||
typedef int binop(int,int);
|
||||
%}
|
||||
|
||||
binop add,sub,mul,divide;
|
||||
binop add,subtract,mul,divide;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue