Update of /cvsroot/pure-data/externals/clr/PureData In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18908/clr/PureData
Modified Files: Atom.cs PureData.cs Log Message: some small additions, like ability to set pd class type
Index: PureData.cs =================================================================== RCS file: /cvsroot/pure-data/externals/clr/PureData/PureData.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PureData.cs 8 Mar 2006 16:48:28 -0000 1.3 --- PureData.cs 8 Mar 2006 17:37:25 -0000 1.4 *************** *** 72,75 **** --- 72,78 ---- private readonly void *ptr;
+ // to be returned by Setup function + protected enum ClassType { Default = 0,PD = 1,GObj = 2,Patchable = 3,NoInlet = 8 } + // --------------------------------------------------------------------------
Index: Atom.cs =================================================================== RCS file: /cvsroot/pure-data/externals/clr/PureData/Atom.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Atom.cs 7 Mar 2006 13:18:31 -0000 1.1 --- Atom.cs 8 Mar 2006 17:37:25 -0000 1.2 *************** *** 190,194 **** // attention: this is dangerous, because we could do the following // AtomList l2 = l; ! // with l also being an AtomList... the two private memebers will get copied, although atoms is only a temporary reference
[StructLayout (LayoutKind.Sequential)] --- 190,194 ---- // attention: this is dangerous, because we could do the following // AtomList l2 = l; ! // with l also being an AtomList... the two private members of the struct will get copied, although atoms is only a temporary reference
[StructLayout (LayoutKind.Sequential)]