[movitz-cvs] CVS update: movitz/losp/muerte/arrays.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Fri Mar 26 13:56:53 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv4515

Modified Files:
	arrays.lisp 
Log Message:
Initialize fresh vectors properly.

Date: Fri Mar 26 08:56:53 2004
Author: ffjeld

Index: movitz/losp/muerte/arrays.lisp
diff -u movitz/losp/muerte/arrays.lisp:1.10 movitz/losp/muerte/arrays.lisp:1.11
--- movitz/losp/muerte/arrays.lisp:1.10	Fri Mar 26 05:45:00 2004
+++ movitz/losp/muerte/arrays.lisp	Fri Mar 26 08:56:53 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Sun Feb 11 23:14:04 2001
 ;;;;                
-;;;; $Id: arrays.lisp,v 1.10 2004/03/26 10:45:00 ffjeld Exp $
+;;;; $Id: arrays.lisp,v 1.11 2004/03/26 13:56:53 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -509,6 +509,9 @@
 			       :other-tag :vector
 			       :wide-other-tag #.(bt:enum-value 'movitz::movitz-vector-element-type
 								:character))))
+	 (setf (memref a #.(bt:slot-offset 'movitz::movitz-vector 'movitz::flags)
+		       0 :unsigned-byte16)
+	   0)
 	 (setf (memref a #.(bt:slot-offset 'movitz::movitz-vector 'movitz::num-elements)
 		       0 :unsigned-byte16)
 	   dimensions)
@@ -522,6 +525,9 @@
 			       :other-tag :vector
 			       :wide-other-tag #.(bt:enum-value 'movitz::movitz-vector-element-type
 								:u8))))
+	 (setf (memref a #.(bt:slot-offset 'movitz::movitz-vector 'movitz::flags)
+		       0 :unsigned-byte16)
+	   0)
 	 (setf (memref a #.(bt:slot-offset 'movitz::movitz-vector 'movitz::num-elements)
 		       0 :unsigned-byte16)
 	   dimensions)
@@ -538,6 +544,9 @@
 			       :other-tag :vector
 			       :wide-other-tag #.(bt:enum-value 'movitz::movitz-vector-element-type
 								:u32))))
+	 (setf (memref a #.(bt:slot-offset 'movitz::movitz-vector 'movitz::flags)
+		       0 :unsigned-byte16)
+	   0)
 	 (setf (memref a #.(bt:slot-offset 'movitz::movitz-vector 'movitz::num-elements)
 		       0 :unsigned-byte16)
 	   dimensions)





More information about the Movitz-cvs mailing list