diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-11 04:59:27 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-11 04:59:27 +0000 |
commit | f1558e3a9297c6a4fefa9d399a7c9d067d859aa3 (patch) | |
tree | d06d5c6cb9badc428a2ed4d3352f7bad6bfbf1f7 /externals/grill/py/source/pyprefix.h | |
parent | ead9ba14ab569e5644e2deeffc436c31b53ea141 (diff) |
added symbol type
fixed incorrect unbinding of instance methods
fixes for symbol type
little restructuring
svn path=/trunk/; revision=2489
Diffstat (limited to 'externals/grill/py/source/pyprefix.h')
-rw-r--r-- | externals/grill/py/source/pyprefix.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/externals/grill/py/source/pyprefix.h b/externals/grill/py/source/pyprefix.h new file mode 100644 index 00000000..fcce64a1 --- /dev/null +++ b/externals/grill/py/source/pyprefix.h @@ -0,0 +1,27 @@ +/*
+
+py/pyext - python script object for PD and MaxMSP
+
+Copyright (c)2002-2005 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.
+
+*/
+
+#ifndef __PREFIX_H
+#define __PREFIX_H
+
+#define FLEXT_ATTRIBUTES 1
+#include <flext.h>
+
+#if FLEXT_OS == FLEXT_OS_MAC
+#include <Python/Python.h>
+#else
+#include <Python.h>
+#endif
+
+#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 500)
+#error You need at least flext version 0.5.0
+#endif
+
+#endif
|