racket/collects/mred/private/wx/cocoa
Matthew Flatt d7f1d12ea1 clean up
2010-11-05 15:54:49 -06:00
..
agl.rkt clean up 2010-11-05 15:54:49 -06:00
bitmap.rkt clean up 2010-11-05 15:54:49 -06:00
button.rkt clean up 2010-11-05 15:54:49 -06:00
canvas.rkt clean up 2010-11-05 15:54:49 -06:00
cg.rkt clean up 2010-11-05 15:54:49 -06:00
check-box.rkt clean up 2010-11-05 15:54:49 -06:00
choice.rkt clean up 2010-11-05 15:54:49 -06:00
clipboard.rkt clean up 2010-11-05 15:54:49 -06:00
colordialog.rkt clean up 2010-11-05 15:54:49 -06:00
const.rkt clean up 2010-11-05 15:54:49 -06:00
cursor.rkt clean up 2010-11-05 15:54:49 -06:00
dc.rkt clean up 2010-11-05 15:54:49 -06:00
dialog.rkt clean up 2010-11-05 15:54:49 -06:00
filedialog.rkt clean up 2010-11-05 15:54:49 -06:00
finfo.rkt clean up 2010-11-05 15:54:49 -06:00
font.rkt clean up 2010-11-05 15:54:49 -06:00
frame.rkt clean up 2010-11-05 15:54:49 -06:00
gauge.rkt clean up 2010-11-05 15:54:49 -06:00
gc.rkt clean up 2010-11-05 15:54:49 -06:00
group-panel.rkt clean up 2010-11-05 15:54:49 -06:00
image.rkt clean up 2010-11-05 15:54:49 -06:00
init.rkt clean up 2010-11-05 15:54:49 -06:00
item.rkt clean up 2010-11-05 15:54:49 -06:00
keycode.rkt clean up 2010-11-05 15:54:49 -06:00
list-box.rkt clean up 2010-11-05 15:54:49 -06:00
menu-bar.rkt clean up 2010-11-05 15:54:49 -06:00
menu-item.rkt clean up 2010-11-05 15:54:49 -06:00
menu.rkt clean up 2010-11-05 15:54:49 -06:00
message.rkt clean up 2010-11-05 15:54:49 -06:00
panel.rkt clean up 2010-11-05 15:54:49 -06:00
platform.rkt clean up 2010-11-05 15:54:49 -06:00
pool.rkt clean up 2010-11-05 15:54:49 -06:00
printer-dc.rkt clean up 2010-11-05 15:54:49 -06:00
procs.rkt clean up 2010-11-05 15:54:49 -06:00
queue.rkt clean up 2010-11-05 15:54:49 -06:00
radio-box.rkt clean up 2010-11-05 15:54:49 -06:00
README.txt clean up 2010-11-05 15:54:49 -06:00
slider.rkt clean up 2010-11-05 15:54:49 -06:00
sound.rkt clean up 2010-11-05 15:54:49 -06:00
tab-panel.rkt clean up 2010-11-05 15:54:49 -06:00
types.rkt clean up 2010-11-05 15:54:49 -06:00
utils.rkt clean up 2010-11-05 15:54:49 -06:00
window.rkt clean up 2010-11-05 15:54:49 -06:00

Allocation rules:

 * Use `as-objc-allocation' when creating a Cocoa object. When the
   resulting reference becomes unreachable, the Cocoa object will be
   releaset.

 * Use `with-autorelease' in atomic mode around calls that autorelease
   and where the release should take effect immediate. Do not create
   an autorelease pool except in atomic mode.

 * Other autoreleased objects may end up in the root pool installed by
   "pool.rkt". The root pool is periodically destroyed and replaced;
   call `queue-autorelease-flush' if you need to encurage replacement
   of the pool. If you need to use an object htat might be autoflushed,
   be sure that you're in atomic mode.