aboutsummaryrefslogtreecommitdiff
path: root/PureData
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2006-03-08 17:37:25 +0000
committerThomas Grill <xovo@users.sourceforge.net>2006-03-08 17:37:25 +0000
commit6bc4123e40a3fe3ffc768fa7f943dfcda034e571 (patch)
tree9b9f4ef4d4281ec4f11e63b6d06482fe0ddf74c8 /PureData
parent0028a036b1823c364b8a3984bd6b836a15ab7b6f (diff)
some small additions, like ability to set pd class type
svn path=/trunk/externals/clr/; revision=4659
Diffstat (limited to 'PureData')
-rwxr-xr-xPureData/Atom.cs2
-rw-r--r--PureData/PureData.cs3
2 files changed, 4 insertions, 1 deletions
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("");