Revert change inadvertently included in previous commit.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
52819796ca
commit
f6cd7912e3
1 changed files with 3 additions and 3 deletions
|
|
@ -29,11 +29,11 @@ const int NUMBER_UNIQUE(thing) = -2; /* resolves to thing28 */
|
||||||
|
|
||||||
#define MYLINE2 __LINE__
|
#define MYLINE2 __LINE__
|
||||||
|
|
||||||
#ifdef SWIGJAVA
|
|
||||||
%javaconst(1);
|
%javaconst(1);
|
||||||
#endif
|
|
||||||
%{
|
%{
|
||||||
struct SillyStruct { int num; /* static const int line_num = __LINE__; */
|
struct SillyStruct {
|
||||||
|
int num;
|
||||||
|
/* static const int line_num = __LINE__; */
|
||||||
};
|
};
|
||||||
%}
|
%}
|
||||||
struct SillyStruct {
|
struct SillyStruct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue