We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 750d821 commit 6146ed9Copy full SHA for 6146ed9
src/clos/methods.lisp
@@ -21,6 +21,11 @@
21
(setf-slot-value-using-class new-value (!class-of object) object slot-name)))
22
23
24
+;;; @vlad-km
25
+;;; moved from std-object.lisp
26
+(defun (setf find-class) (new-value symbol)
27
+ (setf (gethash symbol *class-table*) new-value))
28
+
29
;;; print-object
30
(defgeneric print-object (instance &optional stream))
31
src/clos/std-object.lisp
@@ -438,7 +438,10 @@
438
(defun setf-find-class (symbol new-value)
439
(setf (gethash symbol *class-table*) new-value))
440
441
-#+jscl
442
+;;; remove to methods.lisp
443
+;;;
444
+#+nil
445
(defun (setf find-class) (new-value symbol)
446
447
0 commit comments