Move some header file includes into fragments for UTL languages

This commit is contained in:
William S Fulton 2014-02-21 19:02:14 +00:00
commit 0d9a8721f4
16 changed files with 33 additions and 37 deletions

View file

@ -10,8 +10,8 @@
%{
#include <deque>
#include <stdexcept>
%}
%fragment("<stdexcept>");
/* This macro defines all of the standard methods for a deque. This

View file

@ -24,10 +24,8 @@
//
%fragment("<string>");
%{
#include <stdexcept>
#include <stddef.h>
%}
%fragment("<stdexcept>");
%fragment("<stddef.h>");
%fragment("StdIteratorTraits","header",fragment="<stddef.h>") %{

View file

@ -2,9 +2,7 @@
#error "do not use this version of std_except.i"
#endif
%{
#include <stdexcept>
%}
%fragment("<stdexcept>");
#if defined(SWIG_STD_EXCEPTIONS_AS_CLASSES)

View file

@ -57,9 +57,9 @@
%{
#include <map>
#include <algorithm>
#include <stdexcept>
%}
%fragment("<algorithm>");
%fragment("<stdexcept>");
// exported class

View file

@ -60,9 +60,9 @@
%{
#include <unordered_map>
#include <algorithm>
#include <stdexcept>
%}
%fragment("<algorithm>");
%fragment("<stdexcept>");
// exported class