Skip to content

Commit 2002f97

Browse files
committed
Work around Go error for unused module import
``` imported and not used: "swigtests/multi_import_d"" ```
1 parent 5131f8f commit 2002f97

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Examples/test-suite/multi_import_a.i

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
%module multi_import_a
44

5+
#ifndef SWIGGO
56
%import multi_import_d.i
7+
#endif
68
%import "multi_import_b.i"
79

810
%{

Examples/test-suite/multi_import_c.i

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
#ifndef SWIGGO
12
%import "multi_import_d.i"
3+
#endif
24

35
class XXX
46
{

0 commit comments

Comments
 (0)