From 6bc4123e40a3fe3ffc768fa7f943dfcda034e571 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 8 Mar 2006 17:37:25 +0000 Subject: some small additions, like ability to set pd class type svn path=/trunk/externals/clr/; revision=4659 --- PureData/Atom.cs | 2 +- PureData/PureData.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'PureData') diff --git a/PureData/Atom.cs b/PureData/Atom.cs index 6a29483..6bad0b6 100755 --- a/PureData/Atom.cs +++ b/PureData/Atom.cs @@ -189,7 +189,7 @@ namespace PureData // 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 + // 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)] unsafe public struct AtomList diff --git a/PureData/PureData.cs b/PureData/PureData.cs index ebbc319..8dbac5b 100644 --- a/PureData/PureData.cs +++ b/PureData/PureData.cs @@ -71,6 +71,9 @@ namespace PureData // PD object pointer private readonly void *ptr; + // to be returned by Setup function + protected enum ClassType { Default = 0,PD = 1,GObj = 2,Patchable = 3,NoInlet = 8 } + // -------------------------------------------------------------------------- protected readonly static Symbol s__ = new Symbol(""); -- cgit v1.2.1