Update of /cvsroot/pure-data/externals/clr/external In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15459/external
Modified Files: External.cs Log Message: added arguments at initialization time
Index: External.cs =================================================================== RCS file: /cvsroot/pure-data/externals/clr/external/External.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** External.cs 14 Jan 2006 02:34:17 -0000 1.6 --- External.cs 16 Jan 2006 12:44:45 -0000 1.7 *************** *** 10,22 **** public External() { - x = IntPtr.Zero; }
// this function MUST exist ! public void SetUp(IntPtr pdClass) { - // you must assign pdclass to x ! - x = pdClass; - // now you can do what you like... Console.WriteLine("pointer set!"); --- 10,18 ---- public External() { }
// this function MUST exist ! public void SetUp() { // now you can do what you like... Console.WriteLine("pointer set!");