chiark / gitweb /
Added clarifying comment
authorespen <espen>
Fri, 15 Jun 2007 12:23:39 +0000 (12:23 +0000)
committerespen <espen>
Fri, 15 Jun 2007 12:23:39 +0000 (12:23 +0000)
gffi/virtual-slots.lisp

index ff339eb772671f75a6212eaf540c9cb1eeeeddc1..162b4f4101f2edd8acaae28d519a7036551c828f 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: virtual-slots.lisp,v 1.8 2007-06-01 06:46:06 espen Exp $
+;; $Id: virtual-slots.lisp,v 1.9 2007-06-15 12:23:39 espen Exp $
 
 (in-package "GFFI")
 
@@ -207,6 +207,8 @@ (defmethod compute-slot-writer-function ((slotd effective-virtual-slot-definitio
     (etypecase setter
       (symbol #'(lambda (object value) (funcall setter object value)))
       (list #'(lambda (object value)
+               ;; Setter is a (setf ...) form and thus takes the
+               ;; value as the first argument
                (funcall setter value object)))
       (function setter))))