"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:
William S Fulton 2006-08-11 22:34:08 +00:00
commit 066efae0f1

View file

@ -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
#else
%module(directors="1") director_thread
#endif
%{
#include <pthread.h>