Remove scilab and allegro specifics in 3 testcases
This commit is contained in:
parent
14879510fa
commit
5109e1fe12
3 changed files with 3 additions and 16 deletions
|
|
@ -9,13 +9,9 @@ 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.
|
||||
|
||||
#if defined(SWIG_ALLEGRO_CL) || defined(SWIGSCILAB)
|
||||
%{
|
||||
#include <stdio.h>
|
||||
%}
|
||||
#endif
|
||||
|
||||
%{
|
||||
#define OTHERLAND_MSG "Little message from the safe world."
|
||||
#define CPLUSPLUS_MSG "A message from the deep dark world of C++, where anything is possible."
|
||||
static char *global_str = NULL;
|
||||
|
|
|
|||
|
|
@ -73,12 +73,6 @@ see bottom for a set of possible tests
|
|||
%rename(OrOperator) operator ||;
|
||||
#endif
|
||||
|
||||
#if defined(SWIG_ALLEGRO_CL) || defined(SWIGSCILAB)
|
||||
%{
|
||||
#include <stdio.h>
|
||||
%}
|
||||
#endif
|
||||
|
||||
#ifdef SWIGD
|
||||
// Due to the way operator overloading is implemented in D1 and D2, the prefix
|
||||
// increment/decrement operators (D1) resp. the postfix ones (D2) are ignored.
|
||||
|
|
@ -89,6 +83,7 @@ see bottom for a set of possible tests
|
|||
%rename(DoubleCast) operator double();
|
||||
|
||||
%inline %{
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <iso646.h> /* for named logical operator, eg 'operator or' */
|
||||
|
|
|
|||
|
|
@ -2,13 +2,9 @@
|
|||
// The default behavior is to simply ignore the varargs.
|
||||
%module varargs_overload
|
||||
|
||||
#if defined(SWIGSCILAB)
|
||||
%{
|
||||
#include <stdio.h>
|
||||
%}
|
||||
#endif
|
||||
|
||||
%inline %{
|
||||
#include <stdio.h>
|
||||
|
||||
const char *vararg_over1(const char *fmt, ...) {
|
||||
return fmt;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue