remove a stale comment
authorAndy Wingo <wingo@pobox.com>
Mon, 24 Oct 2011 06:28:06 +0000 (08:28 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 24 Oct 2011 10:48:36 +0000 (12:48 +0200)
* module/system/foreign.scm (define-wrapped-pointer-type): Remove stale
  comment.

module/system/foreign.scm

index 37f9b41..e6e9655 100644 (file)
@@ -192,10 +192,6 @@ which does the reverse.  PRINT must name a user-defined object printer."
                ;; PTR1 == PTR2 <-> (eq? (wrap PTR1) (wrap PTR2)).
                (let ((ptr->obj (make-weak-value-hash-table 3000)))
                  (lambda (ptr)
-                   ;; XXX: We can't use `hash-create-handle!' +
-                   ;; `set-cdr!' here because the former would create a
-                   ;; weak-cdr pair but the latter wouldn't register a
-                   ;; disappearing link (see `scm_hash_fn_set_x'.)
                    (or (hash-ref ptr->obj ptr)
                        (let ((o (%wrap ptr)))
                          (hash-set! ptr->obj ptr o)