From: Kevin M. Rosenberg Date: Tue, 1 Apr 2003 16:56:46 +0000 (+0000) Subject: r4306: Auto commit for Debian build X-Git-Tag: debian-2.11.0-2~170 X-Git-Url: http://git.kpe.io/?p=hyperobject.git;a=commitdiff_plain;h=2710f01699cb548df453b64786a2eb0e711315a5 r4306: Auto commit for Debian build --- diff --git a/debian/changelog b/debian/changelog index 662a12a..848a109 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cl-hyperobject (2.5.6-1) unstable; urgency=low + + * Have lispworks use add-method + + -- Kevin M. Rosenberg Tue, 1 Apr 2003 09:56:27 -0700 + cl-hyperobject (2.5.5-1) unstable; urgency=low * Simplify shadowing-import for allegro,lispworks,sbcl diff --git a/mop.lisp b/mop.lisp index b443aa0..bbd6604 100644 --- a/mop.lisp +++ b/mop.lisp @@ -11,7 +11,7 @@ ;;;; in Text, HTML, and XML formats. This includes hyperlinking ;;;; capability and sub-objects. ;;;; -;;;; $Id: mop.lisp,v 1.35 2003/03/31 14:15:07 kevin Exp $ +;;;; $Id: mop.lisp,v 1.36 2003/04/01 16:56:46 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; @@ -281,7 +281,11 @@ (setf (slot-value ,the-instance ,the-slot-name) (,reader ,@keys))))) -#+(or sbcl scl cmu) +#+lispworks +(defun intern-eql-specializer (slot) + `(eql ,slot)) + +#+(or sbcl scl cmu lispworks) (defun ensure-lazy-reader (class-name slot-name reader &rest reader-keys) (let ((keys nil) (gf (ensure-generic-function 'slot-unbound))) @@ -322,12 +326,12 @@ nil (cdr subobj-def))))) (unless (eq (lookup subobject) t) - #-(or sbcl cmu scl) + #-(or sbcl cmu scl lispworks) (eval `(hyperobject::def-lazy-reader ,(name-class subobject) ,(name-slot subobject) ,(lookup subobject) ,@(lookup-keys subobject))) - #+(or sbcl cmu scl) + #+(or sbcl cmu scl lispworks) (apply #'ensure-lazy-reader (name-class subobject) (name-slot subobject) (lookup subobject) (lookup-keys subobject)) )