use include <> instead of "" for system files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
479d861dae
commit
4c336ab5ac
13 changed files with 13 additions and 14 deletions
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
%module aggregate
|
||||
|
||||
%include "exception.i"
|
||||
%include <exception.i>
|
||||
%aggregate_check(int, check_direction, UP, DOWN, LEFT, RIGHT)
|
||||
|
||||
%contract move(int x) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
%module csharp_exceptions
|
||||
|
||||
%include "exception.i"
|
||||
%include <exception.i>
|
||||
|
||||
%inline %{
|
||||
class Ex {
|
||||
|
|
@ -64,7 +64,7 @@ void ExceptionSpecificationEnumReference() throw(TestEnum&) { throw TestEnumItem
|
|||
%}
|
||||
|
||||
// std::string
|
||||
%include "std_string.i"
|
||||
%include <std_string.i>
|
||||
%inline %{
|
||||
void ExceptionSpecificationStdStringValue() throw(std::string) { throw std::string("ExceptionSpecificationStdStringValue"); }
|
||||
void ExceptionSpecificationStdStringReference() throw(const std::string&) { throw std::string("ExceptionSpecificationStdStringReference"); }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#endif
|
||||
%}
|
||||
|
||||
%include "std_string.i"
|
||||
%include <std_string.i>
|
||||
|
||||
%inline %{
|
||||
#include <string>
|
||||
|
|
|
|||
|
|
@ -144,7 +144,6 @@ typedef void OSRSpatialReferenceShadow;
|
|||
|
||||
class OSRSpatialReferenceShadow {
|
||||
private:
|
||||
OSRSpatialReferenceShadow();
|
||||
public:
|
||||
%extend {
|
||||
OSRSpatialReferenceShadow( char const * wkt = "" ) {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ public:
|
|||
|
||||
%}
|
||||
|
||||
%include "std_string.i"
|
||||
%include <std_string.i>
|
||||
|
||||
%feature("director") Foo;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
%}
|
||||
|
||||
%include "std_string.i"
|
||||
%include <std_string.i>
|
||||
|
||||
%feature("director") Foo;
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ public:
|
|||
|
||||
%}
|
||||
|
||||
%include "std_string.i"
|
||||
%include <std_string.i>
|
||||
|
||||
%feature("director") Foo;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include <iostream>
|
||||
%}
|
||||
|
||||
%include "std_string.i"
|
||||
%include <std_string.i>
|
||||
|
||||
%feature("director") Bar;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
%module(directors="1") director_string;
|
||||
%include stl.i
|
||||
%include <stl.i>
|
||||
|
||||
#ifndef SWIG_STL_UNIMPL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
%module(directors="1") director_wstring;
|
||||
%include stl.i
|
||||
%include <stl.i>
|
||||
|
||||
#ifndef SWIG_STL_UNIMPL
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) doubleArray; /* Ruby, wrong class name */
|
||||
|
||||
%include "carrays.i"
|
||||
%include <carrays.i>
|
||||
|
||||
%array_functions(int,intArray);
|
||||
%array_class(double, doubleArray);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
%module li_cdata
|
||||
|
||||
%include "cdata.i"
|
||||
%include <cdata.i>
|
||||
|
||||
%cdata(int);
|
||||
%cdata(double);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_double; /* Ruby, wrong constant name */
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_intp; /* Ruby, wrong constant name */
|
||||
|
||||
%include "cmalloc.i"
|
||||
%include <cmalloc.i>
|
||||
|
||||
%allocators(int);
|
||||
%allocators(double);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue