From 3922cb5abcd451238047713829456e50f94dade2 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 6 Jul 2007 21:44:56 +0000 Subject: 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 --- externals/grill/py/build/config-lnx.def | 5 ++++- externals/grill/py/build/config-mac.def | 5 ++++- externals/grill/py/build/config-win.def | 5 ++++- externals/grill/py/build/gnumake-lnx-gcc.inc | 4 ++++ externals/grill/py/build/gnumake-mac-gcc.inc | 6 +++++- externals/grill/py/build/gnumake-win-cygwin.inc | 6 +++++- externals/grill/py/build/nmake-win-msvc.inc | 4 ++++ 7 files changed, 30 insertions(+), 5 deletions(-) (limited to 'externals/grill/py/build') diff --git a/externals/grill/py/build/config-lnx.def b/externals/grill/py/build/config-lnx.def index 10e518f5..86477fcc 100644 --- a/externals/grill/py/build/config-lnx.def +++ b/externals/grill/py/build/config-lnx.def @@ -11,4 +11,7 @@ PY_NUMPY=1 # PY_NUMERIC=1 # use thread-safe GIL functionality (do this for python version >= 2.3!) -PY_USE_GIL=1 \ No newline at end of file +PY_USE_GIL=1 + +# use inofficial (pure data) functionality +# PY_USE_INOFFICIAL=1 diff --git a/externals/grill/py/build/config-mac.def b/externals/grill/py/build/config-mac.def index 752ee335..43f31fa6 100644 --- a/externals/grill/py/build/config-mac.def +++ b/externals/grill/py/build/config-mac.def @@ -5,4 +5,7 @@ PY_NUMPY=1 # PY_NUMERIC=1 # use thread-safe GIL functionality (do this for python version >= 2.3!) -PY_USE_GIL=1 \ No newline at end of file +PY_USE_GIL=1 + +# use inofficial (pure data) functionality +# PY_USE_INOFFICIAL=1 diff --git a/externals/grill/py/build/config-win.def b/externals/grill/py/build/config-win.def index 98ab5552..9c81bf35 100644 --- a/externals/grill/py/build/config-win.def +++ b/externals/grill/py/build/config-win.def @@ -11,4 +11,7 @@ PY_NUMPY=1 # PY_NUMERIC=1 # use thread-safe GIL functionality (do this for python version >= 2.3!) -PY_USE_GIL=1 \ No newline at end of file +PY_USE_GIL=1 + +# use inofficial (pure data) functionality +# PY_USE_INOFFICIAL=1 diff --git a/externals/grill/py/build/gnumake-lnx-gcc.inc b/externals/grill/py/build/gnumake-lnx-gcc.inc index 2babf197..7bbde1f0 100644 --- a/externals/grill/py/build/gnumake-lnx-gcc.inc +++ b/externals/grill/py/build/gnumake-lnx-gcc.inc @@ -15,3 +15,7 @@ endif ifdef PY_USE_GIL DEFS += -DPY_USE_GIL endif + +ifdef PY_USE_INOFFICIAL +DEFS += -DPY_USE_INOFFICIAL +endif diff --git a/externals/grill/py/build/gnumake-mac-gcc.inc b/externals/grill/py/build/gnumake-mac-gcc.inc index 8f8591af..775a8762 100644 --- a/externals/grill/py/build/gnumake-mac-gcc.inc +++ b/externals/grill/py/build/gnumake-mac-gcc.inc @@ -14,4 +14,8 @@ endif ifdef PY_USE_GIL DEFS += -DPY_USE_GIL -endif \ No newline at end of file +endif + +ifdef PY_USE_INOFFICIAL +DEFS += -DPY_USE_INOFFICIAL +endif diff --git a/externals/grill/py/build/gnumake-win-cygwin.inc b/externals/grill/py/build/gnumake-win-cygwin.inc index d9487833..a64fd9e1 100644 --- a/externals/grill/py/build/gnumake-win-cygwin.inc +++ b/externals/grill/py/build/gnumake-win-cygwin.inc @@ -15,4 +15,8 @@ endif ifdef PY_USE_GIL DEFS += -DPY_USE_GIL -endif \ No newline at end of file +endif + +ifdef PY_USE_INOFFICIAL +DEFS += -DPY_USE_INOFFICIAL +endif diff --git a/externals/grill/py/build/nmake-win-msvc.inc b/externals/grill/py/build/nmake-win-msvc.inc index a23e03ca..7cf0d04d 100644 --- a/externals/grill/py/build/nmake-win-msvc.inc +++ b/externals/grill/py/build/nmake-win-msvc.inc @@ -17,3 +17,7 @@ DEFS = $(DEFS) /DPY_NUMERIC !ifdef PY_USE_GIL DEFS = $(DEFS) /DPY_USE_GIL !endif + +!ifdef PY_USE_INOFFICIAL +DEFS = $(DEFS) /DPY_USE_INOFFICIAL +!endif -- cgit v1.2.1