scilab: fix unions test
This commit is contained in:
parent
43ad424c21
commit
455e4a468b
1 changed files with 5 additions and 1 deletions
|
|
@ -4,11 +4,15 @@ This testcase checks that unions can be set and read.
|
||||||
|
|
||||||
%module unions
|
%module unions
|
||||||
|
|
||||||
|
#if defined(SWIGSCILAB)
|
||||||
|
%rename(EmbedUnion) EmbeddedUnionTest;
|
||||||
|
#endif
|
||||||
|
|
||||||
%{
|
%{
|
||||||
/* Must undefine small to work on Windows. small is defined as a
|
/* Must undefine small to work on Windows. small is defined as a
|
||||||
char in rpcndr.h */
|
char in rpcndr.h */
|
||||||
#ifdef small
|
#ifdef small
|
||||||
#undef small
|
#undef small
|
||||||
#endif
|
#endif
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue