use include <> instead of "" for system files

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-15 02:08:31 +00:00
commit fc67bdfa6d
13 changed files with 13 additions and 14 deletions

View file

@ -17,7 +17,7 @@
%module aggregate %module aggregate
%include "exception.i" %include <exception.i>
%aggregate_check(int, check_direction, UP, DOWN, LEFT, RIGHT) %aggregate_check(int, check_direction, UP, DOWN, LEFT, RIGHT)
%contract move(int x) { %contract move(int x) {

View file

@ -1,6 +1,6 @@
%module csharp_exceptions %module csharp_exceptions
%include "exception.i" %include <exception.i>
%inline %{ %inline %{
class Ex { class Ex {
@ -64,7 +64,7 @@ void ExceptionSpecificationEnumReference() throw(TestEnum&) { throw TestEnumItem
%} %}
// std::string // std::string
%include "std_string.i" %include <std_string.i>
%inline %{ %inline %{
void ExceptionSpecificationStdStringValue() throw(std::string) { throw std::string("ExceptionSpecificationStdStringValue"); } void ExceptionSpecificationStdStringValue() throw(std::string) { throw std::string("ExceptionSpecificationStdStringValue"); }
void ExceptionSpecificationStdStringReference() throw(const std::string&) { throw std::string("ExceptionSpecificationStdStringReference"); } void ExceptionSpecificationStdStringReference() throw(const std::string&) { throw std::string("ExceptionSpecificationStdStringReference"); }

View file

@ -8,7 +8,7 @@
#endif #endif
%} %}
%include "std_string.i" %include <std_string.i>
%inline %{ %inline %{
#include <string> #include <string>

View file

@ -144,7 +144,6 @@ typedef void OSRSpatialReferenceShadow;
class OSRSpatialReferenceShadow { class OSRSpatialReferenceShadow {
private: private:
OSRSpatialReferenceShadow();
public: public:
%extend { %extend {
OSRSpatialReferenceShadow( char const * wkt = "" ) { OSRSpatialReferenceShadow( char const * wkt = "" ) {

View file

@ -11,7 +11,7 @@ public:
%} %}
%include "std_string.i" %include <std_string.i>
%feature("director") Foo; %feature("director") Foo;

View file

@ -16,7 +16,7 @@
%} %}
%include "std_string.i" %include <std_string.i>
%feature("director") Foo; %feature("director") Foo;

View file

@ -14,7 +14,7 @@ public:
%} %}
%include "std_string.i" %include <std_string.i>
%feature("director") Foo; %feature("director") Foo;

View file

@ -9,7 +9,7 @@
#include <iostream> #include <iostream>
%} %}
%include "std_string.i" %include <std_string.i>
%feature("director") Bar; %feature("director") Bar;

View file

@ -1,5 +1,5 @@
%module(directors="1") director_string; %module(directors="1") director_string;
%include stl.i %include <stl.i>
#ifndef SWIG_STL_UNIMPL #ifndef SWIG_STL_UNIMPL

View file

@ -1,5 +1,5 @@
%module(directors="1") director_wstring; %module(directors="1") director_wstring;
%include stl.i %include <stl.i>
#ifndef SWIG_STL_UNIMPL #ifndef SWIG_STL_UNIMPL

View file

@ -2,7 +2,7 @@
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) doubleArray; /* Ruby, wrong class name */ %warnfilter(SWIGWARN_RUBY_WRONG_NAME) doubleArray; /* Ruby, wrong class name */
%include "carrays.i" %include <carrays.i>
%array_functions(int,intArray); %array_functions(int,intArray);
%array_class(double, doubleArray); %array_class(double, doubleArray);

View file

@ -1,6 +1,6 @@
%module li_cdata %module li_cdata
%include "cdata.i" %include <cdata.i>
%cdata(int); %cdata(int);
%cdata(double); %cdata(double);

View file

@ -4,7 +4,7 @@
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_double; /* Ruby, wrong constant name */ %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_double; /* Ruby, wrong constant name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_intp; /* Ruby, wrong constant name */ %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_intp; /* Ruby, wrong constant name */
%include "cmalloc.i" %include <cmalloc.i>
%allocators(int); %allocators(int);
%allocators(double); %allocators(double);