From fa95cabd64b0c49a6c3c6ba1bfdae27ab28ca755 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 6 Mar 2006 00:35:40 +0000 Subject: many improvements: - efficient symbol and atom list handling - better control over function arguments svn path=/trunk/externals/clr/; revision=4648 --- external/Counter.cs | 16 ++-- external/external.csproj | 212 +++++++++++++++++++++++------------------------ 2 files changed, 113 insertions(+), 115 deletions(-) (limited to 'external') diff --git a/external/Counter.cs b/external/Counter.cs index 9ec6ddc..c634f83 100755 --- a/external/Counter.cs +++ b/external/Counter.cs @@ -6,16 +6,9 @@ using System; public class Counter: PureData.External { - public Counter() + public Counter(PureData.AtomList args) { - Post("Count"); - -// EventFloat += new MethodFloat(MyFloat); - } - - public Counter(PureData.Atom[] args) - { - Post("Count with args"); + Post("Count.ctor"); // pd.AddInlet(x, "init", ParametersType.Float); // pd.AddOutlet(x, ParametersType.Float); @@ -53,6 +46,11 @@ public class Counter: Post("Count-SYMBOL "+s.ToString()); } + protected override void MethodList(PureData.AtomList l) + { + Post("Count-LIST "+l.ToString()); + } + /* public void Init(float f) { diff --git a/external/external.csproj b/external/external.csproj index 4efc7fb..3848266 100755 --- a/external/external.csproj +++ b/external/external.csproj @@ -1,106 +1,106 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.1