give the dummy class another name, to avoid confusion with
authorClaus Gittinger <cg@exept.de>
Wed, 18 Aug 1999 17:54:16 +0200
changeset 943 5a9699ed4b9b
parent 942 366981f31cd6
child 944 992e734d878b
give the dummy class another name, to avoid confusion with Behavior.
Structure.st
--- a/Structure.st	Mon Aug 09 16:42:39 1999 +0200
+++ b/Structure.st	Wed Aug 18 17:54:16 1999 +0200
@@ -125,6 +125,7 @@
 
         DummyClass := Behavior shallowCopy.
         DummyClass flags:(Behavior flagBehavior bitOr:Behavior flagPointers).
+        DummyClass setName:'DummyClass'.
 
         ReadAccessMethods := (1 to:50) 
                                 collect:[:i | |m|
@@ -1327,6 +1328,10 @@
          ^ names
     ].
 
+    (sel == #instSize) ifTrue:[
+         ^ instSize
+    ].
+
     'Structure [warning]: return nil for: ' print.
     aMessage print.
     ' args ' print. args printCR.
@@ -1340,6 +1345,6 @@
 !Structure class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/Structure.st,v 1.7 1998-03-04 17:46:52 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/Structure.st,v 1.8 1999-08-18 15:54:16 cg Exp $'
 ! !
 Structure initialize!