[movitz-cvs] CVS update: movitz/stream-image.lisp
Frode Vatvedt Fjeld
ffjeld at common-lisp.net
Tue Feb 10 00:23:40 UTC 2004
Update of /project/movitz/cvsroot/movitz
In directory common-lisp.net:/tmp/cvs-serv16321
Modified Files:
stream-image.lisp
Log Message:
Added a fall-back method image-register32 for stream-images.
Date: Mon Feb 9 19:23:40 2004
Author: ffjeld
Index: movitz/stream-image.lisp
diff -u movitz/stream-image.lisp:1.2 movitz/stream-image.lisp:1.3
--- movitz/stream-image.lisp:1.2 Mon Jan 19 06:23:41 2004
+++ movitz/stream-image.lisp Mon Feb 9 19:23:39 2004
@@ -10,7 +10,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Created at: Mon Aug 27 14:46:50 2001
;;;;
-;;;; $Id: stream-image.lisp,v 1.2 2004/01/19 11:23:41 ffjeld Exp $
+;;;; $Id: stream-image.lisp,v 1.3 2004/02/10 00:23:39 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -33,6 +33,10 @@
:initarg :nil-word
:initform #x65
:reader image-nil-word)))
+
+(defmethod image-register32 ((image stream-image) register-name)
+ (declare (ignorable image) (ignore register-name))
+ (error "A stream-image has no CPU state."))
(defmethod (setf image-stream-position) (value (image stream-image) &optional physicalp)
(check-type value (integer 0 *))
More information about the Movitz-cvs
mailing list