__isByteArray() to __isByteArrayLike() in primitive code
authorStefan Vogel <sv@exept.de>
Thu, 05 Nov 2009 15:37:15 +0100
changeset 5477 8badcb37a2c0
parent 5476 06e08505bc6f
child 5478 4e83e3604f19
__isByteArray() to __isByteArrayLike() in primitive code
Depth16Image.st
--- a/Depth16Image.st	Thu Nov 05 15:37:13 2009 +0100
+++ b/Depth16Image.st	Thu Nov 05 15:37:15 2009 +0100
@@ -150,7 +150,7 @@
 
     if (__bothSmallInteger(srcStart, dstStart)
      && __bothSmallInteger(w, mX)
-     && __isByteArray(srcBytes) && __isByteArray(dstBytes)) {
+     && __isByteArrayLike(srcBytes) && __isByteArray(dstBytes)) {
         _mag = __intVal(mX);
         srcP = __ByteArrayInstPtr(srcBytes)->ba_element - 1 + __intVal(srcStart);
         dstP = __ByteArrayInstPtr(dstBytes)->ba_element - 1 + __intVal(dstStart);
@@ -197,5 +197,9 @@
 !Depth16Image class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Depth16Image.st,v 1.14 2008-12-02 20:24:35 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Depth16Image.st,v 1.15 2009-11-05 14:37:15 stefan Exp $'
+!
+
+version_CVS
+    ^ '$Header: /cvs/stx/stx/libview/Depth16Image.st,v 1.15 2009-11-05 14:37:15 stefan Exp $'
 ! !