From: <sv...@ww...> - 2004-06-13 17:30:33
|
Author: mkrose Date: 2004-06-13 10:30:27 -0700 (Sun, 13 Jun 2004) New Revision: 1036 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/SimData/Tests/ArchiveTests.py Log: Fixup python call for saving/restoring ints from archives (now _int32). Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2004-06-13 17:21:26 UTC (rev 1035) +++ trunk/CSP/SimData/CHANGES.current 2004-06-13 17:30:27 UTC (rev 1036) @@ -1,6 +1,10 @@ Version 0.4.0 (in progress) =========================== +2004-06-13: onsight + * Fixup python call for saving/restoring ints from archives (now + _int32). + 2004-06-12: onsight * Commented out throw statement for assignment to Ref<> from an incompatible type. Callers must check that the ref is not null @@ -14,8 +18,15 @@ * Added tagged record compiler and associated header. * Disallowed copying of Referenced derived classes (should always - use Ref<> pointers). + use Ref<> pointers); then reverted because we already inherit + from NonCopyable. + * Minor fix to DataManager cleanup. + + * TaggedRecord.h copyright notice. + + * Singleton now NonCopyable, with const accessor. + 2004-16-12: wolverine * added a MemoryWriter class to write out a SimData object to a binary memory buffer. Added a MemoryReader class. Added Modified: trunk/CSP/SimData/SimData/Tests/ArchiveTests.py =================================================================== --- trunk/CSP/SimData/SimData/Tests/ArchiveTests.py 2004-06-13 17:21:26 UTC (rev 1035) +++ trunk/CSP/SimData/SimData/Tests/ArchiveTests.py 2004-06-13 17:30:27 UTC (rev 1036) @@ -206,10 +206,10 @@ def testInt(self): """Test storage and retrieval of Int""" x0 = 42 - self.archive._int(x0) + self.archive._int32(x0) self.setRead() self.assertEqual(self.size, 4) - x1 = self.archive._int() + x1 = self.archive._int32() self.assertEqual(x0, x1) def testDouble(self): |