Move some header file includes into fragments for UTL languages
This commit is contained in:
parent
d55692c31e
commit
0d9a8721f4
16 changed files with 33 additions and 37 deletions
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
%{
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
%}
|
||||
%fragment("<algorithm>");
|
||||
%fragment("<stdexcept>");
|
||||
|
||||
// exported class
|
||||
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue