r9244: Automated commit for Debian build of clsql upstream-version-2.10.11
[clsql.git] / sql / kmr-mop.lisp
index bcd893acfbecc6fa9662c3b537af9efe820ec3d7..b709f1bea9c0b7ec81b21f4bd6ee462d9e93b881 100644 (file)
@@ -16,7 +16,7 @@
 ;;;; This file was extracted from the KMRCL utilities
 ;;;; *************************************************************************
 
-(in-package #:clsql-sys)
+(in-package #:clsql)
 
 #+lispworks
 (defun intern-eql-specializer (slot)
   (declare (ignore metaclass slot-name))
   )
 
+(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)
+