diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2007-07-06 21:44:56 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2007-07-06 21:44:56 +0000 |
commit | 3922cb5abcd451238047713829456e50f94dade2 (patch) | |
tree | 990cb81fcccfc5bbe3807442401615ec76b66d44 /externals/grill/py/source/pyprefix.h | |
parent | d58dd27f1324e4d33a3f09637b2c06198dd27df4 (diff) |
adapting to new flext lockfree structures
much better detach method handling (one thread for all object instances)
use PyGILState_\*() functionality (enabled with PY_USE_GIL)
ooops, fixing typo
fixing numpy initialization quirks
pyext._init is now called after __init__
enabled use of inofficial PD functionality for search and help path access (#define PY_USE_INOFFICIAL)
added sketch for new pye (Python expression) object
buffer protocol adapted for Python 2.5
svn path=/trunk/; revision=7903
Diffstat (limited to 'externals/grill/py/source/pyprefix.h')
-rw-r--r-- | externals/grill/py/source/pyprefix.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/externals/grill/py/source/pyprefix.h b/externals/grill/py/source/pyprefix.h index 9be12e85..42befa60 100644 --- a/externals/grill/py/source/pyprefix.h +++ b/externals/grill/py/source/pyprefix.h @@ -2,7 +2,7 @@ py/pyext - python script object for PD and MaxMSP -Copyright (c)2002-2005 Thomas Grill (gr@grrrr.org) +Copyright (c)2002-2007 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -39,5 +39,10 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include <flcontainers.h> #include <string> +#ifdef PY_USE_INOFFICIAL +extern "C" { +#include <s_stuff.h> +} +#endif #endif |