From 3e0446e7fda10c3d85a628b8c1effaa5bf7f5529 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 14 Mar 2005 04:58:13 +0000 Subject: fixes for OSX docs optimizations and fixes use optimized version optimized function calls adjust pd and py files for correct argument passing more optimizations svn path=/trunk/; revision=2627 --- externals/grill/py/source/pybuffer.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'externals/grill/py/source/pybuffer.cpp') diff --git a/externals/grill/py/source/pybuffer.cpp b/externals/grill/py/source/pybuffer.cpp index 6e7e571b..f95c4bc6 100644 --- a/externals/grill/py/source/pybuffer.cpp +++ b/externals/grill/py/source/pybuffer.cpp @@ -11,15 +11,25 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include "main.h" #ifdef PY_NUMARRAY +#if FLEXT_OS == FLEXT_OS_MAC +#include +#else #include +#endif static bool nasupport = false; static NumarrayType numtype; #endif // PD defines a T_OBJECT symbol #undef T_OBJECT -#include "structmember.h" + +#if FLEXT_OS == FLEXT_OS_MAC +#include "Python/bufferobject.h" +#include "Python/structmember.h" +#else #include "bufferobject.h" +#include "structmember.h" +#endif static PyObject *buffer_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { -- cgit v1.2.1