Removed deprecated pragmas
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d445b3594e
commit
09b784ba2b
9 changed files with 3 additions and 10 deletions
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef GIFPLOT_H
|
||||
|
||||
#ifdef SWIG
|
||||
%pragma no_default
|
||||
%nodefault;
|
||||
#endif
|
||||
|
||||
/* Pixel is 8-bits */
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@
|
|||
#include "example.h"
|
||||
%}
|
||||
|
||||
%pragma make_default
|
||||
|
||||
/* Let's just grab the original header file here */
|
||||
|
||||
%include "example.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ This test case tests that various types of arrays are working.
|
|||
*/
|
||||
|
||||
%module arrays
|
||||
%pragma make_default
|
||||
|
||||
%inline %{
|
||||
#define ARRAY_LEN 2
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ This test case tests that various types of arrays are working.
|
|||
*/
|
||||
|
||||
%module arrays_global
|
||||
%pragma make_default
|
||||
|
||||
%inline %{
|
||||
#define ARRAY_LEN 2
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
%module cplusplus_throw
|
||||
|
||||
%pragma no_default
|
||||
%nodefault;
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ This testcase tests for embedded defines and embedded %constants
|
|||
*/
|
||||
|
||||
%module defines
|
||||
%pragma make_default
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ Also tests reported error when a #define placed in a deeply embedded struct/unio
|
|||
*/
|
||||
|
||||
%module nested
|
||||
%pragma make_default
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
%module static_array_member
|
||||
|
||||
%pragma no_default
|
||||
%nodefault;
|
||||
class RB {
|
||||
static char *rberror[];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ This testcase checks that unions can be set and read.
|
|||
*/
|
||||
|
||||
%module unions
|
||||
%pragma make_default
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue