scilab: fix preproc_line_file test
This commit is contained in:
parent
455e4a468b
commit
4acda6d25b
1 changed files with 5 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Test __LINE__ and __FILE__ (don't change line numbering in here else runtime tests will need modifying)
|
||||
#define MYLINE __LINE__
|
||||
#define MYLINE_ADJUSTED __LINE__ + 100
|
||||
#define MYLINE_ADJUSTED __LINE__ + 100
|
||||
|
||||
#define MYFILE __FILE__
|
||||
#define MYFILE_ADJUSTED __FILE__ ".bak"
|
||||
|
|
@ -41,6 +41,10 @@ const int NUMBER_UNIQUE(thing) = -2; /* resolves to thing28 */
|
|||
/* spare space */
|
||||
#endif
|
||||
|
||||
#ifdef SWIGSCILAB
|
||||
%rename(SillyMulMacroSt) SillyMultipleMacroStruct;
|
||||
#endif
|
||||
|
||||
%{
|
||||
struct SillyStruct {
|
||||
int num;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue