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:
Marcelo Matus 2004-10-30 12:14:42 +00:00
commit 8a6b31c1a2
2 changed files with 13 additions and 1 deletions

View file

@ -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;
%}