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:
parent
a07092b60c
commit
1dd50f5ea8
4 changed files with 19 additions and 2 deletions
|
|
@ -5,6 +5,12 @@
|
|||
|
||||
%module static_const_member
|
||||
|
||||
#if SWIGJAVA
|
||||
%javaconst(1) EN;
|
||||
#elif SWIGCSHARP
|
||||
%csconst(1) EN;
|
||||
#endif
|
||||
|
||||
%inline %{
|
||||
|
||||
class X {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue