[comp.sys.ti.explorer] areas

jwz@teak.berkeley.edu (Jamie Zawinski) (05/04/90)

Is there some defstruct option that will let you specify which area this 
kind of structure should go in?  I thought that maybe

	(defstruct (foo (:make-array '(:area frob-area)))
	  slot)

would work, but no go.  I can do it by defining a new constructor, but
that's tedious.

On a related note, has anyone gotten SYS:MAP-OBJECTS to work (like, at all)
under release 6?

		-- Jamie

ayers@HX (05/04/90)

You can do this by specifying that the structure
is implemented as an array:

(defvar *my-area* (make-area :name 'my-area :gc :dynamic))

(defstruct (compiler-object (:type :named-array)
	                    (:make-array (:area 'my-area)))
 ....)


  -- Andy