projects
/
hyperobject.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2dde118
)
r4264: Auto commit for Debian build
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 26 Mar 2003 21:03:22 +0000
(21:03 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 26 Mar 2003 21:03:22 +0000
(21:03 +0000)
views.lisp
patch
|
blob
|
history
diff --git
a/views.lisp
b/views.lisp
index 6c1cb2595588d3e64a09dbe26db07ba45ac83c29..8f0f9b8c2ff377ff205c2011a4bb2e0095140c81 100644
(file)
--- a/
views.lisp
+++ b/
views.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: views.lisp,v 1.2
4 2003/03/26 21:01:27
kevin Exp $
+;;;; $Id: views.lisp,v 1.2
5 2003/03/26 21:03:22
kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
@@
-101,7
+101,9
@@
(aif (find category (views obj-class) :key #'category)
it
(let ((view
(aif (find category (views obj-class) :key #'category)
it
(let ((view
- (make-instance 'object-view :object-class-name (class-name obj-class)
+ (make-instance 'object-view
+ :object-class-name (class-name obj-class)
+ :object-class obj-class
:category category
:slots slots)))
(push view (views obj-class))
:category category
:slots slots)))
(push view (views obj-class))
@@
-147,7
+149,7
@@
(defmethod initialize-instance :after ((view object-view)
&rest initargs &key &allow-other-keys)
(defmethod initialize-instance :after ((view object-view)
&rest initargs &key &allow-other-keys)
- (initialize-view (
find-class (object-class-name view)
) view))
+ (initialize-view (
object-class view
) view))
(defun initialize-view (obj-cl view)
"Calculate all view slots for a hyperobject class"
(defun initialize-view (obj-cl view)
"Calculate all view slots for a hyperobject class"