On 05/12/2011 08:07 AM, Mathieu Suen wrote:
      ]
+
+    = anObject [
+  ^self class == anObject class and: [
+      self cObjectType = anObject cObjectType
+  ]
+
+    ]
+
+    hash [
+  ^self cObjectType hash bitXor: self cObjectType hash
+    ]


There is a typo (the first "cObjectType" should be "class"). Also, you should add equality/hash implementations for CPtrCType and CArrayCType.

Thanks!

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to