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

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Tue Jul 20 12:58:36 UTC 2004


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

Modified Files:
	functions.lisp 
Log Message:
Minor edit

Date: Tue Jul 20 05:58:35 2004
Author: ffjeld

Index: movitz/losp/muerte/functions.lisp
diff -u movitz/losp/muerte/functions.lisp:1.16 movitz/losp/muerte/functions.lisp:1.17
--- movitz/losp/muerte/functions.lisp:1.16	Thu Jul 15 14:06:59 2004
+++ movitz/losp/muerte/functions.lisp	Tue Jul 20 05:58:34 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Tue Mar 12 22:58:54 2002
 ;;;;                
-;;;; $Id: functions.lisp,v 1.16 2004/07/15 21:06:59 ffjeld Exp $
+;;;; $Id: functions.lisp,v 1.17 2004/07/20 12:58:34 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -395,7 +395,7 @@
 
 (defun copy-funobj (old-funobj &optional (name (funobj-name old-funobj)))
   (let* ((num-constants (funobj-num-constants old-funobj))
-	 (funobj (malloc-pointer-words (+ #.(cl:truncate (bt:sizeof 'movitz:movitz-funobj) 4)
+	 (funobj (malloc-pointer-words (+ #.(movitz::movitz-type-word-size 'movitz-funobj)
 					  num-constants))))
     (setf (memref funobj #.(bt:slot-offset 'movitz:movitz-funobj 'movitz:type) 0 :unsigned-byte16)
       (memref old-funobj #.(bt:slot-offset 'movitz:movitz-funobj 'movitz:type) 0 :unsigned-byte16))





More information about the Movitz-cvs mailing list