Add define for Scilab

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Vincent Couvert 2011-05-20 08:20:06 +00:00
commit 3a37d7d86e
3 changed files with 8 additions and 2 deletions

View file

@ -9,7 +9,7 @@ below.
%warnfilter(SWIGWARN_TYPEMAP_VARIN_UNDEF) global_char_array1; // Unable to set variable of type char[]
%warnfilter(SWIGWARN_TYPEMAP_CHARLEAK_MSG) global_const_char; // Setting a const char * variable may leak memory.
#ifdef SWIG_ALLEGRO_CL
#if defined(SWIG_ALLEGRO_CL) || defined(SWIGSCILAB)
%{
#include <stdio.h>
%}

View file

@ -73,7 +73,7 @@ see bottom for a set of possible tests
%rename(OrOperator) operator ||;
#endif
#ifdef SWIG_ALLEGRO_CL
#if defined(SWIG_ALLEGRO_CL) || defined(SWIGSCILAB)
%{
#include <stdio.h>
%}

View file

@ -2,6 +2,12 @@
// The default behavior is to simply ignore the varargs.
%module varargs_overload
#if defined(SWIGSCILAB)
%{
#include <stdio.h>
%}
#endif
%inline %{
const char *vararg_over1(const char *fmt, ...) {
return fmt;