aboutsummaryrefslogtreecommitdiff
path: root/PDContainer/src/h_multiset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PDContainer/src/h_multiset.cpp')
-rwxr-xr-xPDContainer/src/h_multiset.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/PDContainer/src/h_multiset.cpp b/PDContainer/src/h_multiset.cpp
index 815e9e0..8a42eb2 100755
--- a/PDContainer/src/h_multiset.cpp
+++ b/PDContainer/src/h_multiset.cpp
@@ -205,7 +205,12 @@ static void *h_multiset_free(t_h_multiset *x)
return (void *)x;
}
-extern "C" void h_multiset_setup(void)
+#if defined(PDCONTAINER_SINGLE_OBJECT)
+// for PD-Extended
+extern "C" {
+#endif
+
+void h_multiset_setup(void)
{
// the object class
h_multiset_class = class_new(gensym("h_multiset"), (t_newmethod)h_multiset_new,
@@ -244,3 +249,8 @@ extern "C" void h_multiset_setup(void)
// without an argument the following two methods wont work ??? why?? because of c++?
class_addmethod(h_multiset_class, (t_method)h_multiset_help, gensym("help"),A_DEFFLOAT, 0);
}
+
+#if defined(PDCONTAINER_SINGLE_OBJECT)
+// for PD-Extended
+}
+#endif