aboutsummaryrefslogtreecommitdiff
path: root/include/pdp_comm.h
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2006-09-01 13:45:31 +0000
committerTom Schouten <doelie@users.sourceforge.net>2006-09-01 13:45:31 +0000
commit7591a024f184bd385d35583d19d86c1d5f2531ba (patch)
tree77aa0c44ccb700eb9a2b16e1b246e3c8026c40ed /include/pdp_comm.h
parent91dd6b68f0f209ad015a303095bb1df018dca71e (diff)
pdp current darcs merge
svn path=/trunk/externals/pdp/; revision=5816
Diffstat (limited to 'include/pdp_comm.h')
-rw-r--r--include/pdp_comm.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/include/pdp_comm.h b/include/pdp_comm.h
index bd6cab8..7932e1d 100644
--- a/include/pdp_comm.h
+++ b/include/pdp_comm.h
@@ -37,8 +37,17 @@ extern "C"
/* pdp's pd symbols for communication
don't use these directly!!
use the macros instead, in case
- this is proven to be too much of a hack.. */
+ this is proven to be too much of a hack..
+ it's too much of a hack. getting rid of them.
+
+ */
+
+
+#define PDP_SYMBOL_HACK 0
+
+
+#if PDP_SYMBOL_HACK
extern t_symbol s_pdp;
extern t_symbol s_register_ro;
extern t_symbol s_register_rw;
@@ -58,6 +67,20 @@ extern t_symbol s_chanmask;
#define S_ACCUMULATE &s_accumulate
#define S_CHANMASK &s_chanmask
+#else
+
+#define S_PDP gensym("pdp")
+#define S_REGISTER_RO gensym("register_ro")
+#define S_REGISTER_RW gensym("register_rw")
+#define S_PROCESS gensym("process")
+#define S_DPD gensym("dpd")
+#define S_INSPECT gensym("inspect")
+#define S_ACCUMULATE gensym("accumulate")
+#define S_CHANMASK gensym("chanmask")
+
+
+#endif
+
/* utility methods */