Update of /project/movitz/cvsroot/movitz/losp/muerte In directory common-lisp.net:/tmp/cvs-serv30474
Modified Files: arithmetic-macros.lisp Log Message: Changed the signature of memref and (setf memref) to use keywords also for the index and type arguments.
Date: Mon Oct 11 15:52:05 2004 Author: ffjeld
Index: movitz/losp/muerte/arithmetic-macros.lisp diff -u movitz/losp/muerte/arithmetic-macros.lisp:1.7 movitz/losp/muerte/arithmetic-macros.lisp:1.8 --- movitz/losp/muerte/arithmetic-macros.lisp:1.7 Tue Sep 21 15:09:40 2004 +++ movitz/losp/muerte/arithmetic-macros.lisp Mon Oct 11 15:52:04 2004 @@ -10,7 +10,7 @@ ;;;; Author: Frode Vatvedt Fjeld frodef@acm.org ;;;; Created at: Sat Jul 17 13:42:46 2004 ;;;; -;;;; $Id: arithmetic-macros.lisp,v 1.7 2004/09/21 13:09:40 ffjeld Exp $ +;;;; $Id: arithmetic-macros.lisp,v 1.8 2004/10/11 13:52:04 ffjeld Exp $ ;;;; ;;;;------------------------------------------------------------------
@@ -486,8 +486,8 @@ done))
(define-compiler-macro %ratio-numerator (x) - `(memref ,x ,(bt:slot-offset 'movitz::movitz-ratio 'movitz::numerator) 0 :lisp)) + `(memref ,x (movitz-type-slot-offset 'movitz-ratio 'numerator)))
(define-compiler-macro %ratio-denominator (x) - `(memref ,x ,(bt:slot-offset 'movitz::movitz-ratio 'movitz::denominator) 0 :lisp)) + `(memref ,x (movitz-type-slot-offset 'movitz-ratio 'denominator)))