changed #characterSize:
authorfm
Tue, 22 Sep 2009 11:07:39 +0200
changeset 11995 e8df4cb7d6bb
parent 11994 4665bdb0fd89
child 11996 3f018d0b8d45
changed #characterSize:
CharacterEncoderImplementations__TwoByteEncoder.st
Encoder_TwoByteEncoder.st
--- a/CharacterEncoderImplementations__TwoByteEncoder.st	Tue Sep 22 10:38:10 2009 +0200
+++ b/CharacterEncoderImplementations__TwoByteEncoder.st	Tue Sep 22 11:07:39 2009 +0200
@@ -9,7 +9,6 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
 "{ Package: 'stx:libbasic' }"
 
 "{ NameSpace: CharacterEncoderImplementations }"
@@ -53,8 +52,17 @@
     ^ TwoByteString uninitializedNew:size
 ! !
 
+!TwoByteEncoder methodsFor:'queries'!
+
+characterSize:codePoint
+
+    ^2
+
+    "Created: / 15-06-2005 / 15:12:01 / janfrog"
+! !
+
 !TwoByteEncoder class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__TwoByteEncoder.st,v 1.4 2004-03-09 22:00:47 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__TwoByteEncoder.st,v 1.5 2009-09-22 09:07:39 fm Exp $'
 ! !
--- a/Encoder_TwoByteEncoder.st	Tue Sep 22 10:38:10 2009 +0200
+++ b/Encoder_TwoByteEncoder.st	Tue Sep 22 11:07:39 2009 +0200
@@ -9,7 +9,6 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
 "{ Package: 'stx:libbasic' }"
 
 "{ NameSpace: CharacterEncoderImplementations }"
@@ -53,8 +52,17 @@
     ^ TwoByteString uninitializedNew:size
 ! !
 
+!TwoByteEncoder methodsFor:'queries'!
+
+characterSize:codePoint
+
+    ^2
+
+    "Created: / 15-06-2005 / 15:12:01 / janfrog"
+! !
+
 !TwoByteEncoder class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Attic/Encoder_TwoByteEncoder.st,v 1.4 2004-03-09 22:00:47 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Attic/Encoder_TwoByteEncoder.st,v 1.5 2009-09-22 09:07:39 fm Exp $'
 ! !