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
|
#ifndef GIFPLOT_H
|
||||||
|
|
||||||
#ifdef SWIG
|
#ifdef SWIG
|
||||||
%pragma no_default
|
%nodefault;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Pixel is 8-bits */
|
/* Pixel is 8-bits */
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
#include "example.h"
|
#include "example.h"
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%pragma make_default
|
|
||||||
|
|
||||||
/* Let's just grab the original header file here */
|
/* Let's just grab the original header file here */
|
||||||
|
|
||||||
%include "example.h"
|
%include "example.h"
|
||||||
|
|
|
@ -3,7 +3,6 @@ This test case tests that various types of arrays are working.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%module arrays
|
%module arrays
|
||||||
%pragma make_default
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
#define ARRAY_LEN 2
|
#define ARRAY_LEN 2
|
||||||
|
|
|
@ -3,7 +3,6 @@ This test case tests that various types of arrays are working.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%module arrays_global
|
%module arrays_global
|
||||||
%pragma make_default
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
#define ARRAY_LEN 2
|
#define ARRAY_LEN 2
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
%module cplusplus_throw
|
%module cplusplus_throw
|
||||||
|
|
||||||
%pragma no_default
|
%nodefault;
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ This testcase tests for embedded defines and embedded %constants
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%module defines
|
%module defines
|
||||||
%pragma make_default
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@ Also tests reported error when a #define placed in a deeply embedded struct/unio
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%module nested
|
%module nested
|
||||||
%pragma make_default
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
%module static_array_member
|
%module static_array_member
|
||||||
|
|
||||||
%pragma no_default
|
%nodefault;
|
||||||
class RB {
|
class RB {
|
||||||
static char *rberror[];
|
static char *rberror[];
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,6 @@ This testcase checks that unions can be set and read.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%module unions
|
%module unions
|
||||||
%pragma make_default
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue