X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=mop.lisp;h=e868376fbcb3c366a39a284477ae9b2f1da783da;hb=a5951c260acbdcd4d38b672359b36f134fc656d9;hp=3c9ac2e268dc6069c01070753c70f382ba13d05e;hpb=384290f4271aa9acef79d39ba86deb49ae828cbf;p=hyperobject.git diff --git a/mop.lisp b/mop.lisp index 3c9ac2e..e868376 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.77 2003/06/20 08:35:21 kevin Exp $ +;;;; $Id: mop.lisp,v 1.80 2003/06/25 19:28:31 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -37,9 +37,6 @@ (version :initarg :version :initform nil :accessor version :documentation "Version number for class") - (direct-rules :initarg :direct-rules :initform nil - :accessor dirst-rules - :documentation "Rules to fire on slot changes") (closures :initarg :closures :initform nil :accessor closures :documentation "Closures to call on slot chnages") @@ -104,7 +101,6 @@ (print-unreadable-object (obj s :type t :identity t) (format s "~S" (name obj)))) -#+(or cmu scl sbcl) (defmethod validate-superclass ((class hyperobject-class) (superclass standard-class)) t) @@ -152,7 +148,7 @@ (when (and ,required (null value)) (error "hyperobject class slot ~A must have a value" name)) (list name `',value)) - #+(or allegro sbcl cmu scl) + #+(or allegro sbcl cmu scl openmcl) (declare (ignore slot-name required)) ) @@ -393,7 +389,7 @@ SQL name" ':function (compile nil method-lambda) init-args-values))))) -#+(or allegro scl) +#+(or allegro scl openmcl) (progn ;; One entry for each class with lazy readers defined. The value is a plist mapping ;; slot-name to a lazy reader, each of which is a list of a function and slot-names. @@ -422,7 +418,7 @@ SQL name" (setf (getf (gethash (find-class class-name) *lazy-readers*) slot-name) nil)) - ) ;; #+(or allegro scl) + ) ;; #+(or allegro sc openmcll) (defun finalize-subobjects (cl) @@ -448,7 +444,7 @@ SQL name" `(hyperobject::def-lazy-reader ,(name-class subobject) ,(name-slot subobject) ,(lookup subobject) ,@(lookup-keys subobject))) - #+(or sbcl cmu lispworks allegro scl) + #+(or sbcl cmu lispworks allegro scl openmcl) (apply #'ensure-lazy-reader (name-class subobject) (name-slot subobject) (lookup subobject) (lookup-keys subobject)))