Add <string> fragment
Removes <string> include specifically for clang Cuts down on duplicate #include <string> in general
This commit is contained in:
parent
078dbf8d22
commit
bd5c340062
9 changed files with 17 additions and 32 deletions
|
|
@ -28,11 +28,11 @@
|
|||
// is returned
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
%fragment("<string>");
|
||||
%{
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
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