Skip to content

Commit 5c37f62

Browse files
committed
Fix missing fragments in downstream modules
1 parent db1c911 commit 5c37f62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/fortran/classes.swg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
%define %fortran_autofree_rvalue(CLASS...)
2525

2626
%typemap(in) CLASS = SWIGTYPE;
27-
%typemap(argout, noblock=1, match="in") CLASS {
27+
%typemap(argout, noblock=1, fragment="SWIG_assign", match="in") CLASS {
2828
SWIG_free_rvalue< $1_ltype, SWIGPOLICY_ ## %mangle(CLASS) >(*$input);
2929
}
3030

3131
%typemap(in) CLASS* = SWIGTYPE*;
32-
%typemap(argout, noblock=1, match="in") CLASS* {
32+
%typemap(argout, noblock=1, fragment="SWIG_assign", match="in") CLASS* {
3333
SWIG_free_rvalue< $*1_ltype, SWIGPOLICY_ ## %mangle(CLASS) >(*$input);
3434
}
3535

0 commit comments

Comments
 (0)