Add <string> fragment

Removes <string> include specifically for clang
Cuts down on duplicate #include <string> in general
This commit is contained in:
William S Fulton 2014-02-15 23:30:14 +00:00
commit bd5c340062
9 changed files with 17 additions and 32 deletions

View file

@ -195,9 +195,8 @@ namespace swig {
//
#ifdef SWIG_PYTHON_BACKWARD_COMP
%fragment("<string>");
%{
#include <string>
PyObject* SwigInt_FromBool(bool b) {
return PyInt_FromLong(b ? 1L : 0L);
}