Skip to content

Commit 6b8a67e

Browse files
committed
fix(R): Fix swig build by hiding python specifics
1 parent cda3849 commit 6b8a67e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interfaces/swig/Infomap.i

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ namespace std {
4545
/* Parse the header file to generate wrappers */
4646
%include "src/Infomap.h"
4747

48-
48+
#ifdef SWIGPYTHON
4949
%pythoncode "interfaces/python/infomap.py"
50+
#endif

0 commit comments

Comments
 (0)