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