"threads" in %module only needed by python - but then is it really needed??
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8a3dc91543
commit
066efae0f1
1 changed files with 7 additions and 0 deletions
|
|
@ -1,4 +1,11 @@
|
||||||
|
// This testcase was in the python subdirectory
|
||||||
|
|
||||||
|
#if defined(SWIGPYTHON)
|
||||||
|
// Is "threads" really needed for Python? It seems to work without it.
|
||||||
%module(directors="1",threads="1") director_thread
|
%module(directors="1",threads="1") director_thread
|
||||||
|
#else
|
||||||
|
%module(directors="1") director_thread
|
||||||
|
#endif
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue