Fix generated quoting when using %javaconst(1)/%csconst(1) for static const char member variables.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-11-29 01:29:26 +00:00
commit bf8ba3bf55
4 changed files with 29 additions and 3 deletions

View file

@ -6,9 +6,10 @@
%module static_const_member
#if SWIGJAVA
%javaconst(1) EN;
%javaconst(1) CHARTEST;
#elif SWIGCSHARP
%csconst(1) EN;
%csconst(1) CHARTEST;
#endif
%inline %{
@ -18,6 +19,7 @@ public:
static const int PN = 0;
static const int CN = 1;
static const int EN = 2;
static const char CHARTEST = 'A';
};
%}