Skip to content

Commit 715731f

Browse files
committed
Fix inexplicable change of allkw test behavior
1 parent ee50af9 commit 715731f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/fortran/fortrankw.swg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
%keywordwarn("'release' is reserved for SWIG destructors",
3535
rename="release_") "*::release";
3636

37-
#ifdef SWIGFORTRAN
37+
#ifdef %fortransubroutine
3838
/* Always treat return values from assignment as optional, since it's usually
3939
* idiomatic to `return *this;` as a reference that is often ignored by the
4040
* calling code. Making the function a subroutine means being able to use "call"

0 commit comments

Comments
 (0)