Slot semantics

Shaping shaping1 at bellsouth.net
Sun Jan 9 20:38:45 PST 2005


I want to be certain that I undestand this:

addSlot: #SDLLib.
SDLLib addSlot: #libSDL valued: (ExternalLibrary newNamed: 'SDL').

It seems to be defining slot #SDLLib, which points to yet another slot #libSDL, 
which points to an ExternalLibrary object on the heap.  Is this correct?  Is so, 
why would we want this indirection?


Shaping 





More information about the Slate mailing list