X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=mop.lisp;h=085408e36699cd3d025298d165dd890fb667ffa6;hb=f57679aba5abb3dc8d7e34c38f94201319a5af29;hp=1c5f050924543ca783cdddf06adb2f08b0bb9893;hpb=742dc1064e07d049e3f05ed7f647b49e24bd9119;p=hyperobject.git diff --git a/mop.lisp b/mop.lisp index 1c5f050..085408e 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.51 2003/04/14 17:50:34 kevin Exp $ +;;;; $Id: mop.lisp,v 1.52 2003/04/15 05:18:22 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; @@ -191,8 +191,15 @@ (t t))) +(eval-when (:compile-toplevel :load-toplevel :execute) + (when (>= (length (generic-function-lambda-list + (ensure-generic-function + 'compute-effective-slot-definition))) + 3) + (push :ho-named-cesd-fun cl:*features*))) + (defmethod compute-effective-slot-definition :around ((cl hyperobject-class) - #-(or scl) name + #+ho-named-cesd-fun name dsds) #+allegro (declare (ignore name)) (let* ((dsd (car dsds)) @@ -216,7 +223,11 @@ :value-constraint (slot-value dsd 'value-constraint) :null-allowed (slot-value dsd 'null-allowed) ia))))) - + + +#+ho-named-cesd-fun +(setq cl:*features* (delete :ho-named-cesd-fun cl:*features*)) + (defun value-type-to-lisp-type (value-type) (case (if (atom value-type) value-type