fix cpp + defined variable name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a88a68f942
commit
8a6b31c1a2
2 changed files with 13 additions and 1 deletions
|
|
@ -268,3 +268,10 @@ inline const char* mangle ## #@__VA_ARGS__ () {
|
|||
#define one ONE
|
||||
#define two TWO
|
||||
#define three THREE(42)
|
||||
|
||||
|
||||
%inline %{
|
||||
int endif = 0;
|
||||
int define = 0;
|
||||
int defined = 0;
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue