Basic constructor macro for objdesign-alloc structures.
(make-objdesign-alloc [:get <get>])
This is the usual way to construct objdesign-alloc structures. It simply conses together a structure with the specified fields.
This macro generates a new objdesign-alloc structure from scratch. See also change-objdesign-alloc, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-objdesign-alloc (&rest args) (std::make-aggregate 'objdesign-alloc args '((:get)) 'make-objdesign-alloc nil))
Function:
(defun objdesign-alloc (get) (declare (xargs :guard (addressp get))) (declare (xargs :guard t)) (let ((__function__ 'objdesign-alloc)) (declare (ignorable __function__)) (b* ((get (mbe :logic (address-fix get) :exec get))) (cons :alloc (list get)))))