The errors testcases use -module to obtain a unique module name

Fixes parallel make where each invocation of swig was writing and
deleting the same file resulting in lots of the newly introduced
warning messages:

  On exit, could not delete file xxx.py: No such file or directory
This commit is contained in:
William S Fulton 2019-07-30 07:27:32 +01:00
commit 0d76eb3b56
13 changed files with 19 additions and 14 deletions

View file

@ -1,4 +1,4 @@
%module namespace_template
%module xxx
namespace test {
template<typename T> T max(T a, T b) { return (a > b) ? a : b; }