Use the system angle brackets for %include

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-11-26 09:28:20 +00:00
commit cfdad24993
52 changed files with 132 additions and 134 deletions

View file

@ -22,7 +22,7 @@
#include <stdexcept>
%}
%include std_except.i
%include <std_except.i>

View file

@ -46,6 +46,16 @@
#define SWIG_Error(code, msg) PyErr_SetString(SWIG_Python_ErrorType(code), msg)
#define SWIG_fail goto fail
/*
Helper for static pointer initialization for both C and C++ code, for example
static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
*/
#ifdef __cplusplus
#define SWIG_STATIC_POINTER(var) var
#else
#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
#endif
/* -----------------------------------------------------------------------------
* Pointer declarations
* ----------------------------------------------------------------------------- */

View file

@ -13,7 +13,7 @@
%include <typemaps/fragments.swg>
/* Look for user fragments file. */
%include "pyfragments.swg"
%include <pyfragments.swg>
/* Python fragments for fundamental types */
%include <pyprimtypes.swg>