Fix missing stddef.h when %import of STL containers. Was causing compile failures witht g++-4.6.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e91a00ae50
commit
347f2782d2
11 changed files with 23 additions and 11 deletions
|
|
@ -104,7 +104,7 @@ namespace swig {
|
|||
}
|
||||
}
|
||||
|
||||
%fragment("SwigPySequence_Base","header")
|
||||
%fragment("SwigPySequence_Base","header",fragment="<stddef.h>")
|
||||
{
|
||||
%#include <functional>
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
%include <std_common.i>
|
||||
|
||||
%fragment("SwigPyIterator","header") {
|
||||
%fragment("SwigPyIterator","header",fragment="<stddef.h>") {
|
||||
namespace swig {
|
||||
struct stop_iteration {
|
||||
};
|
||||
|
|
@ -139,7 +139,7 @@ namespace swig {
|
|||
}
|
||||
}
|
||||
|
||||
%fragment("SwigPyIterator_T","header",fragment="SwigPyIterator",fragment="StdTraits",fragment="StdIteratorTraits") {
|
||||
%fragment("SwigPyIterator_T","header",fragment="<stddef.h>",fragment="SwigPyIterator",fragment="StdTraits",fragment="StdIteratorTraits") {
|
||||
namespace swig {
|
||||
template<typename OutIterator>
|
||||
class SwigPyIterator_T : public SwigPyIterator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue