File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,13 @@ SWIGEXPORT const char* SWIG_FORTRAN_ERROR_STR() {
104
104
#ifdef __cplusplus
105
105
106
106
%fragment (" <string>" );
107
- %fragment (" <cctype>" );
108
107
%fragment (" <stdexcept>" );
109
108
110
109
%insert (" header" ) {
111
110
extern " C" {
111
+
112
+ #include < cctype>
113
+
112
114
// Call this function before any new action
113
115
SWIGEXPORT void SWIG_check_unhandled_exception_impl (const char * decl) {
114
116
if (SWIG_FORTRAN_ERROR_INT != 0 ) {
Original file line number Diff line number Diff line change 2
2
* std_pair.i
3
3
* ------------------------------------------------------------------------- */
4
4
5
- %fragment(" <utility>" );
5
+ %{
6
+ #include < utility>
7
+ %}
6
8
7
9
namespace std {
8
10
Original file line number Diff line number Diff line change 88
88
%fragment("<memory>", "header") %{
89
89
#include <memory>
90
90
%}
91
-
92
- %fragment("<utility>", "header") %{
93
- #include <utility>
94
- %}
95
-
96
- %fragment("<cctype>", "header") %{
97
- #include <cctype>
98
- %}
You can’t perform that action at this time.
0 commit comments