X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fkmr-mop.lisp;h=3953c8c279db097a67107bcee86a30a848bb8193;hb=a4097e19c5157e87b9991549bc44f3ef598aeb90;hp=e935f1ca0e1ef585b8b68ebbe455a304ac9f8ed8;hpb=e3ed4080f0a28d94e81aad7452fb1f81e1e50253;p=clsql.git diff --git a/sql/kmr-mop.lisp b/sql/kmr-mop.lisp index e935f1c..3953c8c 100644 --- a/sql/kmr-mop.lisp +++ b/sql/kmr-mop.lisp @@ -49,3 +49,14 @@ (defun ordered-class-slots (class) #+(or cmu sbcl) (class-slots class) #-(or cmu sbcl) (reverse (class-slots class))) + +;; Lispworks has symbol for slot rather than the slot instance +(defun %svuc-slot-name (slot) + #+lispworks slot + #-lispworks (slot-definition-name slot)) + +(defun %svuc-slot-object (slot class) + (declare (ignorable class)) + #+lispworks (clos:find-slot-definition slot class) + #-lispworks slot) +