aboutsummaryrefslogtreecommitdiff
path: root/sc4pd/source
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2005-05-02 14:48:25 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:59 +0200
commite50bf5fa3c18516c4bbebb0149cdee83d2c8ae57 (patch)
tree5241ad87cd2ed61e602edda8636007df78f25559 /sc4pd/source
parent26404fcb66045f5b08923d9be037fbd3f6f22ebf (diff)
fixed compiling failure ...
added support for flext build system ... thnx thomas svn path=/trunk/externals/tb/; revision=2881
Diffstat (limited to 'sc4pd/source')
-rw-r--r--sc4pd/source/support.cpp8
-rw-r--r--sc4pd/source/support.hpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/sc4pd/source/support.cpp b/sc4pd/source/support.cpp
index 69aaf2b..e753056 100644
--- a/sc4pd/source/support.cpp
+++ b/sc4pd/source/support.cpp
@@ -39,7 +39,7 @@
#include <flsupport.h>
-bool sc_add (flext::AtomList a)
+bool sc_add (flext::AtomList& a)
{
for (int i = 0; i!=a.Count();++i)
{
@@ -54,7 +54,7 @@ bool sc_add (flext::AtomList a)
return false;
}
-float sc_getfloatarg (flext::AtomList a,int i)
+float sc_getfloatarg (flext::AtomList& a,int i)
{
if (a.Count() > 0 && a.Count() > i)
return flext::GetAFloat(a[i]);
@@ -62,7 +62,7 @@ float sc_getfloatarg (flext::AtomList a,int i)
return 0;
}
-bool sc_ar(flext::AtomList a)
+bool sc_ar(flext::AtomList& a)
{
for (int i = 0; i!=a.Count();++i)
{
@@ -77,7 +77,7 @@ bool sc_ar(flext::AtomList a)
return false;
}
-bool sc_inv(flext::AtomList a)
+bool sc_inv(flext::AtomList& a)
{
for (int i = 0; i!=a.Count();++i)
{
diff --git a/sc4pd/source/support.hpp b/sc4pd/source/support.hpp
index c9cedae..12885cb 100644
--- a/sc4pd/source/support.hpp
+++ b/sc4pd/source/support.hpp
@@ -47,10 +47,10 @@
/* for argument parsing */
-bool sc_add (flext::AtomList a);
-float sc_getfloatarg (flext::AtomList a,int i);
-bool sc_ar(flext::AtomList a);
-bool sc_inv(flext::AtomList a);
+bool sc_add (flext::AtomList& a);
+float sc_getfloatarg (flext::AtomList& a,int i);
+bool sc_ar(flext::AtomList& a);
+bool sc_inv(flext::AtomList& a);
/* for rngs */