[racket-dev] collects/mred/private/wx/cocoa/sound.rkt, comment about retain

2011-03-15 Thread Geoffrey S. Knauth
I was looking at collects/mred/private/wx/cocoa/sound.rkt, and a comment didn't 
make sense to me, because it looks as though retain is being used.

(tellv s retain) ; don't use `retain', because we dont' want auto-release

I'm guessing someone meant:

(tellv s retain) ; use `retain', because we don't want auto-release

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] collects/mred/private/wx/cocoa/sound.rkt, comment about retain

2011-03-15 Thread Matthew Flatt
At Tue, 15 Mar 2011 06:57:37 -0400, Geoffrey S. Knauth wrote:
 I was looking at collects/mred/private/wx/cocoa/sound.rkt, and a comment 
 didn't make sense to me, because it looks as though retain is being used.
 
 (tellv s retain) ; don't use `retain', because we dont' want auto-release
 
 I'm guessing someone meant:
 
 (tellv s retain) ; use `retain', because we don't want auto-release

It should be

  use the `retain' method instead of the `retain' function, because we
  don't want a finalization-triggered release

I'll push that clarification.

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev