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

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

View file

@ -29,10 +29,10 @@
// ------------------------------------------------------------------------
%fragment("<string>");
%fragment("<stdexcept>");
%fragment("<algorithm>");
%{
#include <vector>
#include <algorithm>
#include <stdexcept>
Tcl_Obj* SwigString_FromString(const std::string &s) {
return Tcl_NewStringObj(s.data(), (int)s.length());