X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fkmr-mop.lisp;h=e935f1ca0e1ef585b8b68ebbe455a304ac9f8ed8;hb=fa32c4233b4a02ae631602dbb0a234ab10df8aaf;hp=6949c12acac33230a884ef7f57ec5b89cfde07a5;hpb=a4449b6f1b9fb2471da255fc506bcad6f8feb220;p=clsql.git diff --git a/sql/kmr-mop.lisp b/sql/kmr-mop.lisp index 6949c12..e935f1c 100644 --- a/sql/kmr-mop.lisp +++ b/sql/kmr-mop.lisp @@ -7,15 +7,15 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2003 ;;;; -;;;; $Id: mop.lisp 8573 2004-01-29 23:30:50Z kevin $ +;;;; $Id$ +;;;; +;;;; This file imports MOP symbols into the CLSQL-MOP package and then +;;;; re-exports into CLSQL-SYS them to hide differences in +;;;; MOP implementations. ;;;; ;;;; This file was extracted from the KMRCL utilities ;;;; ************************************************************************* -;;; This file imports MOP symbols into the USQL-MOP package and then -;;; re-exports into CLSQL-USQL-SYS them to hide differences in -;;; MOP implementations. - (in-package #:clsql-sys) #+lispworks @@ -46,3 +46,6 @@ (declare (ignore metaclass slot-name)) ) +(defun ordered-class-slots (class) + #+(or cmu sbcl) (class-slots class) + #-(or cmu sbcl) (reverse (class-slots class)))