X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fmetaclasses.lisp;h=f4c87e09843314ec36897de2bb567b46eb8d2305;hp=a8b1563e3f061d26ee83e0c92d4eccf217fec280;hb=e622ee6f4bf2b9fe81af59d566e651c983a4833b;hpb=fcb0cac1b206dacdb3d1043b5393bbb510a00882 diff --git a/sql/metaclasses.lisp b/sql/metaclasses.lisp index a8b1563..f4c87e0 100644 --- a/sql/metaclasses.lisp +++ b/sql/metaclasses.lisp @@ -12,7 +12,7 @@ ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* -(in-package #:clsql) +(in-package #:clsql-sys) (eval-when (:compile-toplevel :load-toplevel :execute) (when (>= (length (generic-function-lambda-list @@ -62,11 +62,11 @@ #+lispworks (dolist (slot-option +extra-slot-options+) - (process-slot-option standard-db-class slot-option)) + (eval `(process-slot-option standard-db-class ,slot-option))) #+lispworks (dolist (class-option +extra-class-options+) - (process-class-option standard-db-class class-option)) + (eval `(process-class-option standard-db-class ,class-option))) (defmethod validate-superclass ((class standard-db-class) (superclass standard-class)) @@ -362,7 +362,7 @@ column definition in the database.") (defun compute-class-precedence-list (class) (class-precedence-list class)))) -#-(or sbcl cmu) +#-mop-slot-order-reversed (defmethod compute-slots ((class standard-db-class)) "Need to sort order of class slots so they are the same across implementations." @@ -497,6 +497,7 @@ which does type checking before storing a value in a slot." ;; all other slots (t (let ((type-predicate #+openmcl (slot-value esd 'ccl::type-predicate))) + #-openmcl (declare (ignore type-predicate)) (change-class esd 'view-class-effective-slot-definition #+allegro :name #+allegro (slot-definition-name dsd))