From 09b784ba2bdd383257fb0784f5b1fce04dfae77e Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 3 Apr 2003 12:12:22 +0000 Subject: [PATCH] Removed deprecated pragmas git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/GIFPlot/Include/gifplot.h | 2 +- SWIG/Examples/csharp/enum/example.i | 2 -- SWIG/Examples/test-suite/arrays.i | 1 - SWIG/Examples/test-suite/arrays_global.i | 1 - SWIG/Examples/test-suite/cplusplus_throw.i | 2 +- SWIG/Examples/test-suite/defines.i | 1 - SWIG/Examples/test-suite/nested.i | 1 - SWIG/Examples/test-suite/static_array_member.i | 2 +- SWIG/Examples/test-suite/unions.i | 1 - 9 files changed, 3 insertions(+), 10 deletions(-) diff --git a/SWIG/Examples/GIFPlot/Include/gifplot.h b/SWIG/Examples/GIFPlot/Include/gifplot.h index 921a5b63b..85e4c10b3 100644 --- a/SWIG/Examples/GIFPlot/Include/gifplot.h +++ b/SWIG/Examples/GIFPlot/Include/gifplot.h @@ -19,7 +19,7 @@ #ifndef GIFPLOT_H #ifdef SWIG -%pragma no_default +%nodefault; #endif /* Pixel is 8-bits */ diff --git a/SWIG/Examples/csharp/enum/example.i b/SWIG/Examples/csharp/enum/example.i index 4c873824c..23ee8a822 100644 --- a/SWIG/Examples/csharp/enum/example.i +++ b/SWIG/Examples/csharp/enum/example.i @@ -5,8 +5,6 @@ #include "example.h" %} -%pragma make_default - /* Let's just grab the original header file here */ %include "example.h" diff --git a/SWIG/Examples/test-suite/arrays.i b/SWIG/Examples/test-suite/arrays.i index 57912905d..8dc608b0f 100644 --- a/SWIG/Examples/test-suite/arrays.i +++ b/SWIG/Examples/test-suite/arrays.i @@ -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 diff --git a/SWIG/Examples/test-suite/arrays_global.i b/SWIG/Examples/test-suite/arrays_global.i index c5140acc8..625602eea 100644 --- a/SWIG/Examples/test-suite/arrays_global.i +++ b/SWIG/Examples/test-suite/arrays_global.i @@ -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 diff --git a/SWIG/Examples/test-suite/cplusplus_throw.i b/SWIG/Examples/test-suite/cplusplus_throw.i index 268ddc6d0..bb03732df 100644 --- a/SWIG/Examples/test-suite/cplusplus_throw.i +++ b/SWIG/Examples/test-suite/cplusplus_throw.i @@ -5,7 +5,7 @@ %module cplusplus_throw -%pragma no_default +%nodefault; %inline %{ diff --git a/SWIG/Examples/test-suite/defines.i b/SWIG/Examples/test-suite/defines.i index 70a1db6df..0b8cb1545 100644 --- a/SWIG/Examples/test-suite/defines.i +++ b/SWIG/Examples/test-suite/defines.i @@ -3,7 +3,6 @@ This testcase tests for embedded defines and embedded %constants */ %module defines -%pragma make_default %inline %{ diff --git a/SWIG/Examples/test-suite/nested.i b/SWIG/Examples/test-suite/nested.i index 7771fe7be..0b93be46a 100644 --- a/SWIG/Examples/test-suite/nested.i +++ b/SWIG/Examples/test-suite/nested.i @@ -5,7 +5,6 @@ Also tests reported error when a #define placed in a deeply embedded struct/unio */ %module nested -%pragma make_default %inline %{ diff --git a/SWIG/Examples/test-suite/static_array_member.i b/SWIG/Examples/test-suite/static_array_member.i index 8a7cfefae..0553d3d93 100644 --- a/SWIG/Examples/test-suite/static_array_member.i +++ b/SWIG/Examples/test-suite/static_array_member.i @@ -5,7 +5,7 @@ %module static_array_member -%pragma no_default +%nodefault; class RB { static char *rberror[]; }; diff --git a/SWIG/Examples/test-suite/unions.i b/SWIG/Examples/test-suite/unions.i index b5f162b89..90da33363 100644 --- a/SWIG/Examples/test-suite/unions.i +++ b/SWIG/Examples/test-suite/unions.i @@ -3,7 +3,6 @@ This testcase checks that unions can be set and read. */ %module unions -%pragma make_default %inline %{