From 1903f3d6e4a81d0e97fde231cbea3bad7ed96ed1 Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Mon, 16 Jan 2006 12:44:45 +0000 Subject: added arguments at initialization time svn path=/trunk/externals/clr/; revision=4422 --- pd/pd.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pd/pd.cs') diff --git a/pd/pd.cs b/pd/pd.cs index a94b9f1..a0f28aa 100755 --- a/pd/pd.cs +++ b/pd/pd.cs @@ -25,7 +25,12 @@ namespace PureData { ToOutlet (x, outlet, atoms.Length, atoms); } - + public static void SendToOutlet (IntPtr x, int outlet, Atom atom) + { + Atom [] atoms = new Atom[1]; + atoms[0] = atom; + ToOutlet (x, outlet, atoms.Length, atoms); + } // create an outlet [MethodImplAttribute (MethodImplOptions.InternalCall)] private extern static void CreateOutlet (IntPtr x, int type); -- cgit v1.2.1