scilab: fix preproc_line_file test

This commit is contained in:
Simon Marchetto 2014-10-13 12:33:46 +02:00
commit 4acda6d25b

View file

@ -2,7 +2,7 @@
// Test __LINE__ and __FILE__ (don't change line numbering in here else runtime tests will need modifying) // Test __LINE__ and __FILE__ (don't change line numbering in here else runtime tests will need modifying)
#define MYLINE __LINE__ #define MYLINE __LINE__
#define MYLINE_ADJUSTED __LINE__ + 100 #define MYLINE_ADJUSTED __LINE__ + 100
#define MYFILE __FILE__ #define MYFILE __FILE__
#define MYFILE_ADJUSTED __FILE__ ".bak" #define MYFILE_ADJUSTED __FILE__ ".bak"
@ -41,6 +41,10 @@ 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;