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
|
|
@ -8,9 +8,8 @@
|
|||
|
||||
%apply size_t { std::size_t };
|
||||
|
||||
%fragment("<string>");
|
||||
%{
|
||||
#include <string>
|
||||
|
||||
double SwigSvToNumber(SV* sv) {
|
||||
return SvIOK(sv) ? double(SvIVX(sv)) : SvNVX(sv);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue