mirror of https://github.com/swig/swig
Fix preproc_line_file test
This commit is contained in:
parent
ee4aa853b8
commit
21b176f07f
|
@ -63,7 +63,7 @@ public class preproc_line_file_runme {
|
|||
if (SillyMacroClass.LINE_NUM != 56)
|
||||
throw new RuntimeException("preproc failure");
|
||||
|
||||
if (SillyMultipleMacroStruct.LINE_NUM != 81)
|
||||
if (SillyMulMacroStruc.LINE_NUM != 81)
|
||||
throw new RuntimeException("preproc failure");
|
||||
|
||||
if (preproc_line_file.INLINE_LINE != 87)
|
||||
|
|
|
@ -41,10 +41,6 @@ const int NUMBER_UNIQUE(thing) = -2; /* resolves to thing28 */
|
|||
/* spare space */
|
||||
#endif
|
||||
|
||||
#ifdef SWIGSCILAB
|
||||
%rename(SillyMulMacroSt) SillyMultipleMacroStruct;
|
||||
#endif
|
||||
|
||||
%{
|
||||
struct SillyStruct {
|
||||
int num;
|
||||
|
@ -82,7 +78,7 @@ struct NAME { \
|
|||
int num; \
|
||||
};
|
||||
#endif
|
||||
KLASS(SillyMultipleMacroStruct)
|
||||
KLASS(SillyMulMacroStruc)
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
|
|
Loading…
Reference in New Issue