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