mirror of https://github.com/swig/swig
Removed deprecated pragmas
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9c8a3d61de
commit
5d4849ddf0
|
@ -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…
Reference in New Issue