avoid using reference value for static members, since it can generate unresolved symbols for static const
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ba413fd500
commit
63ecf6ec37
3 changed files with 20 additions and 4 deletions
|
|
@ -52,6 +52,5 @@
|
|||
|
||||
%{
|
||||
const int Foo::z = 3;
|
||||
const int Foo::zz;
|
||||
int Foo::zx;
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue