Skip to content

Commit 77f55ea

Browse files
authored
Merge pull request #173 from swig-fortran/cctype-loc
Fix extern location in cctype
2 parents 9e3f404 + 86565fa commit 77f55ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/fortran/exception.i

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ SWIGEXPORT const char* SWIG_FORTRAN_ERROR_STR() {
107107
%fragment("<stdexcept>");
108108

109109
%insert("header") {
110-
extern "C" {
111-
112110
%#include <cctype>
113111

112+
extern "C" {
113+
114114
// Call this function before any new action
115115
SWIGEXPORT void SWIG_check_unhandled_exception_impl(const char* decl) {
116116
if (SWIG_FORTRAN_ERROR_INT != 0) {

0 commit comments

Comments
 (0)