Fix %javaconst(1)/%csconst(1) for static const member variables to use the actual constant value if available

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-11-26 19:20:31 +00:00
commit 1dd50f5ea8
4 changed files with 19 additions and 2 deletions

View file

@ -5,6 +5,12 @@
%module static_const_member
#if SWIGJAVA
%javaconst(1) EN;
#elif SWIGCSHARP
%csconst(1) EN;
#endif
%inline %{
class X {