--- a/WeakArray.st Fri Dec 15 00:05:12 1995 +0100
+++ b/WeakArray.st Fri Dec 15 13:47:55 1995 +0100
@@ -63,7 +63,7 @@
interrupts.
This interrupt is cought in ObjectMemory and informs the weakArray,
- which in turn informs its watcher and pissibly the dependents.
+ which in turn informs its watcher and possibly the dependents.
Having two mechanisms here (i.e. watcher & dependent) is a historic leftover;
I dont know, which of the two mechanisms will survive in the long run -
I started with the watcher, but now switch to dependencies since they seem
@@ -527,9 +527,9 @@
element = _InstPtr(self)->i_instvars[index];
if (element != nil) {
element = __WEAK_READ__(self, element);
- if (element != nil) {
+ if (element != nil) {
(*codeVal)(aBlock, CON_COMMA element);
- }
+ }
}
}
#else
@@ -546,7 +546,7 @@
if (element != nil) {
element = __WEAK_READ__(self, element);
if (element != nil) {
- (*codeVal)(rHome, CON_COMMA element);
+ (*codeVal)(rHome, CON_COMMA element);
}
}
}
@@ -558,7 +558,7 @@
if (element != nil) {
element = __WEAK_READ__(self, element);
if (element != nil) {
- (*codeVal)(home, CON_COMMA element);
+ (*codeVal)(home, CON_COMMA element);
}
}
}
@@ -601,6 +601,6 @@
!WeakArray class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/WeakArray.st,v 1.22 1995-12-05 18:45:22 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/WeakArray.st,v 1.23 1995-12-15 12:47:55 cg Exp $'
! !
WeakArray initialize!